answer stringlengths 15 1.25M |
|---|
namespace <API key>.Web.Routes.Tests
{
using System.Web.Routing;
using Controllers;
using MvcRouteTester;
using NUnit.Framework;
[TestFixture]
public class JobOffersTests
{
private RouteCollection routeCollection;
[TestFixtureSetUp]
public void Init()
{
this.routeCollection = new RouteCollection();
RouteConfig.RegisterRoutes(this.routeCollection);
}
[Test]
public void <API key>()
{
int? id = 42;
string url = string.Format("/JobOffers/Details/{0}", id);
this.routeCollection.ShouldMap(url).To<JobOffersController>(c => c.Details(id));
}
[Test]
public void <API key>()
{
int? id = null;
string url = string.Format("/JobOffers/Details/{0}", id);
this.routeCollection.ShouldMap(url).To<JobOffersController>(c => c.Details(id));
}
[Test]
public void <API key>()
{
string url = "/JobOffers/Details";
this.routeCollection.ShouldMap(url).To<JobOffersController>(c => c.Details(null));
}
}
} |
<!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.9.1"/>
<title>V8 API Reference Guide for node.js v0.4.2: deps/v8 Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for node.js v0.4.2
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="<API key>">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="<API key>.html">deps</a></li><li class="navelem"><a class="el" href="<API key>.html">v8</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">v8 Directory Reference</div> </div>
</div><!--header
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a>
Directories</h2></td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">directory  </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html">include</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 11 2015 23:46:59 for V8 API Reference Guide for node.js v0.4.2 by &
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html> |
var Model = require('./jugando');
module.exports = function (sequelize, DataTypes) {
var DetalleVenta = sequelize.define(
'DetalleVenta',
{
idDetalleVenta: {
type: DataTypes.INTEGER(11),
primaryKey: true,
autoIncrement: true,
comment: 'ID Detalle Venta',
validate: {
isNumeric:true,
notNull: true
}
},
descripcionVenta: {
type: DataTypes.STRING(250),
allowNull: false,
comment: 'Descripcion de la Venta',
validate: {
is: ['[a-z]','i'],
//notNull: true,
notEmpty: true
}
},
precioVenta: {
type: DataTypes.INTEGER(11),
allowNull: false,
comment: 'Precio de la Venta',
validate: {
//notNull: true,
notEmpty: true
}
},
cantidadVenta: {
type: DataTypes.INTEGER(11),
allowNull: false,
comment: 'Cantidad de la Venta',
validate: {
//notNull: true,
notEmpty: true
}
},
subtotalVenta: {
type: DataTypes.INTEGER(11),
allowNull: false,
comment: 'Subtotal de la Venta',
validate: {
//notNull: true,
notEmpty: true
}
}
},
{
instanceMethods: {
retriveSum: function(id, onSuccess, onError){
DetalleVenta.findAll({
attributes:[[sequelize.fn('SUM', sequelize.col('subtotalVenta')),'TOTAL']],
where: { FacturaVentaIdVenta:id }
}).then(function (detalleVenta) {
console.log('dentro de update',detalleVenta[0].dataValues['TOTAL']);
Model.FacturaVenta.update( {
totalVenta: detalleVenta[0].dataValues['TOTAL']
},{ where: { idVenta: id } })
.then(onSuccess).catch(onError);
});
},
retriveCan: function(id, onSuccess, onError){
DetalleVenta.findAll({
attributes:[[sequelize.fn('SUM', sequelize.col('cantidadVenta')),'TOTAL']],
where: { FacturaVentaIdVenta:id }
}).then(function (detalleVenta) {
console.log('dentro de update',detalleVenta[0].dataValues['TOTAL']);
Model.FacturaVenta.update( {
cantidadTotalVenta: detalleVenta[0].dataValues['TOTAL']
},{ where: { idVenta: id } })
.then(onSuccess).catch(onError);
});
},
retrieveAll: function (id, onSuccess, onError) {
DetalleVenta.findAll({
include: [ Model.FacturaVenta],
where: { FacturaVentaIdVenta:id }
})
.then(onSuccess).catch(onError);
},
retrieveByNumAni: function (id, onSuccess, onError) {
Model.FacturaVenta.find({
where:{ numeroVenta: id }
}).then(function (venta) {
DetalleVenta.findAll({
include: [ Model.FacturaVenta],
where: { FacturaVentaIdVenta:venta.idVenta }
})
.then(onSuccess).catch(onError);
});
},
retrieveById: function (detalleVentaId, onSuccess, onError) {
DetalleVenta.find( {
where: { idDetalleVenta:detalleVentaId }
}, { raw: true })
.then(onSuccess).catch(onError);
},
add: function (onSuccess, onError) {
var descripcionVenta = this.descripcionVenta;
var precioVenta = this.precioVenta;
var cantidadVenta = this.cantidadVenta;
var subtotalVenta = this.subtotalVenta;
var FacturaVentaIdVenta = this.FacturaVentaIdVenta;
DetalleVenta.build({ descripcionVenta: descripcionVenta, precioVenta: precioVenta,
cantidadVenta: cantidadVenta, subtotalVenta:subtotalVenta,
FacturaVentaIdVenta: FacturaVentaIdVenta })
.save().then(onSuccess).catch(onError);
},
updateById: function (detalleVentaId, onSuccess, onError) {
var idDetalleVenta = this.idDetalleVenta;
var descripcionVenta = this.descripcionVenta;
var precioVenta = this.precioVenta;
var cantidadVenta = this.cantidadVenta;
var subtotalVenta = this.subtotalVenta;
var FacturaVentaIdVenta = this.FacturaVentaIdVenta;
DetalleVenta.update( {
descripcionVenta: descripcionVenta, precioVenta: precioVenta,
cantidadVenta: cantidadVenta, subtotalVenta:subtotalVenta, FacturaVentaIdVenta:FacturaVentaIdVenta
},{ where: { idDetalleVenta: detalleVentaId } })
.then(onSuccess).catch(onError);
},
removeById: function (detalleVentaId, onSuccess, onError) {
DetalleVenta.destroy( { where: { idDetalleVenta: detalleVentaId } })
.then(onSuccess).catch(onError);
}
},
timestamps: true,
paranoid:true,
createdAt: 'fechaCreacion',
updatedAt: 'fechaModificacion',
deletedAt: 'fechaBorrado',
underscore: false,
freezeTableName:true,
tableName: 'detalleVenta',
comment: 'Detalle Venta',
indexes: [
{
name: 'idxdescripcionVenta',
method: 'BTREE',
unique: false,
fields: ['descripcionVenta']
}
]
}
);
return DetalleVenta;
}; |
'use strict';
var some = require( './some.core' );
var grid = function ( world, width, height, marginX, marginY ) {
some.layout.call( this, world, true );
this.horizontal = marginX || 1;
this.vertical = marginY || marginX || 1;
this.setSize( width, height );
this.generate();
return this;
};
grid.prototype = Object.create( some.layout.prototype );
grid.prototype.setSize = function ( w, h ) {
w = w || 1;
h = h || w;
this.steps = w * h;
this.width = w;
};
grid.prototype.generate = function ( steps ) {
var t, s;
this.initArrays( steps || this.steps );
for( var i = 0; i < this.steps; i++ ) {
//boom new vert
this.fromVerts[ i ] = some.vec2.create(
this.horizontal * ( i % this.width ) ,
this.vertical * Math.floor( i / this.width)
);
this.toVerts[ i ] = some.vec2.create( 0, 1 );
this.originVerts[ i ] = some.vec2.clone( this.fromVerts[ i ] );
this.originHeadings[ i ] = some.vec2.heading( this.toVerts[ i ] );
}
return this;
};
grid.prototype.setMargin = function ( horizontal, vertical ) {
this.horizontal = horizontal || this.horizontal;
this.vertical = vertical || horizontal || this.vertical;
this.generate( );
return this;
};
some.grid = grid;
module.exports = some; |
<?php
/* WebProfilerBundle:Router:panel.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<h2>Routing for \"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["request"]) ? $context["request"] : $this->getContext($context, "request")), "pathinfo", array()), "html", null, true);
echo "\"</h2>
<ul>
<li>
<strong>Route: </strong>
";
// line 6
if ($this->getAttribute((isset($context["request"]) ? $context["request"] : $this->getContext($context, "request")), "route", array())) {
// line 7
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["request"]) ? $context["request"] : $this->getContext($context, "request")), "route", array()), "html", null, true);
echo "
";
} else {
// line 9
echo " <em>No matching route</em>
";
}
// line 11
echo " </li>
<li>
<strong>Route parameters: </strong>
";
// line 14
if (twig_length_filter($this->env, $this->getAttribute((isset($context["request"]) ? $context["request"] : $this->getContext($context, "request")), "routeParams", array()))) {
// line 15
echo " ";
$this->env->loadTemplate("@WebProfiler/Profiler/table.html.twig")->display(array("data" => $this->getAttribute((isset($context["request"]) ? $context["request"] : $this->getContext($context, "request")), "routeParams", array()), "class" => "inline"));
// line 16
echo " ";
} else {
// line 17
echo " <em>No parameters</em>
";
}
// line 19
echo " </li>
";
// line 20
if ($this->getAttribute((isset($context["router"]) ? $context["router"] : $this->getContext($context, "router")), "redirect", array())) {
// line 21
echo " <li>
<strong>Redirecting to: </strong> \"";
// line 22
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["router"]) ? $context["router"] : $this->getContext($context, "router")), "targetUrl", array()), "html", null, true);
echo "\" ";
if ($this->getAttribute((isset($context["router"]) ? $context["router"] : $this->getContext($context, "router")), "targetRoute", array())) {
echo "(route: \"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["router"]) ? $context["router"] : $this->getContext($context, "router")), "targetRoute", array()), "html", null, true);
echo "\")";
}
// line 23
echo " <li>
";
}
// line 25
echo " <li>
<strong>Route matching logs</strong>
<table class=\"routing inline\">
<tr>
<th>Route name</th>
<th>Pattern</th>
<th>Log</th>
</tr>
";
// line 33
$context['_parent'] = (array) $context;
$context['_seq'] = <API key>((isset($context["traces"]) ? $context["traces"] : $this->getContext($context, "traces")));
foreach ($context['_seq'] as $context["_key"] => $context["trace"]) {
// line 34
echo " <tr class=\"";
echo (((1 == $this->getAttribute($context["trace"], "level", array()))) ? ("almost") : ((((2 == $this->getAttribute($context["trace"], "level", array()))) ? ("matches") : (""))));
echo "\">
<td>";
// line 35
echo twig_escape_filter($this->env, $this->getAttribute($context["trace"], "name", array()), "html", null, true);
echo "</td>
<td>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($context["trace"], "path", array()), "html", null, true);
echo "</td>
<td>";
// line 37
echo twig_escape_filter($this->env, $this->getAttribute($context["trace"], "log", array()), "html", null, true);
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['trace'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " </table>
<em><small>Note: The above matching is based on the configuration for the current router which might differ from
the configuration used while routing this request.</small></em>
</li>
</ul>
";
}
public function getTemplateName()
{
return "WebProfilerBundle:Router:panel.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 113 => 40, 104 => 37, 100 => 36, 96 => 35, 91 => 34, 87 => 33, 77 => 25, 73 => 23, 65 => 22, 62 => 21, 60 => 20, 57 => 19, 53 => 17, 50 => 16, 47 => 15, 45 => 14, 40 => 11, 36 => 9, 30 => 7, 28 => 6, 19 => 1,);
}
} |
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
jshintrc: true
},
test: ['Gruntfile.js', 'index.js', 'demo*.js']
},
copy: {
demo: {
expand: true,
src: ['index.js', 'symbols.js'],
dest: 'node_modules/<API key>'
}
},
shell: {
karma: {
command: './node_modules/karma/bin/karma start demo/karma.conf.js'
}
},
<API key>: {
options: {
changelogOpts: {
preset: 'angular'
}
},
release: {
src: 'CHANGELOG.md'
}
},
bump: {
options: {
files: ['package.json'],
updateConfigs: ['pkg'],
commitFiles: ['-a'],
commitMessage: 'chore: Release v%VERSION%',
push: false
}
},
karma: {
demo: {
configFile: 'demo/karma.conf.js'
},
mocha: {
configFile: 'demo/karma.mocha.conf.js'
},
concurrency: {
configFile: 'demo/karma.conf.js',
browsers: ['Chrome', 'PhantomJS'],
concurrency: 1,
options: {
files: ['demo/aDemo.spec.js', 'demo/demo.spec.js']
},
detectBrowsers: {
enabled: false
}
},
fast: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS'],
options: {
files: ['demo/demo.spec.js']
},
detectBrowsers: {
enabled: false
}
},
failInOneBrowser: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS', 'Chrome'],
options: {
files: ['demo/failInOneBrowser.spec.js']
},
detectBrowsers: {
enabled: false
}
},
allBrowsers: {
configFile: 'demo/karma.conf.js',
options: {
files: ['demo/demo.spec.js']
}
},
singleBrowser: {
configFile: 'demo/karma.conf.js',
detectBrowsers: {
enabled: false
}
},
success: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS', 'Firefox'],
options: {
files: ['demo/demo.spec.js']
},
detectBrowsers: {
enabled: false
}
},
duplicate: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS'],
options: {
files: ['demo/duplicate.spec.js']
},
detectBrowsers: {
enabled: false
}
},
reload: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS'],
options: {
files: ['demo/fullPageReload.spec.js']
},
detectBrowsers: {
enabled: false
}
},
noColors: {
configFile: 'demo/karma.conf.js',
colors: false,
detectBrowsers: {
enabled: false
}
},
short: {
configFile: 'demo/karma.conf.js',
options: {
files: ['demo/aDemo.spec.js']
},
detectBrowsers: {
enabled: false
}
},
singleRun: {
configFile: 'demo/karma.conf.js',
singleRun: false,
autoWatch: true,
detectBrowsers: {
enabled: false
}
},
fail: {
configFile: 'demo/karma.conf.js',
options: {
files: ['demo/fail.spec.js']
},
mochaReporter: {
maxLogLines: 2
},
detectBrowsers: {
enabled: false
}
},
failWithAllBrowsers: {
configFile: 'demo/karma.conf.js',
options: {
files: ['demo/fail.spec.js']
}
},
printNoFailures: {
configFile: 'demo/karma.conf.js',
mochaReporter: {
output: 'noFailures'
},
options: {
files: ['demo/fail.spec.js']
},
detectBrowsers: {
enabled: false
}
},
autowatch: {
configFile: 'demo/karma.autowatch.conf.js',
options: {
files: ['demo/aDemo.spec.js']
},
detectBrowsers: {
enabled: false
}
},
minimal: {
configFile: 'demo/karma.autowatch.conf.js',
options: {
files: ['demo/aDemo.spec.js'],
mochaReporter: {
output: 'minimal'
}
},
detectBrowsers: {
enabled: false
}
},
ignoreSkipped: {
configFile: 'demo/karma.conf.js',
options: {
files: ['demo/skipping.spec.js'],
mochaReporter: {
ignoreSkipped: true
}
}
},
colors: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS'],
options: {
files: ['demo/demo2.spec.js'],
mochaReporter: {
colors: {
success: 'bgGreen',
info: 'bgCyan',
warning: 'wayne',
error: 'bgRed'
}
}
},
detectBrowsers: {
enabled: false
}
},
symbols: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS'],
options: {
files: ['demo/demo2.spec.js'],
mochaReporter: {
symbols: {
success: '+',
info: '
warning: '!',
error: 'x'
}
}
},
detectBrowsers: {
enabled: false
}
},
firstSuccess: {
configFile: 'demo/karma.conf.js',
browsers: ['PhantomJS', 'Firefox'],
options: {
files: ['demo/firstSuccess.spec.js'],
mochaReporter: {
printFirstSuccess: true
}
},
detectBrowsers: {
enabled: false
}
},
}
});
// Load tasks.
require('load-grunt-tasks')(grunt);
grunt.registerTask('release', 'Bump version, update changelog and tag version', function (version) {
grunt.task.run([
'bump:' + (version || 'patch') + ':bump-only',
'<API key>:release',
'bump-commit'
]);
});
// Register tasks.
grunt.registerTask('test', ['copy:demo', 'jshint', 'karma:success']);
grunt.registerTask('concurrency', ['copy:demo', 'jshint', 'karma:concurrency']);
grunt.registerTask('fast', ['copy:demo', 'karma:fast']);
grunt.registerTask('firstSuccess', ['copy:demo', 'karma:firstSuccess']);
grunt.registerTask('short', ['copy:demo', 'karma:short']);
grunt.registerTask('autowatch', ['copy:demo', 'karma:autowatch']);
grunt.registerTask('minimal', ['copy:demo', 'karma:minimal']);
grunt.registerTask('single', ['copy:demo', 'karma:singleRun']);
grunt.registerTask('fail', ['copy:demo', 'karma:fail']);
grunt.registerTask('fail2', ['copy:demo', 'karma:failWithAllBrowsers']);
grunt.registerTask('fail3', ['copy:demo', 'karma:failInOneBrowser']);
grunt.registerTask('printNoFailures', ['copy:demo', 'karma:printNoFailures']);
grunt.registerTask('noColors', ['copy:demo', 'karma:noColors']);
grunt.registerTask('ignoreSkipped', ['copy:demo', 'karma:ignoreSkipped']);
grunt.registerTask('piped', ['copy:demo', 'shell:karma']);
grunt.registerTask('colors', ['copy:demo', 'karma:colors']);
grunt.registerTask('symbols', ['copy:demo', 'karma:symbols']);
grunt.registerTask('duplicate', ['copy:demo', 'karma:duplicate']);
grunt.registerTask('reload', ['copy:demo', 'karma:reload']);
grunt.registerTask('mocha', ['copy:demo', 'karma:mocha']);
grunt.registerTask('all', ['copy:demo', 'karma:allBrowsers']);
grunt.registerTask('demo', [
'copy:demo',
'karma:singleBrowser',
'karma:demo',
'karma:success',
'karma:firstSuccess',
'karma:fail',
'karma:failInOneBrowser',
'karma:printNoFailures',
'shell:karma',
'karma:noColors',
'karma:colors',
'karma:symbols',
'karma:duplicate',
'karma:mocha',
'karma:concurrency',
'karma:reload'
]);
// Default task.
grunt.registerTask('default', ['test']);
}; |
require 'expensirb/version'
require 'rest-client'
require 'json'
require 'uri'
require '../lib/expensirb/errors/error'
module Expensirb
def report
Expensirb::Report.new
end
def employee
Expensirb::Employee.new
end
def policy
Expensirb::Policy.new
end
def expense
Expensirb::Expense.new
end
def self.make_request(method, url, parameters)
begin
JSON.parse(RestClient.send(method, url, parameters))
rescue RestClient::<API key> => e
handle_api_error(e)
end
end
def self.handle_error(error)
begin
response = JSON.parse(error.http_body.to_s)
message = response.fetch("error").fetch("message")
raise InvalidRequestError.new(message, error.http_code, error.http_body, error.response)
rescue JSON::ParserError, KeyError
raise Expensirb::ExpensirbError.new
end
end
end |
7.0-alpha1:<SHA256-like>
7.0-alpha2:<SHA256-like> |
<?php namespace Grcote7\Profile;
use System\Classes\PluginBase;
use RainLab\User\Controllers\Users as UsersController;
use RainLab\User\Models\User as UserModel;
class Plugin extends PluginBase {
public function registerComponents() {
}
public function registerSettings() {
}
public function boot() {
UserModel::extend(function ($model) {
$model->addFillable([
'facebook', 'bio'
]);
});
UsersController::extendFormFields(function ($form, $model, $context) {
$form->addTabFields([
'facebook' => [
'label' => 'Facebook',
'type' => 'text',
'tab' => 'Profile'
],
'bio' => [
'label' => 'Biography',
'type' => 'textarea',
'tab' => 'Profile'
],
]);
});
}
} |
'use strict'
const normalizeEndpoint = require('./lib/normalize-endpoint')
module.exports = Client
// TODO: request timeouts
// const REQUEST_TIMEOUT = 10 * 1000 // 10 seconds
// TODO eventually this will be https-only
const hyperquest = require('hyperquest')
const bole = require('bole')
const logger = bole(process.title)('nsolid-apiclient')
const commands = require('./commands')
const getParams = require('./params')
const execCommands = commands.execCommands
const readCommands = commands.readCommands
const writeCommands = commands.writeCommands
function Client (endpoint, version) {
if (!(this instanceof Client)) {
return new Client(endpoint, version)
}
this.endpoint = normalizeEndpoint(endpoint, version)
logger.debug('API Client initialized with endpoint %s', this.endpoint)
}
Client.prototype.write = function write (command, options) {
if (!writeCommands.has(command)) {
throw new Error(`Invalid: '${command}' is not a valid write endpoint.`)
}
if (options == null || options.body == null) {
throw new Error('write requires a `options.body`')
}
return this._sendBody('PUT', command, options)
}
Client.prototype.exec = function exec (command, options) {
// test command is valid
if (!execCommands.has(command)) {
throw new Error(`Invalid: '${command}' is not a valid command.`)
}
return this._sendBody('POST', command, options)
}
Client.prototype._sendBody = function _sendBody (method, command, options) {
var opts = {
method: method,
rejectUnauthorized: false
}
// send, handle stream
// TODO: manually work-around incomplete hyperquest timeout
const url = this.getUrl(command, options)
logger.debug('%s %s', opts.method, url)
const req = hyperquest(url, opts)
// borrowed from client-request
var body
var isStream = false
if (options && options.body != null) {
if (typeof options.body === 'string' || Buffer.isBuffer(options.body)) {
logger.debug('Detected simple body')
body = options.body
} else if (options.body.pipe != null && (typeof options.body.pipe === 'function')) {
// Stream duck typing
logger.debug('Detected stream body')
body = options.body
isStream = true
} else {
logger.debug('Detected object body, will JSON-serialize')
body = JSON.stringify(options.body)
}
}
if (isStream) {
logger.debug('sending stream body')
body.pipe(req)
} else {
if (body != null) {
logger.debug('data:', body)
req.write(body)
}
req.end()
}
return req
}
// TODO un-copypasta
Client.prototype.read = function read (command, options) {
// test command is valid
if (!readCommands.has(command)) {
throw new Error(`Invalid: '${command}' is not a valid request.`)
}
var opts = {
method: 'GET',
rejectUnauthorized: false
}
// send, handle stream
// TODO: manually work-around incomplete hyperquest timeout
const url = this.getUrl(command, options)
logger.debug('getting %s', url)
return hyperquest(url, opts)
}
Client.prototype.getUrl = function getUrl (command, options) {
const params = getParams(command, options)
if (params.length === 0) {
return this.endpoint + command
}
return this.endpoint + command + '?' + params
} |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DetailReservation
*
* @ORM\Table(name="detail_reservation")
* @ORM\Entity(repositoryClass="AppBundle\Repository\<API key>")
*/
class DetailReservation {
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
*
* @var Product
*
* @ORM\ManyToOne(targetEntity="Product", inversedBy="detailsReservations")
* @ORM\JoinColumn(name="id_product", <API key>="id")
*/
private $product;
/**
* ManyToOne unidirectionnel with product attribute
*
* @ORM\ManyToOne(targetEntity="ProductAttribute")
* @ORM\JoinColumn(name="<API key>", <API key>="id")
*/
private $product_attribute;
/**
* @var int
*
* @ORM\Column(name="quantity", type="integer")
*/
private $quantity;
/**
* @var Reservation
*
* @ORM\ManyToOne(targetEntity="Reservation", inversedBy="detailsReservations")
* @ORM\JoinColumn(name="id_reservation", <API key>="id")
*/
private $reservation;
/**
*
* @var float
*/
private $totalPrice;
public function __toString() {
return $this->getProduct() . ', quantity : ' . $this->getQuantity();
}
/**
* Get id
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set quantity
*
* @param integer $quantity
*
* @return DetailReservation
*/
public function setQuantity($quantity) {
$this->quantity = $quantity;
return $this;
}
/**
* Get quantity
*
* @return int
*/
public function getQuantity() {
return $this->quantity;
}
/**
*
* @return Reservation
*/
public function getReservation() {
return $this->reservation;
}
/**
*
* @param \AppBundle\Entity\Reservation $reservation
* @return \AppBundle\Entity\DetailReservation
*/
public function setReservation(Reservation $reservation) {
$this->reservation = $reservation;
return $this;
}
/**
*
* @return Entity Product
*/
public function getProduct() {
return $this->product;
}
/**
*
* @param Product $product
* @return $this
*/
public function setProduct(Product $product) {
$this->product = $product;
return $this;
}
/**
*
* @return Entity DetailReservation
*/
public function <API key>() {
return $this->product_attribute;
}
/**
*
* @param type $product_attribute
* @return \AppBundle\Entity\DetailReservation
*/
public function <API key>($product_attribute) {
$this->product_attribute = $product_attribute;
return $this;
}
/**
*
* @return float $price
*/
public function getTotalPrice() {
return $this->totalPrice;
}
/**
*
* @return $this
*/
public function setTotalPrice() {
$this->totalPrice = $this->getProduct()->getPrice();
if ($this-><API key>()){
$this->totalPrice += $this-><API key>()->getExtraFee();
}
$this->totalPrice = round($this->totalPrice * $this->getQuantity(), 2);
return $this;
}
} |
# == Schema Information
# Table name: prosecutors
# id :integer not null, primary key
# name :string
# <API key> :integer
# judge_id :integer
# avatar :string
# gender :string
# gender_source :string
# birth_year :integer
# birth_year_source :string
# stage :integer
# stage_source :string
# appointment :string
# appointment_source :string
# memo :string
# is_active :boolean default(TRUE)
# is_hidden :boolean default(TRUE)
# is_judge :boolean default(FALSE)
# created_at :datetime not null
# updated_at :datetime not null
# punishments_count :integer default(0)
require 'rails_helper'
RSpec.describe Prosecutor, type: :model do
let!(:prosecutor) { create :prosecutor }
it 'FactoryGirl' do
expect(prosecutor).not_to be_new_record
end
end |
// AppDelegate.h
// FGLiveDemo
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <<API key>>
@property (strong, nonatomic) UIWindow *window;
@end |
import {customAttribute} from 'aurelia-templating';
//Placeholder attribute to prohibit use of this attribute name in other places
@customAttribute('<API key>')
export class InfiniteScrollNext {
constructor() {}
attached() {}
bind(bindingContext, overrideContext): void {
this.scope = { bindingContext, overrideContext };
}
} |
import { Injectable } from '@angular/core';
import { FormData, Personal, Address } from './formData.model';
import { WorkflowService } from '../workflow/workflow.service';
import { STEPS } from '../workflow/workflow.model';
@Injectable()
export class FormDataService {
private formData: FormData = new FormData();
private isPersonalFormValid: boolean = false;
private isWorkFormValid: boolean = false;
private isAddressFormValid: boolean = false;
constructor(private workflowService: WorkflowService) {
}
getPersonal(): Personal {
// Return the Personal data
var personal: Personal = {
firstName: this.formData.firstName,
lastName: this.formData.lastName,
email: this.formData.email
};
return personal;
}
setPersonal(data: Personal) {
// Update the Personal data only when the Personal Form had been validated successfully
this.isPersonalFormValid = true;
this.formData.firstName = data.firstName;
this.formData.lastName = data.lastName;
this.formData.email = data.email;
// Validate Personal Step in Workflow
this.workflowService.validateStep(STEPS.personal);
}
getWork() : string {
// Return the work type
return this.formData.work;
}
setWork(data: string) {
// Update the work type only when the Work Form had been validated successfully
this.isWorkFormValid = true;
this.formData.work = data;
// Validate Work Step in Workflow
this.workflowService.validateStep(STEPS.work);
}
getAddress() : Address {
// Return the Address data
var address: Address = {
street: this.formData.street,
city: this.formData.city,
state: this.formData.state,
zip: this.formData.zip
};
return address;
}
setAddress(data: Address) {
// Update the Address data only when the Address Form had been validated successfully
this.isAddressFormValid = true;
this.formData.street = data.street;
this.formData.city = data.city;
this.formData.state = data.state;
this.formData.zip = data.zip;
// Validate Address Step in Workflow
this.workflowService.validateStep(STEPS.address);
}
getFormData(): FormData {
// Return the entire Form Data
return this.formData;
}
resetFormData(): FormData {
// Reset the workflow
this.workflowService.resetSteps();
// Return the form data after all this.* members had been reset
this.formData.clear();
this.isPersonalFormValid = this.isWorkFormValid = this.isAddressFormValid = false;
return this.formData;
}
isFormValid() {
// Return true if all forms had been validated successfully; otherwise, return false
return this.isPersonalFormValid &&
this.isWorkFormValid &&
this.isAddressFormValid;
}
} |
/* Colours used in this sheet:
Sheet background
#e6be74
Derived from the average colour of the former background image
Border colour
#806940
Sheet background colour at value 50 (HSV model)
Background colour of disabled elements:
#bf9e60
Sheet background colour at value 75 (HSV model)
Background colour of enabled elements:
#ffedcc
Sheet background colour at saturation 20 and value 100 (HSV model)
# Roll Template Background Colours
Confirmed Critical Success: #e8cdf2 (a light purple)
derived from success
One Critical Success: #cdf2f1 (a light cyan)
derived from success
Uncritical Success: #d7f2cd (a light green)
Harmonizes with roll20 design
Uncritical Failure: #f2cdcd (a light red)
derived from success
One Critical Failure: #f2e3cd (a light orange)
derived from success
Confirmed Critical Failure: #f2cdcd (a light red)
derived from success
also used for critical failure effect table
Warning/hint: #f2f2f2 (a light grey)
derived from success
# Roll Template Table Border Colours
All derived from the corresponding background colours (value 70 in HSV model)
Confirmed Critical Success: #ab97b3 (a purple)
One Critical Success: #97b3b2 (a cyan)
Uncritical Success: #9fb397 (a green)
Uncritical Failure: #b39797 (a red)
One Critical Failure: #b3a797 (an orange)
Confirmed Critical Failure: #b39797 (a red)
*/
/* Basic Layout Definitions */
.charsheet {
background: #e6be74;
color: #000000;
font-family: serif; /* Let the user decide */
font-size: 1em;
}
.charsheet .sheet-default-hide {
display: none;
}
/* Headings */
.charsheet h1,
.charsheet h2,
.charsheet h3,
.charsheet h4,
.charsheet h5,
.charsheet h6 {
color: #000000;
text-align: center;
}
.charsheet h1 {
margin-bottom: 0.2em;
margin-top: 0.4em;
}
/* Tables */
.charsheet table {
border: 0;
margin-bottom: 0.5em;
}
.charsheet th {
font-weight: bold;
}
.charsheet .<API key> td {
margin: 0;
padding: 0;
}
/* Horizontal line */
.charsheet hr {
border-color: #806940;
border-width: 0.1em;
}
/* Forms, input, label, select, textarea */
.charsheet input,
.charsheet select{
background-color: #ffedcc;
border-color: #806940;
border-style: solid;
border-width: 0.1em;
color: #000000; /* Necessary to overwrite definition from base.css */
font-family: serif; /* Necessary to overwrite definition from base.css */
margin-bottom: 0; /* Necessary to overwrite definition from base.css */
}
.charsheet input[type="number"] {
text-align: right;
}
.charsheet input[type="text"]:disabled,
.charsheet input[type="number"]:disabled {
background-color: #bf9e60;
border-style: solid;
border-color: #806940;
border-width: 0.1em;
font-weight: bold;
}
.charsheet .<API key> input[type="checkbox"] {
margin: 0.1em 0.3em 0.1em 0em;
}
.charsheet label {
color: #000000;
}
.charsheet .<API key> label {
font-size: 0.833em; /* Necessary to counter definition from app.css */
font-weight: 400;
margin: 0;
padding: 0;
}
/* Used to completely cover outer <label> area whenever the activation item
columns do not have equal numbers of items to prevent accidental hiding by
clicking the empty <td> area
Unfortunately, setting the <label>'s visibility to hidden will give back the
area to the outer <label> and an empty label is not as high as with an <input>,
so I added <input>s of the same type as the other items and set their visibility
to hidden. */
.charsheet input.sheet-invisible {
visibility: hidden;
}
.charsheet input[type="checkbox"].sheet-desc-show {
display: none;
}
.charsheet label.sheet-desc-show {
display: inline;
cursor: pointer;
}
/* Default: Hide */
.charsheet input[type="checkbox"]:not(:checked).sheet-desc-show + span:before {
content: "[ausklappen]";
}
.charsheet .sheet-desc-show:not(:checked)~.sheet-desc,
.charsheet .sheet-sect-show:not(:checked)~.sheet-sect {
display: none;
}
/* Checked: Show */
.charsheet input[type="checkbox"]:checked.sheet-desc-show + span:before {
content: "[einklappen]";
}
.charsheet .sheet-desc-show:checked~.sheet-desc,
.charsheet .sheet-sect-show:checked~.sheet-sect {
display: block;
}
/* End of Checkbox Hack */
/* Special class to make stats appear like normal text */
/*
On Talente and Magie sheets, the stats and encumbrance are given.
Originally, both were put into disabled type="number" <input>s.
This added two useless buttons to the numbers wasting precious screen real estate. It was clear that the numbers were put into type="number" <input>s which were not meant to be manipulated by the user similar to the official PDF character sheets.
Since the values were auto-calculated, I could not just replace it with a <span> (or I just couldn't figure out how to do it).
The solution: convert the <input>s to type="text" and make them look like normal text.
*/
.charsheet input[type="text"]:disabled.<API key> {
background-color: #e6be74;
border-style: hidden;
box-shadow: none;
cursor: auto;
font-family: serif;
padding: 0;
width: 2.5em;
vertical-align: bottom;
}
/* Align text left to stick to stat name */
.charsheet th > input[type="text"]:disabled.<API key> {
text-align: left;
}
/* Align text right to match other table cells */
.charsheet td > input[type="text"]:disabled.<API key> {
text-align: right;
}
/* Style draggable UI buttons */
.charsheet button.btn {
background-color: #ffedcc;
background-image: none;
border-color: #806940;
color: #000000;
}
.charsheet textarea {
background-color: #ffedcc;
border-style: solid;
border-width: 0.1em;
border-color: #806940;
width: 95%;
resize: vertical;
overflow-y: auto;
min-height: 15em;
}
.charsheet .sheet-table {
display: table;
width: 100%;
}
.charsheet .sheet-table-money {
display: table;
}
.charsheet .sheet-small-label {
font-size: 85%!important;
}
.charsheet .sheet-center {
text-align: center;
}
.charsheet .sheet-table-data {
display: table-cell;
vertical-align: middle;
padding: 1px
}
.charsheet div[class^="sheet-section"] {
visibility: hidden;
opacity: 0;
max-height: 0;
overflow: hidden;
}
.charsheet input.sheet-tab {
width: 8.45em;
height: 1.7em;
cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
}
.charsheet span.sheet-tab {
background-color: #ffedcc;
border-color: #806940;
border-style: solid;
border-width: 0.1em;
color: #000000;
display: inline-block;
font-size: 1em;
font-weight: bold;
height: 1.5em;
margin-bottom: 0.2em;
margin-left: -8.7em; /* span width (8.15 em) + word-spacing (0.25 em) + border-width-left (0.1 em) + border-width-right (0.1em) */
margin-top: -0.1em;
width: 8.15em;
text-align: center;
}
.charsheet input.sheet-tab1:checked ~ div.<API key>,
.charsheet input.sheet-tab2:checked ~ div.<API key>,
.charsheet input.sheet-tab21:checked ~ div.<API key>,
.charsheet input.sheet-tab3:checked ~ div.<API key>,
.charsheet input.sheet-tab31:checked ~ div.<API key>,
.charsheet input.sheet-tab32:checked ~ div.<API key>,
.charsheet input.sheet-tab4:checked ~ div.<API key>,
.charsheet input.sheet-tab41:checked ~ div.sheet-section-Kampf,
.charsheet input.sheet-tab42:checked ~ div.<API key>,
.charsheet input.sheet-tab43:checked ~ div.<API key>,
.charsheet input.sheet-tab44:checked ~ div.sheet-section-Natur,
.charsheet input.sheet-tab45:checked ~ div.<API key>,
.charsheet input.sheet-tab46:checked ~ div.<API key>,
.charsheet input.sheet-tab47:checked ~ div.<API key>,
.charsheet input.sheet-tab48:checked ~ div.sheet-section-Gaben,
.charsheet input.sheet-tab49:checked ~ div.sheet-section-Meta,
.charsheet input.sheet-tab5:checked ~ div.sheet-section-Magie,
.charsheet input.sheet-tab6:checked ~ div.<API key>,
.charsheet input.sheet-tab7:checked ~ div.<API key>,
.charsheet input.sheet-tab71:checked ~ div.<API key>,
.charsheet input.sheet-tab72:checked ~ div.<API key>,
.charsheet input.sheet-tab73:checked ~ div.<API key>,
.charsheet input.sheet-tab75:checked ~ div.<API key>,
.charsheet input.sheet-tab8:checked ~ div.<API key>,
.charsheet input.sheet-tab51:checked ~ div.<API key>,
.charsheet input.sheet-tab52:checked ~ div.<API key>,
.charsheet input.sheet-tab53:checked ~ div.<API key>,
.charsheet input.sheet-tab81:checked ~ div.<API key>,
.charsheet input.sheet-tab82:checked ~ div.<API key>,
.charsheet input.sheet-tab83:checked ~ div.sheet-section-Orte,
.charsheet input.sheet-tab10:checked ~ div.<API key>,
.charsheet input.sheet-tab101:checked ~ div.<API key>,
.charsheet input.sheet-tab102:checked ~ div.<API key> {
border-color: #806940;
border-style: solid;
border-width: 0.2em 0 0.2em 0;
margin: 0.3em 0 0.3em 0;
padding: 0.3em 0 0.3em 0;
max-height: 999999px;
visibility: visible;
opacity: 1;
transition: opacity 0.5s linear 0s;
overflow: hidden;
}
/* Suppress double borders (two </div>s) */
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.sheet-section-Kampf,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.sheet-section-Natur,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.sheet-section-Gaben,
.charsheet div.sheet-section.<API key> > div.sheet-section.sheet-section-Meta,
.charsheet div.sheet-section.sheet-section-Magie > div.sheet-section.<API key>,
.charsheet div.sheet-section.sheet-section-Magie > div.sheet-section.<API key>,
.charsheet div.sheet-section.sheet-section-Magie > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.sheet-section-Orte,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key>,
.charsheet div.sheet-section.<API key> > div.sheet-section.<API key> {
border-bottom-style: none;
}
.charsheet input.sheet-tab1:checked + span.sheet-tab1,
.charsheet input.sheet-tab2:checked + span.sheet-tab2,
.charsheet input.sheet-tab21:checked + span.sheet-tab21,
.charsheet input.sheet-tab3:checked + span.sheet-tab3,
.charsheet input.sheet-tab31:checked + span.sheet-tab31,
.charsheet input.sheet-tab32:checked + span.sheet-tab32,
.charsheet input.sheet-tab4:checked + span.sheet-tab4,
.charsheet input.sheet-tab41:checked + span.sheet-tab41,
.charsheet input.sheet-tab42:checked + span.sheet-tab42,
.charsheet input.sheet-tab43:checked + span.sheet-tab43,
.charsheet input.sheet-tab44:checked + span.sheet-tab44,
.charsheet input.sheet-tab45:checked + span.sheet-tab45,
.charsheet input.sheet-tab46:checked + span.sheet-tab46,
.charsheet input.sheet-tab47:checked + span.sheet-tab47,
.charsheet input.sheet-tab48:checked + span.sheet-tab48,
.charsheet input.sheet-tab49:checked + span.sheet-tab49,
.charsheet input.sheet-tab5:checked + span.sheet-tab5,
.charsheet input.sheet-tab51:checked + span.sheet-tab51,
.charsheet input.sheet-tab52:checked + span.sheet-tab52,
.charsheet input.sheet-tab53:checked + span.sheet-tab53,
.charsheet input.sheet-tab6:checked + span.sheet-tab6,
.charsheet input.sheet-tab7:checked + span.sheet-tab7,
.charsheet input.sheet-tab71:checked + span.sheet-tab71,
.charsheet input.sheet-tab72:checked + span.sheet-tab72,
.charsheet input.sheet-tab73:checked + span.sheet-tab73,
.charsheet input.sheet-tab75:checked + span.sheet-tab75,
.charsheet input.sheet-tab8:checked + span.sheet-tab8,
.charsheet input.sheet-tab81:checked + span.sheet-tab81,
.charsheet input.sheet-tab82:checked + span.sheet-tab82,
.charsheet input.sheet-tab83:checked + span.sheet-tab83,
.charsheet input.sheet-tab99:checked + span.sheet-tab99,
.charsheet input.sheet-tab10:checked + span.sheet-tab10,
.charsheet input.sheet-tab101:checked + span.sheet-tab101,
.charsheet input.sheet-tab102:checked + span.sheet-tab102 {
background-color: #bf9e60;
border-color: #806940;
color: #000000;
}
.charsheet .<API key>:checked + input.sheet-tab5,
.charsheet .<API key>:checked ~ span.sheet-tab5,
.charsheet .<API key>:checked + div.sheet-section-Magie {
display: none;
}
.charsheet .<API key>:checked + input.sheet-tab6,
.charsheet .<API key>:checked ~ span.sheet-tab6,
.charsheet .<API key>:checked + div.<API key> {
display: none;
}
/* Talent Pseudo Tables */
.charsheet .sheet-talent-cell {
display: inline-block;
}
.charsheet .sheet-talent-head {
font-weight: bold;
}
.charsheet .sheet-talent-name {
width: 16em !important;
}
.charsheet .<API key> {
width: 13.25em !important;
}
.charsheet .<API key> {
width: 4.25em !important;
}
.charsheet select.<API key> {
margin: 0; /* Necessary to overwrite base.css */
padding: 0; /* Necessary to overwrite base.css */
}
.charsheet .<API key> {
font-weight: bold;
}
.charsheet .sheet-talent-stf {
width: 2em !important;
}
.charsheet .sheet-talent-ebe,
.charsheet .sheet-talent-at,
.charsheet .sheet-talent-pa,
.charsheet .sheet-talent-komp,
.charsheet .sheet-talent-taw {
width: 4em !important;
}
.charsheet .sheet-talent-spez {
width: 14em !important;
}
.charsheet .sheet-talent-probe {
width: 6em !important;
}
/* Replacement for abbr */
.charsheet span.sheet-abbr {
<API key>: underline;
<API key>: dotted;
}
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-bogen:checked + div.sheet-talent,
.charsheet .sheet-talent-diskus:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-speere:checked + div.sheet-talent,
.charsheet .sheet-talent-stabe:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-reiten:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-lehren:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-alaani:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-ruuz:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-isdira:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-angram:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-nujuka:checked + div.sheet-talent,
.charsheet .sheet-talent-rssahh:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-zlit:checked + div.sheet-talent,
.charsheet .sheet-talent-zhayad:checked + div.sheet-talent,
.charsheet .sheet-talent-atak:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-brauer:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-gerber:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-handel:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-maurer:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-seiler:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent,
.charsheet .sheet-talent-winzer:checked + div.sheet-talent,
.charsheet .<API key>:checked + div.sheet-talent {
display: inline-block;
white-space: nowrap;
}
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber,
.charsheet .<API key>:checked + div.sheet-zauber {
display: inline-block;
white-space: nowrap;
}
.charsheet .sheet-zauber,
.charsheet .sheet-talent {
display: none;
}
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table,
.<API key> table {
min-width: 8em;
max-width: 20em;
border-style: solid;
border-width: 0.1em;
color: #000000;
}
/* 1d20: success, critical, confirmed (1 and check succeeded) */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #e8cdf2;
border-color: #ab97b3;
}
/* 1d20: success, critical, unconfirmed (1 and check failed) */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #cdf2f1;
border-color: #97b3b2;
}
/* success, uncritical (no 1) */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #d7f2cd;
border-color: #9fb397
}
/* failure, uncritical (no 1) */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #f2f1cd;
border-color: #b39797;
}
/* 1d20: failure, critical, unconfirmed (20 and check succeeded) */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #f2e3cd;
border-color: #b3a797;
}
/* 1d20: failure, critical, confirmed (20 and check failed)
critical failure effect table */
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key>,
.<API key> table.<API key> {
background-color: #f2cdcd;
border-color: #b39797;
}
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th,
.<API key> th {
font-variant: small-caps;
font-weight: 700;
padding: 0.2em;
text-align: left;
}
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td,
.<API key> td {
padding: 0.2em;
}
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key> {
font-variant: small-caps;
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Attacke gelungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Attacke misslungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Parade gelungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Parade misslungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Ausweichen gelungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Ausweichen misslungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Fernkampfangriff gelungen";
}
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before,
.<API key> table.<API key> span.<API key>:before {
content: "Fernkampfangriff misslungen";
}
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key>,
.<API key> td.<API key> {
background-color: #f2f2f2;
}
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr,
.<API key> span.sheet-abbr {
<API key>: underline;
<API key>: dotted;
}
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullcrit,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.fullfail,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll,
.<API key> .inlinerollresult.importantroll {
border: none;
padding: 0;
background-color: unset;
font-size: 1em;
font-weight: inherit;
color: #000000;
} |
<?php
/* forms/fields/textarea/textarea.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/textarea/textarea.html.twig", 1);
$this->blocks = array(
'input' => array($this, 'block_input'),
'input_attributes' => array($this, '<API key>'),
);
}
protected function doGetParent(array $context)
{
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = array())
{
// line 4
echo " <div class=\"form-group ";
echo $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "size", array());
echo "\">
<textarea class=\"form-control form-control-lg\" name=\"";
// line 5
echo $this->env->getExtension('GravTwigExtension')->fieldNameFilter(((isset($context["scope"]) ? $context["scope"] : null) . $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "name", array())));
echo "\"
";
// line 7
echo " name=\"";
echo $this->env->getExtension('GravTwigExtension')->fieldNameFilter(((isset($context["scope"]) ? $context["scope"] : null) . $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "name", array())));
echo "\"
";
// line 9
echo " ";
$this->displayBlock('input_attributes', $context, $blocks);
// line 23
echo " style=\"height: 200px;\">";
echo twig_escape_filter($this->env, trim((isset($context["value"]) ? $context["value"] : null)), "html");
echo "</textarea>
</div>
";
}
// line 9
public function <API key>($context, array $blocks = array())
{
// line 10
echo " ";
if ($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "classes", array(), "any", true, true)) {
echo "class=\"";
echo $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "classes", array());
echo "\" ";
}
// line 11
echo " ";
if ($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "id", array(), "any", true, true)) {
echo "id=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "id", array()));
echo "\" ";
}
// line 12
echo " ";
if ($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "style", array(), "any", true, true)) {
echo "style=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "style", array()));
echo "\" ";
}
// line 13
echo " ";
if ($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "disabled", array())) {
echo "disabled=\"disabled\"";
}
// line 14
echo " ";
if ($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "placeholder", array())) {
echo "placeholder=\"";
echo $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "placeholder", array());
echo "\"";
}
// line 15
echo " ";
if (twig_in_filter($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "autofocus", array()), array(0 => "on", 1 => "true", 2 => 1))) {
echo "autofocus=\"autofocus\"";
}
// line 16
echo " ";
if (twig_in_filter($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "novalidate", array()), array(0 => "on", 1 => "true", 2 => 1))) {
echo "novalidate=\"novalidate\"";
}
// line 17
echo " ";
if (twig_in_filter($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "readonly", array()), array(0 => "on", 1 => "true", 2 => 1))) {
echo "readonly=\"readonly\"";
}
// line 18
echo " ";
if (twig_in_filter($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "autocomplete", array()), array(0 => "on", 1 => "off"))) {
echo "autocomplete=\"";
echo $this->getAttribute((isset($context["field"]) ? $context["field"] : null), "autocomplete", array());
echo "\"";
}
// line 19
echo " ";
if (twig_in_filter($this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "required", array()), array(0 => "on", 1 => "true", 2 => 1))) {
echo "required=\"required\"";
}
// line 20
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "pattern", array())) {
echo "pattern=\"";
echo $this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "pattern", array());
echo "\"";
}
// line 21
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "message", array())) {
echo "title=\"";
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["grav"]) ? $context["grav"] : null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
echo <API key>($this->env->getFilter('tu')->getCallable(), array($this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "message", array())));
} else {
echo $this->env->getExtension('GravTwigExtension')->translate($this->getAttribute($this->getAttribute((isset($context["field"]) ? $context["field"] : null), "validate", array()), "message", array()));
}
echo "\"";
}
// line 22
echo " ";
}
public function getTemplateName()
{
return "forms/fields/textarea/textarea.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 138 => 22, 127 => 21, 120 => 20, 115 => 19, 108 => 18, 103 => 17, 98 => 16, 93 => 15, 86 => 14, 81 => 13, 74 => 12, 67 => 11, 60 => 10, 57 => 9, 49 => 23, 46 => 9, 41 => 7, 37 => 5, 32 => 4, 29 => 3, 11 => 1,);
}
}
/* {% extends "forms/field.html.twig" %}*/
/* {% block input %}*/
/* <div class="form-group {{ field.size }}">*/
/* <textarea class="form-control form-control-lg" name="{{ (scope ~ field.name)|fieldName }}"*/
/* {# required attribute structures #}*/
/* name="{{ (scope ~ field.name)|fieldName }}"*/
/* {# input attribute structures #}*/
/* {% block input_attributes %}*/
/* {% if field.classes is defined %}class="{{ field.classes }}" {% endif %}*/
/* {% if field.id is defined %}id="{{ field.id|e }}" {% endif %}*/
/* {% if field.style is defined %}style="{{ field.style|e }}" {% endif %}*/
/* {% if field.disabled %}disabled="disabled"{% endif %}*/
/* {% if field.placeholder %}placeholder="{{ field.placeholder }}"{% endif %}*/
/* {% if field.autofocus in ['on', 'true', 1] %}autofocus="autofocus"{% endif %}*/
/* {% if field.novalidate in ['on', 'true', 1] %}novalidate="novalidate"{% endif %}*/
/* {% if field.readonly in ['on', 'true', 1] %}readonly="readonly"{% endif %}*/
/* {% if field.autocomplete in ['on', 'off'] %}autocomplete="{{ field.autocomplete }}"{% endif %}*/
/* {% if field.validate.required in ['on', 'true', 1] %}required="required"{% endif %}*/
/* {% if field.validate.pattern %}pattern="{{ field.validate.pattern }}"{% endif %}*/
/* {% if field.validate.message %}title="{% if grav.twig.twig.filters['tu'] is defined %}{{ field.validate.message|tu }}{% else %}{{ field.validate.message|t }}{% endif %}"{% endif %}*/
/* {% endblock %}*/
/* style="height: 200px;">{{ value|trim|e('html') }}</textarea>*/
/* </div>*/
/* {% endblock %}*/ |
var mongoSetup = require('./../index.js');
var cp = mongoSetup.collectionPromises;
var connectionData = {
connectionString : "mongodb://localhost:27017/repair_db"
};
mongoSetup.connectTo(connectionData)
.then(cp.repair())
.then(cp.disconnect())
.catch(mongoSetup.handleError()); |
using FlaUI.Core;
using FlaUI.Core.AutomationElements.Infrastructure;
using FlaUI.Core.Patterns;
using FlaUI.UIA3.Patterns;
namespace FlaUI.UIA3
{
public class UIA3EventLibrary : IEventLibrary
{
public UIA3EventLibrary()
{
Element = new <API key>();
Drag = new DragPatternEvents();
DropTarget = new <API key>();
Invoke = new InvokePatternEvents();
SelectionItem = new <API key>();
Selection = new <API key>();
SynchronizedInput = new <API key>();
TextEdit = new <API key>();
Text = new TextPatternEvents();
Window = new WindowPatternEvents();
}
public <API key> Element { get; }
public IDragPatternEvents Drag { get; }
public <API key> DropTarget { get; }
public <API key> Invoke { get; }
public <API key> SelectionItem { get; }
public <API key> Selection { get; }
public <API key> SynchronizedInput { get; }
public <API key> TextEdit { get; }
public ITextPatternEvents Text { get; }
public <API key> Window { get; }
}
} |
<a name="0.13.18"></a>
Bug Fixes
* **preprocessor:** Improve handling of failed preprocessors ([e726d1c](https://github.com/karma-runner/karma/commit/e726d1c)), closes [
Features
* **cli:** Add .config/karma.conf.js to the default lookup path ([49bf1aa](https://github.com/karma-runner/karma/commit/49bf1aa)), closes [
* **config:** Add a clearContext config to prevent clearing of context. ([5fc8ee7](https://github.com/karma-runner/karma/commit/5fc8ee7))
* **config:** mime config option support ([d562383](https://github.com/karma-runner/karma/commit/d562383)), closes [
<a name="0.13.17"></a>
<a name="0.13.16"></a>
Bug Fixes
* **config:** corrects spelling in example config template ([9fafc60](https://github.com/karma-runner/karma/commit/9fafc60))
* **middleware:** Correct spelling of middleware logger name ([9e9e7e6](https://github.com/karma-runner/karma/commit/9e9e7e6))
* **preprocessor:** Directory names with dots ([4b5e094](https://github.com/karma-runner/karma/commit/4b5e094))
* **test:** locale in Expire header ([db04cf0](https://github.com/karma-runner/karma/commit/db04cf0)), closes [
Features
* **proxy:** Allow proxies configuration to be an object ([ad94356](https://github.com/karma-runner/karma/commit/ad94356))
* **proxy:** Allow to configure changeOrigin option of http-proxy ([ae05ea4](https://github.com/karma-runner/karma/commit/ae05ea4)), closes [
<a name="0.13.15"></a>
Bug Fixes
* **eslint:** Fix formatting for the new ESLint 1.8.0 ([dc1bbab](https://github.com/karma-runner/karma/commit/dc1bbab))
<a name="0.13.14"></a>
Bug Fixes
* **client:** Revert back to old reloading detection ([f1c22d6](https://github.com/karma-runner/karma/commit/f1c22d6))
* **client:** Wait for childwindow to load ([c1bb15a](https://github.com/karma-runner/karma/commit/c1bb15a))
<a name="0.13.13"></a>
Bug Fixes
* **client:** Wait for iframe to be loaded ([1631474](https://github.com/karma-runner/karma/commit/1631474)), closes [
<a name="0.13.12"></a>
Bug Fixes
* **proxy:** Pass protocol in target object to enable https requests ([142db90](https://github.com/karma-runner/karma/commit/142db90))
Features
* **launcher:** Add concurrency limit ([1741deb](https://github.com/karma-runner/karma/commit/1741deb)), closes [
<a name="0.13.11"></a>
## 0.13.11 (2015-10-14)
Bug Fixes
* **reporter:** preserve base/absolute word in error ([b3798df](https://github.com/karma-runner/karma/commit/b3798df))
Features
* **config:** add restartOnFileChange option ([1082f35](https://github.com/karma-runner/karma/commit/1082f35))
* **reporter:** Replace way-too-big memoizee with a trivial solution. ([d926fe3](https://github.com/karma-runner/karma/commit/d926fe3))
* **web-server:** add support for custom headers in files served ([4301bea](https://github.com/karma-runner/karma/commit/4301bea))
* **web-server:** allow injection of custom middleware. ([2e963c3](https://github.com/karma-runner/karma/commit/2e963c3)), closes [
<a name="0.13.10"></a>
## 0.13.10 (2015-09-21)
Bug Fixes
* **config:** Error when browers option isn't array ([b695460](https://github.com/karma-runner/karma/commit/b695460))
Features
* **config:** Pass CLI arguments to `karma.config.js`. ([70cf903](https://github.com/karma-runner/karma/commit/70cf903)), closes [
<a name="0.13.9"></a>
## 0.13.9 (2015-08-11)
Bug Fixes
* **file-list:** refresh resolves before 'file_list_modified' event ([65f1eca](https://github.com/karma-runner/karma/commit/65f1eca)), closes [
* **reporter:** Enable sourcemaps for errors that without column
<a name="0.13.8"></a>
## 0.13.8 (2015-08-06)
Bug Fixes
* **middleware:** Inject `config.urlRoot`. ([569ca0e](https://github.com/karma-runner/karma/commit/569ca0e)), closes [
Features
* **static:** Support media queries ([94e7b50](https://github.com/karma-runner/karma/commit/94e7b50))
* Add engine support for iojs@3. ([eb1c8d2](https://github.com/karma-runner/karma/commit/eb1c8d2))
<a name="0.13.7"></a>
## 0.13.7 (2015-08-05)
Bug Fixes
* **file-list:** Use modified throttle instead of debounce ([cb2aafb](https://github.com/karma-runner/karma/commit/cb2aafb)), closes [
<a name="0.13.6"></a>
## 0.13.6 (2015-08-05)
Bug Fixes
* **client:** Use supported shim path. ([184f12e](https://github.com/karma-runner/karma/commit/184f12e))
* **web-server:** Ensure `filesPromise` is always resolvable ([892fa89](https://github.com/karma-runner/karma/commit/892fa89)), closes [
<a name="0.13.5"></a>
## 0.13.5 (2015-08-04)
Bug Fixes
* **file-list:** Ensure autowatchDelay is working. ([655599a](https://github.com/karma-runner/karma/commit/655599a)), closes [
* **file-list:** use lodash find() ([3bd15a7](https://github.com/karma-runner/karma/commit/3bd15a7)), closes [
Features
* **web-server:** Allow running on https ([1696c78](https://github.com/karma-runner/karma/commit/1696c78))
<a name="0.13.4"></a>
## 0.13.4 (2015-08-04)
Bug Fixes
* **client:** add ES5 shim ([14c30b7](https://github.com/karma-runner/karma/commit/14c30b7)), closes [
* **reporter:** Ensure errors use the source map. ([0407a22](https://github.com/karma-runner/karma/commit/0407a22)), closes [
* **runner:** Wait for file list refresh to finish before running ([94cddc0](https://github.com/karma-runner/karma/commit/94cddc0))
* **server:** Update timers for limited execution environments ([9cfc1cd](https://github.com/karma-runner/karma/commit/9cfc1cd)), closes [
<a name"0.13.3"></a>
0.13.3 (2015-07-22)
# Bug Fixes
* restore backward compatibility for karma@0.13 ([648b357a](https://github.com/karma-runner/karma/commit/648b357a))
# Features
* **preprocessor:** Capital letters in binary files extenstions ([1688689d](https://github.com/karma-runner/karma/commit/1688689d), closes [
<a name"0.13.2"></a>
0.13.2 (2015-07-17)
# Features
* **cli:** Better CLI args validation ([73d31c2c](https://github.com/karma-runner/karma/commit/73d31c2c))
* **preprocessor:** Instantiate preprocessors early to avoid race conditions ([8a9c8c73](https://github.com/karma-runner/karma/commit/8a9c8c73))
* **server:** Add public api to force a file list refresh. ([b3c462a5](https://github.com/karma-runner/karma/commit/b3c462a5))
<a name"0.13.1"></a>
0.13.1 (2015-07-16)
# Bug Fixes
* **file-list:**
* Ensure files are sorted and unique ([9dc5f8bc](https://github.com/karma-runner/karma/commit/9dc5f8bc), closes [
* Normalize glob patterns ([fb841a79](https://github.com/karma-runner/karma/commit/fb841a79), closes [
<a name"0.13.0"></a>
## 0.13.0 (2015-07-15)
# Bug Fixes
* upgrade http-proxy module for bug fixes ([09c75fe1](https://github.com/karma-runner/karma/commit/09c75fe1))
* **cli:** print UserAgent string verbatim if from an unknown browser ([9d972263](https://github.com/karma-runner/karma/commit/9d972263))
* **client:**
* serialise DOM objects ([1f73be4f](https://github.com/karma-runner/karma/commit/1f73be4f), closes [
* Update location detection for socket.io ([7a23fa57](https://github.com/karma-runner/karma/commit/7a23fa57))
* **deps:** Upgrade connect 3. ([b490985c](https://github.com/karma-runner/karma/commit/b490985c))
* **file-list:** Use correct find function ([4cfaae96](https://github.com/karma-runner/karma/commit/4cfaae96))
* **helper:** Ensure browser detection is handled in the unkown case ([9328f67e](https://github.com/karma-runner/karma/commit/9328f67e))
* **launchers:** Listen to the correct error event. ([45a69221](https://github.com/karma-runner/karma/commit/45a69221))
* **web-server:** Correctly update filesPromise on files updated ([32eec8d7](https://github.com/karma-runner/karma/commit/32eec8d7))
# Features
* Upgrade to socket.io 1.3 ([603872c9](https://github.com/karma-runner/karma/commit/603872c9), closes [
* allow frameworks to add preprocessors This changes the order in which things are ([f6f5eec3](https://github.com/karma-runner/karma/commit/f6f5eec3))
* **config:** add nocache option for file patterns ([6ef7e7b1](https://github.com/karma-runner/karma/commit/6ef7e7b1))
* **file-list:** Use glob.sync for better speed ([1b65cde4](https://github.com/karma-runner/karma/commit/1b65cde4))
* **logger:**
* Add date/time stamp to log output ([a4b5cdde](https://github.com/karma-runner/karma/commit/a4b5cdde))
* **reporter:** cache SourceMapConsumer ([fe6ed7e5](https://github.com/karma-runner/karma/commit/fe6ed7e5))
* **runner:**
* serve context in JSON format for JS-only environments ([189feffd](https://github.com/karma-runner/karma/commit/189feffd))
* provide error code on 'ECONNREFUSED' callback ([439bddb1](https://github.com/karma-runner/karma/commit/439bddb1))
* **server:** improve public api ([82cbbadd](https://github.com/karma-runner/karma/commit/82cbbadd), closes [
* **watcher:** Allow using braces in watcher ([e046379b](https://github.com/karma-runner/karma/commit/e046379b), closes [
* **web-server:** Serve all files under urlRoot ([1319b32d](https://github.com/karma-runner/karma/commit/1319b32d))
# Breaking Changes
* The public api interface has changed to a constructor form. To upgrade
change
javascript
var server = require(‘karma’).server
server.start(config, done)
to
javascript
var Server = require(‘karma’).Server
var server = new Server(config, done)
server.start()
Closes #1037, #1482, #1467
([82cbbadd](https://github.com/karma-runner/karma/commit/82cbbadd))
<a name"0.12.37"></a>
0.12.37 (2015-06-24)
# Bug Fixes
* **file_list:** follow symlinks ([ee267483](https://github.com/karma-runner/karma/commit/ee267483))
* **init:** Make the requirejs config template normalize paths ([54dcce31](https://github.com/karma-runner/karma/commit/54dcce31))
* **middleware:** Actually serve the favicon. ([f12db639](https://github.com/karma-runner/karma/commit/f12db639))
<a name"0.12.36"></a>
0.12.36 (2015-06-04)
# Bug Fixes
* **launcher:** Continue with exit when SIGKILL fails ([1eaccb4c](https://github.com/karma-runner/karma/commit/1eaccb4c))
* **preprocessor:** Lookup patterns once invoked ([00a27813](https://github.com/karma-runner/karma/commit/00a27813), closes [
<a name"0.12.35"></a>
0.12.35 (2015-05-29)
# Bug Fixes
* **server:** Start webserver and browsers after preprocessing completed ([e0d2d239](https://github.com/karma-runner/karma/commit/e0d2d239))
<a name"0.12.34"></a>
0.12.34 (2015-05-29)
# Bug Fixes
* **cli:** Use `bin` field in package.json ([6823926f](https://github.com/karma-runner/karma/commit/6823926f), closes [
* **client:** dynamic protocol for socket.io ([c986eefe](https://github.com/karma-runner/karma/commit/c986eefe), closes [
* **deps:** Update dependencies ([b9a4ce98](https://github.com/karma-runner/karma/commit/b9a4ce98))
# Features
* **runner:** Use favicon in static runner pages ([6cded4f8](https://github.com/karma-runner/karma/commit/6cded4f8))
<a name"0.12.33"></a>
0.12.33 (2015-05-26)
# Bug Fixes
* catch exceptions from SourceMapConsumer ([5d42e643](https://github.com/karma-runner/karma/commit/5d42e643))
* Safeguard IE against console.log ([0b5ff8f6](https://github.com/karma-runner/karma/commit/0b5ff8f6), closes [
* **config:** Default remaining client options if any are set ([632dd5e3](https://github.com/karma-runner/karma/commit/632dd5e3), closes [
* **init:** fix test-main.(js/coffee) generation ([d8521ef4](https://github.com/karma-runner/karma/commit/d8521ef4), closes [
<a name="0.12.31"></a>
0.12.31 (2015-01-02)
# Bug Fixes
* **client:** Fix stringify serializing objects ([0d0972a5](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.30"></a>
0.12.30 (2014-12-30)
# Bug Fixes
* **socket.io:** Force 0.9.16 which works with Chrome ([840ee5f7](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.29"></a>
0.12.29 (2014-12-30)
# Bug Fixes
* **proxy:** proxy to correct port ([a483636e](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **watcher:** Close file watchers on exit event ([71810257](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.28"></a>
0.12.28 (2014-11-25)
# Bug Fixes
* **server:** complete acknowledgment ([f4144b0d](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.27"></a>
0.12.27 (2014-11-25)
# Bug Fixes
* **browser:** don't add already active socket again on reconnect ([37a7958a](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter:** sourcemap not working in windows ([a9516af2](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.26"></a>
0.12.26 (2014-11-25)
# Bug Fixes
* **cli:** override if an arg is defined multiple times ([31eb2c2c](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="0.12.25"></a>
0.12.25 (2014-11-14)
# Bug Fixes
* add emscripten memory image as binary suffix ([f6b2b561](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* Wrap url.parse to always return an object for query property ([72452e9f](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **client.html:** always open debug.html in a new browser process ([d176bcf4](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** calculate sha1 on content returned from a preprocessor ([6cf79557](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **runner:** Fix typo in CSS class name for .idle ([fc5a7ce0](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.24"></a>
v0.12.24 (2014-09-30)
# Bug Fixes
* Wrap url.parse to always return an object for query property ([72452e9f](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="0.12.23"></a>
0.12.23 (2014-08-28)
# Bug Fixes
* **file_list:** Incorrect response after remove and add file ([0dbc0201](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** Throw error if can't open file ([bb4edde9](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **init:** install coffee-script automatically ([e876db63](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="0.12.22"></a>
0.12.22 (2014-08-19)
# Bug Fixes
* **preprocessor:** treat *.tgz, *.tbz2, *.txz & *.xz as binary ([7b642449](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.21"></a>
0.12.21 (2014-08-05)
# Bug Fixes
* **web-server:** cache static files ([eb5bd53f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.20"></a>
0.12.20 (2014-08-05)
# Bug Fixes
* **config:**
* **preprocessor:**
* treat *.gz files as binary ([1b56932f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* treat *.swf files as binary ([62d7d387](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.19"></a>
0.12.19 (2014-07-26)
# Bug Fixes
* **proxy:** More useful proxyError log message ([96640a75](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.18"></a>
0.12.18 (2014-07-25)
# Bug Fixes
* **watcher:** handle paths on Windows ([6164d869](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="0.12.17"></a>
0.12.17 (2014-07-11)
# Bug Fixes
* **logging:** Summarize SKIPPED tests in debug.html. Before: hundreds of SKIPPING lines in con ([a01100f5](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **server:** Force clients disconnect on Windows ([28239f42](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **travis_ci:** converted node versions as string ([25ee6fc9](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* serve ePub as binary files ([82ed0c6e](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** add 'mp3' and 'ogg' as binary formats to avoid media corruption in the browser. ([65a0767e](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.16"></a>
v0.12.16 (2014-05-10)
# Bug Fixes
* **launcher:** cancel kill timeout when process exits cleanly ([bd662744](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.12.15"></a>
v0.12.15 (2014-05-08)
# Bug Fixes
* **server:** don't wait for socket.io store expiration timeout ([cd30a422](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.14"></a>
v0.12.14 (2014-04-27)
# Bug Fixes
* **debug.html:** Added whitespace after 'SKIPPED' ([218ee859](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.13"></a>
v0.12.13 (2014-04-27)
# Bug Fixes
* **preprocessor:** serve NaCl binaries ([1cc6a1e3](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.12"></a>
v0.12.12 (2014-04-25)
# Bug Fixes
* **server:** properly close flash transport ([de89cd33](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.11"></a>
v0.12.11 (2014-04-25)
# Bug Fixes
* **preprocessor:** remove ts from binary extensions ([82698523](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.10"></a>
v0.12.10 (2014-04-23)
# Bug Fixes
* **server:** clear web server close timeout on clean close ([34123fed](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.9"></a>
v0.12.9 (2014-04-14)
# Bug Fixes
* **web-server:** strip scheme, host and port ([06a0da09](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.8"></a>
v0.12.8 (2014-04-14)
# Bug Fixes
* **web-server:** inline the config, when serving debug.html ([1eb36430](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.7"></a>
v0.12.7 (2014-04-14)
# Bug Fixes
* don't crash/terminate upon errors within chokidar ([2c389311](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** consider SVG files as text files, not binary files ([ff288036](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.12.6"></a>
v0.12.6 (2014-04-09)
<a name="v0.12.5"></a>
v0.12.5 (2014-04-08)
# Bug Fixes
* **reporters:** format fix for console log ([d2d1377d](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.12.4"></a>
v0.12.4 (2014-04-06)
# Bug Fixes
* **init:** Fix type in init text ([e34465b0](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.12.3"></a>
v0.12.3 (2014-04-01)
# Bug Fixes
* **web-server:** implement a timeout on webServer.close() ([fe3dca78](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* **web-server:** run karma using multiple emulation modes,
<a name="v0.12.2"></a>
v0.12.2 (2014-03-30)
<a name="v0.12.1"></a>
v0.12.1 (2014-03-16)
# Features
* **preprocessor:** Adding the `dat` file extension as a recognised binary. ([be923571](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.12.0"></a>
## v0.12.0 (2014-03-10)
# Bug Fixes
* serving binary files ([8a30cf55](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **config:**
* fail if client.args is set to a non array ([fe4eaec0](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* allow CoffeeScript 1.7 to be used ([a1583dec](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **runner:** Karma hangs when file paths have \u in them
* **web-server:**
* detach listeners after running ([3baa8e19](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* close webserver after running ([f9dee468](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* remove dependency on coffee-script ([af2d0e72](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:** better error when Coffee/Live Script not installed ([aca84dc9](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:** generate test-main.(js/coffee) for RequireJS projects ([85900c93](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.14"></a>
v0.11.14 (2014-02-04)
# Features
* **preprocessor:** allow preprocessor to cancel test run ([4d669bf3](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **reporter:** use spaces rather than tabs when formatting errors ([112becf7](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **web-server:** include html files as <link rel="import"> ([03d7b106](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.13"></a>
v0.11.13 (2014-01-19)
# Bug Fixes
* **launcher:** compatibility with old launchers ([df557cec](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* support LiveScript configuration ([88deebe7](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.12"></a>
v0.11.12 (2013-12-25)
# Bug Fixes
* **client:** show error if an adapter is removed ([a8b250cf](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **deps:** update all deps ([355a762c](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **reporter:** support source maps (rewrite stack traces) ([70e4abd9](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **watcher:** use polling on Mac ([66f50d7e](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.11"></a>
v0.11.11 (2013-12-23)
# Bug Fixes
* **events:** resolve async events without any listener ([4e4bba88](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **launcher:**
* compatibility with Node v0.8 ([6a46be96](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* compatibility with old launchers ([ffb74800](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.10"></a>
v0.11.10 (2013-12-22)
# Bug Fixes
* **completion:** add missin --log-level for karma init ([1e79eb55](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:** clean the terminal if killed ([e2aa7497](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* revert default usePolling to false ([e88fbc24](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:**
* remove default preprocessors (coffee, html2js) ([ada74d55](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* Add the abillity to supress the client console. This adds the client config opti ([4734962d](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* set default host/port from env vars ([0a6a0ee4](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* Allow tests be to run in a new window instead of iframe ([471e3a8a](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:**
* install <API key> ([29f5cf2d](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* add nodeunit, nunit frameworks ([b4da1a08](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* install missing plugins (frameworks, launchers) ([1ba70a6f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **launcher:** log how long it took each browser to capture ([8dd54369](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* Karma does not ship with any plugin. You need to explicitly install all the plugins you need. `karma init` can help with this.
Removed plugins that need to be installed explicitly are:
* karma-jasmine
* karma-requirejs
* <API key>
* <API key>
* <API key>
* <API key>
* <API key>
* <API key> ([e033d561](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.9"></a>
v0.11.9 (2013-12-03)
# Features
* **browser:** add browserNoActivity configuration ([bca8faad](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.8"></a>
v0.11.8 (2013-12-03)
# Bug Fixes
* **reporter:** remove SHAs from stack traces ([d7c31f97](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **web-server:** correct caching headers for SHAs ([bf27e80b](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **web-server:** disable gzip compression ([5ee886bc](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.7"></a>
v0.11.7 (2013-12-02)
# Bug Fixes
* keep all sockets in the case an old socket will survive ([a5945ebc](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* reuse browser instance when restarting disconnected browser ([1f1a8ebf](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **client:** redirect to redirect_url after all messages are sent ([4d05602c](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **plugins:** ignore some non-plugins package names ([01776030](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.6"></a>
v0.11.6 (2013-12-01)
# Bug Fixes
* **config:**
* ignore empty string patterns ([66c86a66](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* apply CLI logger options as soon as we can ([16179b08](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocess:** set correct extension for the preprocessed path ([c9a64d2f](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* add `<API key>` config option ([19590e1f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* make autoWatch true by default ([8454898c](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **browser:** improve logging ([71b542ad](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **client:** show error if no adapter is included ([7213877f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **web-server:**
* use SHA hash instead of timestamps ([6e31cb24](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* cache preprocessed files ([c786ee2e](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* `autoWatch` is `true` by default. If you rely on the default value being `false`, please set it in `karma.conf.js` explicitly to `false`.
([8454898c](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.5"></a>
v0.11.5 (2013-11-25)
# Bug Fixes
* do not execute already executing browsers ([00136cf6](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **launcher:** send SIGKILL if SIGINT does not kill the browser ([c0fa49aa](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.4"></a>
v0.11.4 (2013-11-21)
# Bug Fixes
* **browser:** reply "start" event ([4fde43de](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.3"></a>
v0.11.3 (2013-11-20)
# Bug Fixes
* **config:** not append empty module if no custom launcher/rep/prep ([ee15a4e4](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **watcher:** allow parentheses in a pattern ([438eb8dd](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* remove `karma` binary in favor of karma-cli ([c7d46270](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:** log if no config file is specified ([ce4c5646](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* The `karma` module does not export `karma` binary anymore. The recommended way is to have local modules (karma and all the plugins that your project needs) stored in your `package.json`. You can run that particular Karma by `./node_modules/karma/bin/karma`. Or you can have `karma-cli` installed globally on your system, which enables you to use the `karma` command.
The global `karma` command (installed by `karma-cli`) does look for local version of Karma (including parent directories) first and fall backs to a global one.
The `bin/karma` binary does not look for any other instances of Karma and just runs the one that it belongs to.
([c7d46270](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.2"></a>
v0.11.2 (2013-11-03)
# Bug Fixes
* **config:** use polling by default ([53978c42](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **proxy:** handle proxied socket.io websocket transport upgrade ([fcc2a98f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.1"></a>
v0.11.1 (2013-10-25)
# Bug Fixes
* launcher kill method which was throwing an error if no callback was specified bu ([5439f1cb](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **static:** Use full height for the iFrame. Fix based on PR
* **watcher:**
* ignore double "add" events ([6cbaac7a](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* improve watching efficiency ([6a272aa5](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* redirect client to "return_url" if specified ([6af2c897](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:** add usePolling config ([18514d63](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **watcher:** ignore initial "add" events ([dde1da4c](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.11.0"></a>
## v0.11.0 (2013-08-26)
# Bug Fixes
* support reconnecting for manually captured browsers ([a8ac6d2d](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter:** print browser stats immediately after it finishes ([65202d87](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* don't wait for all browsers and start executing immediately ([8647266f](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.10.2"></a>
v0.10.2 (2013-08-21)
# Bug Fixes
* don't mark a browser captured if already being killed/timeouted ([21230979](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* sync page unload (disconnect) ([ac9b3f01](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* buffer result messages when polling ([c4ad6970](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* allow browser to reconnect during the test run ([cbe2851b](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.10.1"></a>
v0.10.1 (2013-08-06)
# Bug Fixes
* **cli:** Always pass an instance of fs to processArgs. ([06532b70](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **init:** set default filename ([34d49b13](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.10.0"></a>
## v0.10.0 (2013-08-06)
<a name="v0.9.8"></a>
v0.9.8 (2013-08-05)
# Bug Fixes
* **init:** install plugin as dev dependency ([46b7a402](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **runner:** do not confuse client args with the config file ([6f158aba](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **config:** default config can be karma.conf.js or karma.conf.coffee ([d4a06f29](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **runner:**
* support config files ([449e4a1a](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* add --no-refresh to disable re-globbing ([b9c670ac](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.9.7"></a>
v0.9.7 (2013-07-31)
# Bug Fixes
* **init:** trim the inputs ([b72355cb](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **web-server:** correct urlRegex in custom handlers ([a641c2c1](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* basic bash/zsh completion ([9dc1cf6a](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **runner:** allow passing changed/added/removed files ([b598106d](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **watcher:** make the batching delay configurable ([fa139312](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.9.6"></a>
v0.9.6 (2013-07-28)
# Features
* pass command line opts through to browser ([00d63d0b](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **web-server:** compress responses (gzip/deflate) ([8e8a2d44](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* `runnerPort` is merged with `port`
if you are using `karma run` with custom `--runer-port`, please change that to `--port`.
([ca4c4d88](http://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.9.5"></a>
v0.9.5 (2013-07-21)
# Bug Fixes
* detect a full page reload, show error and recover ([15d80f47](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* better serialization in dump/console.log ([fd46365d](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* browsers_change event always has collection as arg ([42bf787f](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:** generate config with the new syntax ([6b27fee5](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter:** prevent throwing exception when null is sent to formatter ([3b49c385](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* **watcher:** ignore fs.stat errors ([74ccc9a8](http://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* capture window.alert ([284c4f5c](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* ship html2js preprocessor as a default plugin ([37ecf416](http://github.com/karma-runner/karma/commit/<SHA1-like>))
* fail if zero tests executed ([5670415e](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **launcher:** normalize quoted paths ([f2155e0c](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **web-server:** serve css files ([4e305545](http://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.9.4"></a>
v0.9.4 (2013-06-28)
# Bug Fixes
* **config:**
* make the config changes backwards compatible ([593ad853](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* better errors if file invalid or does not exist ([74b533be](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* allow parsing the config multiple times ([78a7094e](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **launcher:** better errors when loading launchers ([504e848c](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:**
* do not show duplicate warnings ([47c641f7](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* better errors when loading preprocessors ([3390a00b](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter:** better errors when loading reporters ([c645c060](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* **config:** pass the config object rather than a wrapper ([d2a3c854](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* please update your karma.conf.js as follows ([d2a3c854](https://github.com/karma-runner/karma/commit/<SHA1-like>)):
javascript
// before:
module.exports = function(karma) {
karma.configure({port: 123});
karma.defineLauncher('x', 'Chrome', {
flags: ['--<API key>']
});
karma.definePreprocessor('y', 'coffee', {
bare: false
});
karma.defineReporter('z', 'coverage', {
type: 'html'
});
};
// after:
module.exports = function(config) {
config.set({
port: 123,
customLaunchers: {
'x': {
base: 'Chrome',
flags: ['--<API key>']
}
},
customPreprocessors: {
'y': {
base: 'coffee',
bare: false
}
},
customReporters: {
'z': {
base: 'coverage',
type: 'html'
}
}
});
};
<a name="v0.9.3"></a>
v0.9.3 (2013-06-16)
# Bug Fixes
* capturing console.log on IE ([fa4b686a](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **config:** fix the warning when using old syntax ([5e55d797](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:** generate correct indentation ([5fc17957](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **launcher:**
* ignore exit code when killing/timeouting ([1029bf2d](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* handle ENOENT error, do not retry ([7d790b29](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **logger:** configure the logger as soon as possible ([0607d67c](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** use graceful-fs to prevent EACCESS errors ([279bcab5](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **watcher:** watch files that match watched directory ([39401175](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* simplify loading plugins using patterns like `karma-*` ([405a5a62](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **client:** capture all `console.*` log methods ([683e6dcb](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:**
* make socket.io transports configurable ([bbd5eb86](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* allow configurable launchers, preprocessors, reporters ([76bdac16](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* add warning if old constants are used ([7233c5fb](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* require config as a regular module ([a37fd6f7](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **helper:** improve useragent detection ([eb58768e](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:**
* generate coffee config files ([d2173717](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* improve the questions a bit ([baecadb2](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **proxy:** add https proxy support ([be878dc5](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* Update your karma.conf.js to export a config function ([a37fd6f7](https://github.com/karma-runner/karma/commit/<SHA1-like>)):
javascript
module.exports = function(karma) {
karma.configure({
autoWatch: true,
});
};
<a name="v0.9.2"></a>
v0.9.2 (2013-04-16)
# Bug Fixes
* better error reporting when loading plugins ([d9078a8e](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:**
* Separate ENOENT error handler from others ([e49dabe7](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* ensure basePath is always resolved ([2e5c5aaa](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* allow inlined plugins ([3034bcf9](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **debug:** show skipped specs and failure details in the console ([42ab936b](https://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.9.1"></a>
v0.9.1 (2013-04-04)
# Bug Fixes
* **init:** to not give false warning about missing requirejs ([562607a1](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* ship coffee-preprocessor and requirejs as default plugins ([f34e30db](https://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.9.0"></a>
## v0.9.0 (2013-04-03)
# Bug Fixes
* global error handler should propagate errors ([dec0c196](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **config:**
* Check if configFilePath is a string. Fixes
* do not change urlRoot even if proxied ([8c138b50](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **coverage:** always send a result object ([62c3c679](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **init:**
* generate plugins and frameworks config ([17798d55](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* fix for failing "testacular init" on Windows ([0b5b3853](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **preprocessor:** resolve relative patterns to basePath ([c608a9e5](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **runner:** send exit code as string ([ca75aafd](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* display the version when starting ([39617395](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* allow multiple preprocessors ([1d17c1aa](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* allow plugins ([125ab4f8](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:**
* always ignore the config file itself ([103bc0f8](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* normalize string preprocessors into an array ([4dde1608](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **web-server:** allow custom file handlers and mime types ([2df88287](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Breaking Changes
* reporters, launchers, preprocessors, adapters are separate plugins now, in order to use them, you need to install the npm package (probably add it as a `devDependency` into your `package.json`) and load in the `karma.conf.js` with `plugins = ['karma-jasmine', ...]`. Karma ships with couple of default plugins (karma-jasmine, <API key>, <API key>).
* frameworks (such as jasmine, mocha, qunit) are configured using `frameworks = ['jasmine'];` instead of prepending `JASMINE_ADAPTER` into files.
<a name="v0.8.0"></a>
## v0.8.0 (2013-03-18)
# Breaking Changes
* rename the project to "Karma":
- whenever you call the "testacular" binary, change it to "karma", eg. `testacular start` becomes `karma start`.
- if you rely on default name of the config file, change it to `karma.conf.js`.
- if you access `__testacular__` object in the client code, change it to `__karma__`, eg. `window.__testacular__.files` becomes `window.__karma__.files`. ([026a20f7](https://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.6.1"></a>
v0.6.1 (2013-03-18)
# Bug Fixes
* **config:** do not change urlRoot even if proxied ([1be1ae1d](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **coverage:** always send a result object ([2d210aa6](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **reporter.teamcity:** report spec names and proper browser name ([c8f6f5ea](https://github.com/karma-runner/karma/commit/<SHA1-like>))
<a name="v0.6.0"></a>
## v0.6.0 (2013-02-22)
<a name="v0.5.11"></a>
v0.5.11 (2013-02-21)
# Bug Fixes
* **adapter.requirejs:** do not configure baseUrl automatically ([63f3f409](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **init:** add missing browsers (Opera, IE) ([f39e5645](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter.junit:** Add browser log output to JUnit.xml ([f108799a](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
# Features
* add Teamcity reporter ([03e700ae](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **adapter.jasmine:** remove only last failed specs anti-feature ([435bf72c](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **config:** allow empty config file when called programmatically ([f3d77424](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
<a name="v0.5.10"></a>
v0.5.10 (2013-02-14)
# Bug Fixes
* **init:** fix the logger configuration ([481dc3fd](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **proxy:** fix crashing proxy when browser hangs connection ([1c78a01a](https://github.com/karma-runner/karma/commit/<SHA1-like>))
# Features
* set urlRoot to /__karma__/ when proxying the root ([8b4fd64d](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **adapter.requirejs:** normalize paths before appending timestamp ([94889e7d](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* update dependencies to the latest ([93f96278](https:
<a name="v0.5.9"></a>
v0.5.9 (2013-02-06)
# Bug Fixes
* **adapter.requirejs:** show error if no timestamp defined for a file ([59dbdbd1](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **init:** fix logger configuration ([557922d7](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter:** remove newline from base reporter browser dump ([dfae18b6](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
* **reporter.dots:** only add newline to message when needed ([dbe1155c](https://github.com/karma-runner/karma/commit/<SHA1-like>)
# Features
* add "debug" button to easily open debugging window ([da85aab9](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **config:** support running on a custom hostname ([b8c5fe85](https://github.com/karma-runner/karma/commit/<SHA1-like>))
* **reporter.junit:** add a 'skipped' tag for skipped testcases ([6286406e](https://github.com/karma-runner/karma/commit/<SHA1-like>), closes [
v0.5.8
* Fix #283
* Suppress global leak for istanbul
* Fix growl reporter to work with `testacular run`
* Upgrade jasmine to 1.3.1
* Fix file sorting
* Fix #265
* Support for more mime-types on served static files
* Fix opening Chrome on Windows
* Upgrade growly to 1.1.0
v0.5.7
* Support code coverage for qunit.
* Rename port-runner option in cli to runner-port
* Fix proxy handler (when no proxy defined)
* Fix
v0.5.6
* Growl reporter !
* Batch changes (eg. `git checkout` causes only single run now)
* Handle uncaught errors and disconnect all browsers
* Global binary prefers local versions
v0.5.5
* Add QUnit adapter
* Report console.log()
v0.5.4
* Fix PhantomJS launcher
* Fix html2js preprocessor
* NG scenario adapter: show html output
v0.5.3
* Add code coverage !
v0.5.2
* Init: ask about using Require.js
v0.5.1
* Support for Require.js
* Fix testacular init basePath
## v0.5.0
* Add preprocessor for LiveScript
* Fix JUnit reporter
* Enable process global in config file
* Add OS name in the browser name
* NG scenario adapter: hide other outputs to make it faster
* Allow config to be written in CoffeeScript
* Allow espaced characters in served urls
## v0.4.0 (stable)
v0.3.12
* Allow calling run() pragmatically from JS
v0.3.11
* Fix runner to wait for stdout, stderr
* Make routing proxy always changeOrigin
v0.3.10
* Fix angular-scenario adapter + junit reporter
* Use flash socket if web socket not available
v0.3.9
* Retry starting a browser if it does not capture
* Update mocha to 1.5.0
* Handle mocha's xit
v0.3.8
* Kill browsers that don't capture in captureTimeout ms
* Abort build if any browser fails to capture
* Allow multiple profiles of Firefox
v0.3.7
* Remove Travis hack
* Fix Safari launcher
v0.3.6
* Remove custom launcher (constructor)
* Launcher - use random id to allow multiple instances of the same browser
* Fix Firefox launcher (creating profile)
* Fix killing browsers on Linux and Windows
v0.3.5
* Fix opera launcher to create new prefs with disabling all pop-ups
v0.3.4
* Change "reporter" config to "reporters"
* Allow multiple reporters
* Fix angular-scenario adapter to report proper description
* Add JUnit xml reporter
* Fix loading files from multiple drives on Windows
* Fix angular-scenario adapter to report total number of tests
v0.3.3
* Allow proxying files, not only directories
v0.3.2
* Disable autoWatch if singleRun
* Add custom script browser launcher
* Fix cleaning temp folders
v0.3.1
* Run tests on start (if watching enabled)
* Add launcher for IE8, IE9
## v0.3.0
* Change browser binaries on linux to relative
* Add report-slower-than to CLI options
* Fix PhantomJS binary on Travis CI
## v0.2.0 (stable)
v0.1.3
* Launch Canary with crankshaft disabled
* Make the captured page nicer
v0.1.2
* Fix jasmine memory leaks
* support __filename and __dirname in config files
v0.1.1
* Report slow tests (add `reportSlowerThan` config option)
* Report time in minutes if it's over 60 seconds
* Mocha adapter: add ability to fail during beforeEach/afterEach hooks
* Mocha adapter: add dump()
* NG scenario adapter: failure includes step name
* Redirect /urlRoot to /urlRoot/
* Fix serving with urlRoot
## v0.1.0
* Adapter for AngularJS scenario runner
* Allow serving Testacular from a subpath
* Fix race condition in testacular run
* Make testacular one binary (remove `testacular-run`, use `testacular run`)
* Add support for proxies
* Init script for generating config files (`testacular init`)
* Start Firefox without custom profile if it fails
* Preserve order of watched paths for easier debugging
* Change default port to 9876
* Require node v0.8.4+
v0.0.17
* Fix race condition in manually triggered run
* Fix autoWatch config
v0.0.16
* Mocha adapter
* Fix watching/resolving on Windows
* Allow glob patterns
* Watch new files
* Watch removed files
* Remove unused config (autoWatchInterval)
v0.0.15
* Remove absolute paths from urls (fixes Windows issue with C:\\)
* Add browser launcher for PhantomJS
* Fix some more windows issues
v0.0.14
* Allow require() inside config file
* Allow custom browser launcher
* Add browser launcher for Opera, Safari
* Ignore signals on windows (not supported yet)
v0.0.13
* Single run mode (capture browsers, run tests, exit)
* Start browser automatically (chrome, canary, firefox)
* Allow loading external files (urls)
v0.0.12
* Allow console in config
* Warning if pattern does not match any file
v0.0.11
* Add timing (total / net - per specs)
* Dots reporter - wrap at 80
v0.0.10
* Add DOTS reporter
* Add no-colors option for reporters
* Fix web server to expose only specified files
v0.0.9
* Proper exit code for runner
* Dynamic port asigning (if port already in use)
* Add log-leve, log-colors cli arguments + better --help
* Fix some IE errors (indexOf, forEach fallbacks)
v0.0.8
* Allow overriding configuration by cli arguments (+ --version, --help)
* Persuade IE8 to not cache context.html
* Exit runner if no captured browser
* Fix delayed execution (streaming to runner)
* Complete run if browser disconnects
* Ignore results from previous run (after server reconnecting)
* Server disconnects - cancel execution, clear browser info
v0.0.7
* Rename to Testacular
v0.0.6
* Better debug mode (no caching, no timestamps)
* Make dump() a bit better
* Disconnect browsers on SIGTERM (kill, killall default)
v0.0.5
* Fix memory (some :-D) leaks
* Add dump support
* Add runner.html
v0.0.4
* Progress bar reporting
* Improve error formatting
* Add Jasmine lib (with iit, ddescribe)
* Reconnect client each 2sec, remove exponential growing
v0.0.3
* Jasmine adapter: ignore last failed filter in exclusive mode
* Jasmine adapter: add build (no global space pollution)
0.0.2
* Run only last failed tests (jasmine adapter)
0.0.1
* Initial version with only very basic features |
<?php namespace CleanSoft\Modules\Core\Services;
class FlashMessages
{
/**
* @var array
*/
protected $errorMessages = [];
protected $infoMessages = [];
protected $successMessages = [];
protected $warningMessages = [];
/**
* Set flash message
* @param $messages
* @param $type
*/
public function addMessages($messages, $type = null)
{
$model = 'infoMessages';
switch ($type) {
case 'error':
case 'danger':
$model = 'errorMessages';
break;
case 'success':
$model = 'successMessages';
break;
case 'warning':
$model = 'warningMessages';
break;
}
foreach ((array)$messages as $key => $value) {
array_push($this->$model, $value);
}
return $this;
}
/**
* Get flash messages
* @return array
*/
public function getMessages()
{
return [
'errorMessages' => $this->errorMessages,
'infoMessages' => $this->infoMessages,
'successMessages' => $this->successMessages,
'warningMessages' => $this->warningMessages,
];
}
/**
* Show all flash messages on session
*/
public function <API key>()
{
session()->flash('errorMessages', $this->errorMessages);
session()->flash('infoMessages', $this->infoMessages);
session()->flash('successMessages', $this->successMessages);
session()->flash('warningMessages', $this->warningMessages);
}
/**
* Unset flash messages
* @param string $type
* @return $this
*/
public function <API key>($type = 'infoMessages')
{
if (property_exists($this, $type)) {
$this->$type = [];
}
return $this;
}
/**
* Clear all messages
* @return $this
*/
public function clearMessages()
{
$this->errorMessages = [];
$this->infoMessages = [];
$this->successMessages = [];
$this->warningMessages = [];
return $this;
}
public function hasMessages()
{
return !!$this->errorMessages || !!$this->infoMessages || !!$this->infoMessages || !!$this->successMessages || false;
}
} |
layout: single
permalink: /contact/
title: "Contact"
excerpt: "Preferred methods of contacting me."
Have a question? Noticed an error or broken link? Improvement suggestion?
The best way to contact me is by sending me an [email](mailto:ecorbari@protonmail.com) or via [Linkedin](https: |
#include "linkserializer.h"
#include "linktyperepository.h"
namespace DMC {
namespace Internal {
// "link_type_id":"",
// "joint_move":999.99,
jsonxx::Object* LinkSerializer::Serialize(PDC::Link* link)
{
jsonxx::Object* linkJson = new jsonxx::Object();
*linkJson << "link_type_id" << link->GetLinkType()->GetId();
*linkJson << "joint_move" << link->GetJointMove();
return linkJson;
}
PDC::Link* LinkSerializer::Deserialize(jsonxx::Object* json)
{
std::string linkTypeId = json->get<jsonxx::String>("link_type_id");
double jointMove = json->get<jsonxx::Number>("joint_move");
PDC::LinkType* linkType = PDC::LinkTypeRepository::Get(linkTypeId);
PDC::Link* link = new PDC::Link(linkType);
link->SetJointMove(jointMove);
return link;
}
} // namespace Internal
} // namespace DMC |
<?php
namespace bunq\Model\Generated\Endpoint;
use bunq\Http\BunqResponse;
class <API key> extends BunqResponse
{
/**
* @return <API key>[]
*/
public function getValue(): array
{
return parent::getValue();
}
} |
//Declare a boolean variable called isFemale
//and assign an appropriate value corresponding
//to your gender.
using System;
class MaleOrFemale
{
static void Main()
{
bool isFemale = false;
Console.WriteLine(isFemale);
}
} |
var issuesListNodes = document.<API key>('issues-list');
var issuesList = issuesListNodes && issuesListNodes[0];
var issues = issuesList && issuesList.<API key>('<API key>');
var numPRs = issues && issues.length;
for (var i = 0; i < numPRs; ++i) {
var prIssue = issues[i].parentNode && issues[i].parentNode.parentNode;
if (prIssue) {
prIssue.style.display ='none';
}
}
//var listHeaderNodes = document.<API key>('issues-list-actions');
var listHeaderNodes = document.<API key>('js-buttons');
var listHeader = listHeaderNodes && listHeaderNodes[0];
var statusNode = document.createElement('a');
statusNode.setAttribute('href', './pulls');
statusNode.setAttribute('class', 'button minibutton');
statusNode.innerHTML = '' + numPRs + ' hidden PRs';
listHeader.appendChild(statusNode); |
<?php
namespace Ekyna\Component\Commerce\Common\Listener;
use Ekyna\Component\Commerce\Common\Model\NotificationTypes;
use Ekyna\Component\Commerce\Order\Model\<API key>;
use Ekyna\Component\Commerce\Shipment\Model\ShipmentStates;
/**
* Class <API key>
* @package Ekyna\Component\Commerce\Common\Listener
* @author Etienne Dauvergne <contact@ekyna.com>
*/
class <API key> extends <API key>
{
/**
* Post persist event handler.
*
* @param <API key> $shipment
*/
public function postPersist(<API key> $shipment)
{
$this->watch($shipment);
}
/**
* Post update event handler.
*
* @param <API key> $shipment
*/
public function postUpdate(<API key> $shipment)
{
$this->watch($shipment);
}
/**
* Shipment watcher.
*
* @param <API key> $shipment
*/
protected function watch(<API key> $shipment)
{
$order = $shipment->getOrder();
// Abort if notify disabled
if (!$order->isAutoNotify()) {
return;
}
$number = $shipment->getNumber();
if ($shipment->isReturn()) {
// If state is 'PENDING'
if ($shipment->getState() === ShipmentStates::STATE_PENDING) {
// Abort if shipment state has not changed for 'PENDING'
if (!$this->didStateChangeTo($shipment, ShipmentStates::STATE_PENDING)) {
return;
}
// Abort if sale has notification of type 'RETURN_PENDING' with same shipment number
if ($this->hasNotification($order, NotificationTypes::RETURN_PENDING, 'shipment', $number)) {
return;
}
$this->notify(NotificationTypes::RETURN_PENDING, $shipment);
return;
}
// Else if state has changed for 'RETURNED'
if ($shipment->getState() === ShipmentStates::STATE_RETURNED) {
// Abort if shipment state has not changed for 'RETURNED'
if (!$this->didStateChangeTo($shipment, ShipmentStates::STATE_RETURNED)) {
return;
}
// Abort if sale has notification of type 'RETURN_RECEIVED' with same shipment number
if ($this->hasNotification($order, NotificationTypes::RETURN_RECEIVED, 'shipment', $number)) {
return;
}
$this->notify(NotificationTypes::RETURN_RECEIVED, $shipment);
}
return;
}
// Abort if sale has notification of type 'SHIPMENT_READY' with same shipment number
if ($this->hasNotification($order, NotificationTypes::SHIPMENT_READY, 'shipment', $number)) {
return;
}
// If shipment is 'READY' (in store gateway)
if ($shipment->getState() === ShipmentStates::STATE_READY) {
// Abort if shipment state has not changed for 'READY'
if (!$this->didStateChangeTo($shipment, ShipmentStates::STATE_READY)) {
return;
}
$this->notify(NotificationTypes::SHIPMENT_READY, $shipment);
return;
}
// Abort if shipment state has not changed for 'SHIPPED'
if (!$this->didStateChangeTo($shipment, ShipmentStates::STATE_SHIPPED)) {
return;
}
// Abort if sale has notification of type 'SHIPMENT_SHIPPED' with same shipment number
if ($this->hasNotification($order, NotificationTypes::SHIPMENT_COMPLETE, 'shipment', $number)) {
return;
}
// Abort if sale has notification of type 'SHIPMENT_PARTIAL' with same shipment number
if ($this->hasNotification($order, NotificationTypes::SHIPMENT_PARTIAL, 'shipment', $number)) {
return;
}
$type = NotificationTypes::SHIPMENT_COMPLETE;
if ($order->getShipmentState() !== ShipmentStates::STATE_COMPLETED) {
$type = NotificationTypes::SHIPMENT_PARTIAL;
}
$this->notify($type, $shipment);
}
} |
package com.hemen.CMSC335.SCave;
import java.util.Comparator;
public class <API key> implements Comparator<GameObject> {
@Override
public int compare(GameObject t1, GameObject t2) {
if( ((Treasure) t1).getWeight() > ((Treasure) t2).getWeight() )
return 1;
else if( ((Treasure) t1).getWeight() < ((Treasure) t2).getWeight() )
return -1;
else
return 0;
}
} |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("<API key>", "mediapop.settings.local")
from django.core.management import <API key>
<API key>(sys.argv) |
import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
export declare class SeriesHorizontal implements OnChanges {
bars: any;
x: any;
y: any;
dims: any;
type: string;
series: any;
xScale: any;
yScale: any;
colors: any;
tooltipDisabled: boolean;
gradient: boolean;
activeEntries: any[];
seriesName: string;
tooltipTemplate: TemplateRef<any>;
roundEdges: boolean;
animations: boolean;
select: EventEmitter<{}>;
activate: EventEmitter<{}>;
deactivate: EventEmitter<{}>;
tooltipPlacement: string;
tooltipType: string;
ngOnChanges(changes: SimpleChanges): void;
update(): void;
<API key>(): void;
isActive(entry: any): boolean;
trackBy(index: any, bar: any): any;
click(data: any): void;
} |
'use strict';
var grunt = require('grunt');
exports.html2str = {
setUp: function(done) {
// setup here if necessary
done();
},
default_options: function(test) {
test.expect(1);
var actual = grunt.file.read('tmp/after.js');
var expected = grunt.file.read('test/expected/after.js');
test.equal(actual, expected, 'should describe what the default behavior is.');
test.done();
}
}; |
'use strict';
/* jshint ignore:start */
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
/* jshint ignore:end */
var Q = require('q'); /* jshint ignore:line */
var _ = require('lodash'); /* jshint ignore:line */
var Page = require('../../../base/Page'); /* jshint ignore:line */
var values = require('../../../base/values'); /* jshint ignore:line */
var FormList;
var FormPage;
var FormInstance;
var FormContext;
/* jshint ignore:start */
/**
* @description Initialize the FormList
* PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
*
* @param {Twilio.Authy.V1} version - Version of the resource
*/
/* jshint ignore:end */
FormList = function FormList(version) {
/* jshint ignore:start */
/**
* @param {string} sid - sid of instance
*
* @returns {Twilio.Authy.V1.FormContext}
*/
/* jshint ignore:end */
function FormListInstance(sid) {
return FormListInstance.get(sid);
}
FormListInstance._version = version;
// Path Solution
FormListInstance._solution = {};
/* jshint ignore:start */
/**
* Constructs a form
*
* @param {string} formType - The Form Type of this Form
*
* @returns {Twilio.Authy.V1.FormContext}
*/
/* jshint ignore:end */
FormListInstance.get = function get(formType) {
return new FormContext(this._version, formType);
};
return FormListInstance;
};
/* jshint ignore:start */
/**
* Initialize the FormPagePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
*
* @param {V1} version - Version of the resource
* @param {Response<string>} response - Response from the API
* @param {FormSolution} solution - Path solution
*
* @returns FormPage
*/
/* jshint ignore:end */
FormPage = function FormPage(version, response, solution) {
// Path Solution
this._solution = solution;
Page.prototype.constructor.call(this, version, response, this._solution);
};
_.extend(FormPage.prototype, Page.prototype);
FormPage.prototype.constructor = FormPage;
/* jshint ignore:start */
/**
* Build an instance of FormInstance
*
* @param {FormPayload} payload - Payload response from the API
*
* @returns FormInstance
*/
/* jshint ignore:end */
FormPage.prototype.getInstance = function getInstance(payload) {
return new FormInstance(this._version, payload);
};
/* jshint ignore:start */
/**
* Initialize the FormContextPLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
*
* @property {form.form_type} formType - The Form Type of this Form
* @property {string} forms -
* Object that contains the available forms for this form type.
* @property {string} formMeta -
* Additional information for the available forms for this form type.
* @property {string} url - The URL to access the forms for this form type.
*
* @param {V1} version - Version of the resource
* @param {FormPayload} payload - The instance payload
* @param {form:enum:form_type} formType - The Form Type of this Form
*/
/* jshint ignore:end */
FormInstance = function FormInstance(version, payload, formType) {
this._version = version;
// Marshaled Properties
this.formType = payload.form_type; // jshint ignore:line
this.forms = payload.forms; // jshint ignore:line
this.formMeta = payload.form_meta; // jshint ignore:line
this.url = payload.url; // jshint ignore:line
// Context
this._context = undefined;
this._solution = {formType: formType || this.formType, };
};
Object.defineProperty(FormInstance.prototype,
'_proxy', {
get: function() {
if (!this._context) {
this._context = new FormContext(this._version, this._solution.formType);
}
return this._context;
}
});
/* jshint ignore:start */
/**
* fetch a FormInstance
*
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed FormInstance
*/
/* jshint ignore:end */
FormInstance.prototype.fetch = function fetch(callback) {
return this._proxy.fetch(callback);
};
/* jshint ignore:start */
/**
* Produce a plain JSON object version of the FormInstance for serialization.
* Removes any circular references in the object.
*
* @returns Object
*/
/* jshint ignore:end */
FormInstance.prototype.toJSON = function toJSON() {
let clone = {};
_.forOwn(this, function(value, key) {
if (!_.startsWith(key, '_') && ! _.isFunction(value)) {
clone[key] = value;
}
});
return clone;
};
/* jshint ignore:start */
/**
* Initialize the FormContextPLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
*
* @param {V1} version - Version of the resource
* @param {form:enum:form_type} formType - The Form Type of this Form
*/
/* jshint ignore:end */
FormContext = function FormContext(version, formType) {
this._version = version;
// Path Solution
this._solution = {formType: formType, };
this._uri = _.template(
'/Forms/<%= formType %>' // jshint ignore:line
)(this._solution);
};
/* jshint ignore:start */
/**
* fetch a FormInstance
*
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed FormInstance
*/
/* jshint ignore:end */
FormContext.prototype.fetch = function fetch(callback) {
var deferred = Q.defer();
var promise = this._version.fetch({uri: this._uri, method: 'GET'});
promise = promise.then(function(payload) {
deferred.resolve(new FormInstance(this._version, payload, this._solution.formType));
}.bind(this));
promise.catch(function(error) {
deferred.reject(error);
});
if (_.isFunction(callback)) {
deferred.promise.nodeify(callback);
}
return deferred.promise;
};
module.exports = {
FormList: FormList,
FormPage: FormPage,
FormInstance: FormInstance,
FormContext: FormContext
}; |
from djoser.conf import settings
__all__ = ['settings']
def get_user_email(user):
email_field_name = <API key>(user)
return getattr(user, email_field_name, None)
def <API key>(user):
return user.<API key>() |
package com.editize.editorkit;
import java.beans.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
/**
* An ArticleTextAction that is specialized for use in a text editor's toolbar.
* <p>
* When linked to a JEditorPane, this Action maintains a boolean property based
* on the caret location. The intention being that a ToggleButton in a toolbar
* can monitor that property as a PropertyListener and therefore display the state
* of the property at the cursor.
*
* @author Kevin Yank
*/
public abstract class <API key> extends EditizeTextAction
implements CaretListener, DocumentListener, <API key>
{
private JEditorPane assignedEditor = null;
private Document assignedDoc = null;
private boolean state = false;
public <API key>(String name)
{
super(name);
}
public <API key>(String name, JEditorPane editor)
{
super(name);
setAssignedEditor(editor);
}
protected final JEditorPane getAssignedEditor(ActionEvent e)
{
if (assignedEditor != null) return assignedEditor;
return super.getEditor(e);
}
public JEditorPane getAssignedEditor()
{
return assignedEditor;
}
public void setAssignedEditor(JEditorPane editor)
{
Object oldValue = assignedEditor;
if (assignedEditor != null)
{
assignedEditor.removeCaretListener(this);
assignedEditor.<API key>(this);
assignedDoc.<API key>(this);
}
assignedEditor = editor;
assignedDoc = editor.getDocument();
editor.addCaretListener(this);
editor.<API key>(this);
assignedDoc.addDocumentListener(this);
// Obtain the initial state
caretUpdate(
new CaretEvent(editor)
{
Caret caret;
public int getDot() { return ((JEditorPane)getSource()).getCaret().getDot(); }
public int getMark() { return ((JEditorPane)getSource()).getCaret().getMark(); }
}
);
firePropertyChange("assignedEditor",oldValue,editor);
}
/**
* Should be called whenever the state changes at least. Typically the
* calling functions will be the concrete implementations of actionPerformed
* and caretUpdate.
*
* @param newState
*/
protected void setState(boolean newState)
{
boolean oldState = state;
state = newState;
if (newState != oldState) firePropertyChange("state",new Boolean(oldState),new Boolean(newState));
}
public boolean getState()
{
return state;
}
/**
* Updates the state based on CaretEvents from the assigned editor.
*
* @param evt
*/
public final void caretUpdate(CaretEvent evt)
{
setState(<API key>(evt));
}
/**
* Insert updates are accompanied by CaretUpdates, so we don't need
* to react to them to maintain the state.
*
* @param evt
*/
public void insertUpdate(DocumentEvent evt) {}
/**
* Remove updates are accompanied by CaretUpdates, so we don't need
* to react to them to maintain the state.
*
* @param evt
*/
public void removeUpdate(DocumentEvent evt) {}
/**
* Updates the state based on DocumentEvents from the assigned editor.
*
* @param evt
*/
public void changedUpdate(DocumentEvent evt)
{
setState(<API key>(evt));
}
public abstract boolean <API key>(DocumentEvent e);
public abstract boolean <API key>(CaretEvent e);
/**
* Ensures that we're always listening to changes from the assigned
* editor's document.
* @param evt
*/
public void propertyChange(PropertyChangeEvent evt)
{
if (evt.getPropertyName().equals("document") &&
evt.getSource() == getAssignedEditor())
{
assignedDoc.<API key>(this);
assignedDoc = getAssignedEditor().getDocument();
assignedDoc.addDocumentListener(this);
}
}
} |
<?php
declare(strict_types=1);
namespace WTG\Http\Controllers\Admin\Api\Companies;
use Exception;
use Illuminate\Database\DatabaseManager;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Log\LogManager;
use Symfony\Component\HttpFoundation\Response;
use Throwable;
use WTG\Http\Controllers\Controller;
use WTG\Models\Company;
/**
* Admin API cancel delete company controller.
*
* @author Thomas Wiringa <thomas.wiringa@gmail.com>
*/
class <API key> extends Controller
{
/**
* @var Request
*/
protected Request $request;
/**
* @var LogManager
*/
protected LogManager $logManager;
/**
* @var DatabaseManager
*/
protected DatabaseManager $databaseManager;
/**
* RemoveController constructor.
*
* @param Request $request
* @param LogManager $logManager
* @param DatabaseManager $databaseManager
*/
public function __construct(Request $request, LogManager $logManager, DatabaseManager $databaseManager)
{
$this->request = $request;
$this->logManager = $logManager;
$this->databaseManager = $databaseManager;
}
/**
* @return JsonResponse
* @throws Exception
*/
public function execute(): Response
{
try {
$this->databaseManager->beginTransaction();
$company = Company::with('customers')
->onlyTrashed()
->where('id', $this->request->input('id'))
->first();
$company->restore();
$this->databaseManager->commit();
} catch (Throwable $e) {
$this->databaseManager->rollBack();
$this->logManager->error($e);
return response()->json(
[
'message' => $e->getMessage(),
'success' => false,
]
);
}
return response()->json(
[
'message' => __('Het bedrijf is teruggezet.'),
'success' => true,
]
);
}
} |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Page Not Found – Byteloot</title>
<meta name="description" content="Page not found. Your pixels are in another canvas.">
<meta name="keywords" content="">
<!-- Twitter Cards -->
<meta name="twitter:title" content="Page Not Found">
<meta name="<TwitterConsumerkey>" content="Page not found. Your pixels are in another canvas.">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="/images/default-thumb.png">
<!-- Open Graph -->
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="Page Not Found">
<meta property="og:description" content="Page not found. Your pixels are in another canvas.">
<meta property="og:url" content="/404.html">
<meta property="og:site_name" content="Byteloot">
<link rel="canonical" href="/404.html">
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="Byteloot Feed">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- For all browsers -->
<link rel="stylesheet" href="/assets/css/main.css">
<meta http-equiv="cleartype" content="on">
<!-- HTML5 Shiv and Media Query Support -->
<!--[if lt IE 9]>
<script src="/assets/js/vendor/html5shiv.min.js"></script>
<script src="/assets/js/vendor/respond.min.js"></script>
<![endif]
<!-- Modernizr -->
<script src="/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script>
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="/favicon.ico">
<!-- 32x32 -->
<link rel="shortcut icon" href="/favicon.png">
<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
<link rel="<API key>" href="/images/<API key>.png">
<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
<link rel="<API key>" sizes="72x72" href="/images/<API key>.png">
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
<link rel="<API key>" sizes="114x114" href="/images/<API key>.png">
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
<link rel="<API key>" sizes="144x144" href="/images/<API key>.png">
</head>
<body class="page">
<div class="navigation-wrapper">
<div class="site-name">
<a href="/">Byteloot</a>
</div><!-- /.site-name -->
<div class="top-navigation">
<nav role="navigation" id="site-nav" class="nav">
<ul>
<li><a href="/games/" >Games</a></li>
<li><a href="/posts/" >Blog</a></li>
<li><a href="/about/" >About</a></li>
</ul>
</nav>
</div><!-- /.top-navigation -->
</div><!-- /.navigation-wrapper -->
<div id="main" role="main">
<div class="article-author-side">
<div itemscope itemtype="http://schema.org/Person">
<img src="/images/bio-photo.jpg" class="bio-photo" alt="Art Shmatkov bio photo">
<h3 itemprop="name">Art Shmatkov</h3>
<p></p>
</div>
</div>
<article class="page">
<h1>Page Not Found</h1>
<div class="article-wrap">
<p>Sorry, but the page you were trying to view does not exist — perhaps you can try searching for it below.</p>
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = ''
</script>
<script type="text/javascript" src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script>
<hr />
<div class="social-share">
<h4>Share on</h4>
<ul>
<li>
<a href="https://twitter.com/intent/tweet?text=/404.html" class="twitter" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a>
</li>
<li>
<a href="https:
</li>
<li>
<a href="https://plus.google.com/share?url=/404.html" class="google-plus" title="Share on Google Plus"><i class="fa fa-google-plus"></i><span> Google+</span></a>
</li>
</ul>
</div><!-- /.social-share -->
</div><!-- /.article-wrap -->
</article>
</div><!-- /#index -->
<div class="footer-wrap">
<footer>
<span>© 2015 Art Shmatkov. Powered by <a href="http:
</footer>
</div><!-- /.footer-wrap -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="/assets/js/scripts.min.js"></script>
</body>
</html> |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About canadacoin</source>
<translation>Über canadacoin</translation>
</message>
<message>
<location line="+39"/>
<source><b>canadacoin</b> version</source>
<translation><b>canadacoin</b>-Version</translation>
</message>
<message>
<location line="+57"/>
<source>
This is experimental software.
Distributed under the MIT/X11 software license, see the accompanying file COPYING or http:
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http:
<translation>
Dies ist experimentelle Software.
Veröffentlicht unter der MIT/X11-Softwarelizenz, siehe beiligende Datei COPYING oder http:
Dieses Produkt enthält Software, die vom OpenSSL-Projekt zur Verwendung im OpenSSL-Toolkit (http:
</message>
<message>
<location filename="../aboutdialog.cpp" line="+14"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location line="+0"/>
<source>The canadacoin developers</source>
<translation>Die <API key></translation>
</message>
</context>
<context>
<name>AddressBookPage</name>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>Address Book</source>
<translation>Adressbuch</translation>
</message>
<message>
<location line="+19"/>
<source>Double-click to edit address or label</source>
<translation>Doppelklicken, um die Adresse oder die Bezeichnung zu bearbeiten</translation>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation>Eine neue Adresse erstellen</translation>
</message>
<message>
<location line="+14"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation>Ausgewählte Adresse in die Zwischenablage kopieren</translation>
</message>
<message>
<location line="-11"/>
<source>&New Address</source>
<translation>&Neue Adresse</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+63"/>
<source>These are your canadacoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.</source>
<translation>Dies sind Ihre canadacoin-Adressen zum Empfangen von Zahlungen. Es steht Ihnen frei, jedem Absender eine Andere mitzuteilen, um einen besseren Überblick über eingehende Zahlungen zu erhalten.</translation>
</message>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>&Copy Address</source>
<translation>Adresse &kopieren</translation>
</message>
<message>
<location line="+11"/>
<source>Show &QR Code</source>
<translation>&QR-Code anzeigen</translation>
</message>
<message>
<location line="+11"/>
<source>Sign a message to prove you own a canadacoin address</source>
<translation>Eine Nachricht signieren, um den Besitz einer canadacoin-Adresse zu beweisen</translation>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation>Nachricht &signieren</translation>
</message>
<message>
<location line="+25"/>
<source>Delete the currently selected address from the list</source>
<translation>Die ausgewählte Adresse aus der Liste entfernen.</translation>
</message>
<message>
<location line="+27"/>
<source>Export the data in the current tab to a file</source>
<translation>Daten der aktuellen Ansicht in eine Datei exportieren</translation>
</message>
<message>
<location line="+3"/>
<source>&Export</source>
<translation>E&xportieren</translation>
</message>
<message>
<location line="-44"/>
<source>Verify a message to ensure it was signed with a specified canadacoin address</source>
<translation>Eine Nachricht verifizieren, um sicherzustellen, dass diese mit einer angegebenen canadacoin-Adresse signiert wurde</translation>
</message>
<message>
<location line="+3"/>
<source>&Verify Message</source>
<translation>Nachricht &verifizieren</translation>
</message>
<message>
<location line="+14"/>
<source>&Delete</source>
<translation>&Löschen</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="-5"/>
<source>These are your canadacoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation>Dies sind Ihre canadacoin-Adressen zum Tätigen von Überweisungen. Bitte prüfen Sie den Betrag und die Empfangsadresse, bevor Sie canadacoins überweisen.</translation>
</message>
<message>
<location line="+13"/>
<source>Copy &Label</source>
<translation>&Bezeichnung kopieren</translation>
</message>
<message>
<location line="+1"/>
<source>&Edit</source>
<translation>&Editieren</translation>
</message>
<message>
<location line="+1"/>
<source>Send &Coins</source>
<translation>canadacoins &überweisen</translation>
</message>
<message>
<location line="+260"/>
<source>Export Address Book Data</source>
<translation>Adressbuch exportieren</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation><API key> (*.csv)</translation>
</message>
<message>
<location line="+13"/>
<source>Error exporting</source>
<translation>Fehler beim Exportieren</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Konnte nicht in Datei %1 schreiben.</translation>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<location filename="../addresstablemodel.cpp" line="+144"/>
<source>Label</source>
<translation>Bezeichnung</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Adresse</translation>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation>(keine Bezeichnung)</translation>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<location filename="../forms/askpassphrasedialog.ui" line="+26"/>
<source>Passphrase Dialog</source>
<translation>Passphrasendialog</translation>
</message>
<message>
<location line="+21"/>
<source>Enter passphrase</source>
<translation>Passphrase eingeben</translation>
</message>
<message>
<location line="+14"/>
<source>New passphrase</source>
<translation>Neue Passphrase</translation>
</message>
<message>
<location line="+14"/>
<source>Repeat new passphrase</source>
<translation>Neue Passphrase wiederholen</translation>
</message>
<message>
<location filename="../askpassphrasedialog.cpp" line="+33"/>
<source>Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>.</source>
<translation>Geben Sie die neue Passphrase für die Brieftasche ein.<br>Bitte benutzen Sie eine Passphrase bestehend aus <b>10 oder mehr zufälligen Zeichen</b> oder <b>8 oder mehr Wörtern</b>.</translation>
</message>
<message>
<location line="+1"/>
<source>Encrypt wallet</source>
<translation>Brieftasche verschlüsseln</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation>Dieser Vorgang benötigt Ihre Passphrase, um die Brieftasche zu entsperren.</translation>
</message>
<message>
<location line="+5"/>
<source>Unlock wallet</source>
<translation>Brieftasche entsperren</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation>Dieser Vorgang benötigt Ihre Passphrase, um die Brieftasche zu entschlüsseln.</translation>
</message>
<message>
<location line="+5"/>
<source>Decrypt wallet</source>
<translation>Brieftasche entschlüsseln</translation>
</message>
<message>
<location line="+3"/>
<source>Change passphrase</source>
<translation>Passphrase ändern</translation>
</message>
<message>
<location line="+1"/>
<source>Enter the old and new passphrase to the wallet.</source>
<translation>Geben Sie die alte und neue Passphrase der Brieftasche ein.</translation>
</message>
<message>
<location line="+46"/>
<source>Confirm wallet encryption</source>
<translation>Verschlüsselung der Brieftasche bestätigen</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR canadacoinS</b>!</source>
<translation>Warnung: Wenn Sie Ihre Brieftasche verschlüsseln und Ihre Passphrase verlieren, werden Sie <b>alle Ihre canadacoins verlieren</b>!</translation>
</message>
<message>
<location line="+0"/>
<source>Are you sure you wish to encrypt your wallet?</source>
<translation>Sind Sie sich sicher, dass Sie Ihre Brieftasche verschlüsseln möchten?</translation>
</message>
<message>
<location line="+15"/>
<source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source>
<translation>WICHTIG: Alle vorherigen Sicherungen Ihrer Brieftasche sollten durch die neu erzeugte, verschlüsselte Brieftasche ersetzt werden. Aus Sicherheitsgründen werden vorherige Sicherungen der unverschlüsselten Brieftasche nutzlos, sobald Sie die neue, verschlüsselte Brieftasche verwenden.</translation>
</message>
<message>
<location line="+100"/>
<location line="+24"/>
<source>Warning: The Caps Lock key is on!</source>
<translation>Warnung: Die Feststelltaste ist aktiviert!</translation>
</message>
<message>
<location line="-130"/>
<location line="+58"/>
<source>Wallet encrypted</source>
<translation>Brieftasche verschlüsselt</translation>
</message>
<message>
<location line="-56"/>
<source>canadacoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your canadacoins from being stolen by malware infecting your computer.</source>
<translation>canadacoin wird jetzt beendet, um den Verschlüsselungsprozess abzuschließen. Bitte beachten Sie, dass die Verschlüsselung Ihrer Brieftasche nicht vollständig vor Diebstahl Ihrer canadacoins durch Schadsoftware schützt, die Ihren Computer befällt.</translation>
</message>
<message>
<location line="+13"/>
<location line="+7"/>
<location line="+42"/>
<location line="+6"/>
<source>Wallet encryption failed</source>
<translation>Verschlüsselung der Brieftasche fehlgeschlagen</translation>
</message>
<message>
<location line="-54"/>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation>Die Verschlüsselung der Brieftasche ist aufgrund eines internen Fehlers fehlgeschlagen. Ihre Brieftasche wurde nicht verschlüsselt.</translation>
</message>
<message>
<location line="+7"/>
<location line="+48"/>
<source>The supplied passphrases do not match.</source>
<translation>Die eingegebenen Passphrasen stimmen nicht überein.</translation>
</message>
<message>
<location line="-37"/>
<source>Wallet unlock failed</source>
<translation>Entsperrung der Brieftasche fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<location line="+11"/>
<location line="+19"/>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation>Die eingegebene Passphrase zum Entschlüsseln der Brieftasche war nicht korrekt.</translation>
</message>
<message>
<location line="-20"/>
<source>Wallet decryption failed</source>
<translation>Entschlüsselung der Brieftasche fehlgeschlagen</translation>
</message>
<message>
<location line="+14"/>
<source>Wallet passphrase was successfully changed.</source>
<translation>Die Passphrase der Brieftasche wurde erfolgreich geändert.</translation>
</message>
</context>
<context>
<name>BitcoinGUI</name>
<message>
<location filename="../bitcoingui.cpp" line="+233"/>
<source>Sign &message...</source>
<translation>Nachricht s&ignieren...</translation>
</message>
<message>
<location line="+280"/>
<source>Synchronizing with network...</source>
<translation>Synchronisiere mit Netzwerk...</translation>
</message>
<message>
<location line="-349"/>
<source>&Overview</source>
<translation>&Übersicht</translation>
</message>
<message>
<location line="+1"/>
<source>Show general overview of wallet</source>
<translation>Allgemeine Übersicht der Brieftasche anzeigen</translation>
</message>
<message>
<location line="+20"/>
<source>&Transactions</source>
<translation>&Transaktionen</translation>
</message>
<message>
<location line="+1"/>
<source>Browse transaction history</source>
<translation>Transaktionsverlauf durchsehen</translation>
</message>
<message>
<location line="+7"/>
<source>Edit the list of stored addresses and labels for sending</source>
<translation>Liste der gespeicherten Zahlungsadressen und Bezeichnungen bearbeiten</translation>
</message>
<message>
<location line="-14"/>
<source>Show the list of addresses for receiving payments</source>
<translation>Liste der Empfangsadressen anzeigen</translation>
</message>
<message>
<location line="+31"/>
<source>E&xit</source>
<translation>&Beenden</translation>
</message>
<message>
<location line="+1"/>
<source>Quit application</source>
<translation>Anwendung beenden</translation>
</message>
<message>
<location line="+4"/>
<source>Show information about canadacoin</source>
<translation>Informationen über canadacoin anzeigen</translation>
</message>
<message>
<location line="+2"/>
<source>About &Qt</source>
<translation>Über &Qt</translation>
</message>
<message>
<location line="+1"/>
<source>Show information about Qt</source>
<translation>Informationen über Qt anzeigen</translation>
</message>
<message>
<location line="+2"/>
<source>&Options...</source>
<translation>&Konfiguration...</translation>
</message>
<message>
<location line="+6"/>
<source>&Encrypt Wallet...</source>
<translation>Brieftasche &verschlüsseln...</translation>
</message>
<message>
<location line="+3"/>
<source>&Backup Wallet...</source>
<translation>Brieftasche &sichern...</translation>
</message>
<message>
<location line="+2"/>
<source>&Change Passphrase...</source>
<translation>Passphrase &ändern...</translation>
</message>
<message>
<location line="+285"/>
<source>Importing blocks from disk...</source>
<translation>Importiere Blöcke von Laufwerk...</translation>
</message>
<message>
<location line="+3"/>
<source>Reindexing blocks on disk...</source>
<translation>Reindiziere Blöcke auf Laufwerk...</translation>
</message>
<message>
<location line="-347"/>
<source>Send coins to a canadacoin address</source>
<translation>canadacoins an eine canadacoin-Adresse überweisen</translation>
</message>
<message>
<location line="+49"/>
<source>Modify configuration options for canadacoin</source>
<translation>Die Konfiguration des Clients bearbeiten</translation>
</message>
<message>
<location line="+9"/>
<source>Backup wallet to another location</source>
<translation>Eine Sicherungskopie der Brieftasche erstellen und abspeichern</translation>
</message>
<message>
<location line="+2"/>
<source>Change the passphrase used for wallet encryption</source>
<translation>Ändert die Passphrase, die für die Verschlüsselung der Brieftasche benutzt wird</translation>
</message>
<message>
<location line="+6"/>
<source>&Debug window</source>
<translation>&Debugfenster</translation>
</message>
<message>
<location line="+1"/>
<source>Open debugging and diagnostic console</source>
<translation>Debugging- und Diagnosekonsole öffnen</translation>
</message>
<message>
<location line="-4"/>
<source>&Verify message...</source>
<translation>Nachricht &verifizieren...</translation>
</message>
<message>
<location line="-165"/>
<location line="+530"/>
<source>canadacoin</source>
<translation>canadacoin</translation>
</message>
<message>
<location line="-530"/>
<source>Wallet</source>
<translation>Brieftasche</translation>
</message>
<message>
<location line="+101"/>
<source>&Send</source>
<translation>Überweisen</translation>
</message>
<message>
<location line="+7"/>
<source>&Receive</source>
<translation>&Empfangen</translation>
</message>
<message>
<location line="+14"/>
<source>&Addresses</source>
<translation>&Adressen</translation>
</message>
<message>
<location line="+22"/>
<source>&About canadacoin</source>
<translation>&Über canadacoin</translation>
</message>
<message>
<location line="+9"/>
<source>&Show / Hide</source>
<translation>&Anzeigen / Verstecken</translation>
</message>
<message>
<location line="+1"/>
<source>Show or hide the main Window</source>
<translation>Das Hauptfenster anzeigen oder verstecken</translation>
</message>
<message>
<location line="+3"/>
<source>Encrypt the private keys that belong to your wallet</source>
<translation>Verschlüsselt die zu Ihrer Brieftasche gehörenden privaten Schlüssel</translation>
</message>
<message>
<location line="+7"/>
<source>Sign messages with your canadacoin addresses to prove you own them</source>
<translation>Nachrichten signieren, um den Besitz Ihrer canadacoin-Adressen zu beweisen</translation>
</message>
<message>
<location line="+2"/>
<source>Verify messages to ensure they were signed with specified canadacoin addresses</source>
<translation>Nachrichten verifizieren, um sicherzustellen, dass diese mit den angegebenen canadacoin-Adressen signiert wurden</translation>
</message>
<message>
<location line="+28"/>
<source>&File</source>
<translation>&Datei</translation>
</message>
<message>
<location line="+7"/>
<source>&Settings</source>
<translation>&Einstellungen</translation>
</message>
<message>
<location line="+6"/>
<source>&Help</source>
<translation>&Hilfe</translation>
</message>
<message>
<location line="+9"/>
<source>Tabs toolbar</source>
<translation><API key></translation>
</message>
<message>
<location line="+17"/>
<location line="+10"/>
<source>[testnet]</source>
<translation>[Testnetz]</translation>
</message>
<message>
<location line="+47"/>
<source>canadacoin client</source>
<translation>canadacoin-Client</translation>
</message>
<message numerus="yes">
<location line="+141"/>
<source>%n active connection(s) to canadacoin network</source>
<translation><numerusform>%n aktive Verbindung zum canadacoin-Netzwerk</numerusform><numerusform>%n aktive Verbindungen zum canadacoin-Netzwerk</numerusform></translation>
</message>
<message>
<location line="+22"/>
<source>No block source available...</source>
<translation>Keine Blockquelle verfügbar...</translation>
</message>
<message>
<location line="+12"/>
<source>Processed %1 of %2 (estimated) blocks of transaction history.</source>
<translation>%1 von (geschätzten) %2 Blöcken des <API key> verarbeitet.</translation>
</message>
<message>
<location line="+4"/>
<source>Processed %1 blocks of transaction history.</source>
<translation>%1 Blöcke des <API key> verarbeitet.</translation>
</message>
<message numerus="yes">
<location line="+20"/>
<source>%n hour(s)</source>
<translation><numerusform>%n Stunde</numerusform><numerusform>%n Stunden</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s)</source>
<translation><numerusform>%n Tag</numerusform><numerusform>%n Tage</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n week(s)</source>
<translation><numerusform>%n Woche</numerusform><numerusform>%n Wochen</numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>%1 behind</source>
<translation>%1 im Rückstand</translation>
</message>
<message>
<location line="+14"/>
<source>Last received block was generated %1 ago.</source>
<translation>Der letzte empfangene Block ist %1 alt.</translation>
</message>
<message>
<location line="+2"/>
<source>Transactions after this will not yet be visible.</source>
<translation>Transaktionen hiernach werden noch nicht angezeigt.</translation>
</message>
<message>
<location line="+22"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
<location line="+3"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
<location line="+3"/>
<source>Information</source>
<translation>Hinweis</translation>
</message>
<message>
<location line="+70"/>
<source>This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?</source>
<translation>Die Transaktion übersteigt das Größenlimit. Sie können sie trotzdem senden, wenn Sie eine zusätzliche Transaktionsgebühr in Höhe von %1 zahlen. Diese wird an die Knoten verteilt, die Ihre Transaktion bearbeiten und unterstützt damit das canadacoin-Netzwerk. Möchten Sie die Gebühr bezahlen?</translation>
</message>
<message>
<location line="-140"/>
<source>Up to date</source>
<translation>Auf aktuellem Stand</translation>
</message>
<message>
<location line="+31"/>
<source>Catching up...</source>
<translation>Hole auf...</translation>
</message>
<message>
<location line="+113"/>
<source>Confirm transaction fee</source>
<translation>Transaktionsgebühr bestätigen</translation>
</message>
<message>
<location line="+8"/>
<source>Sent transaction</source>
<translation>Gesendete Transaktion</translation>
</message>
<message>
<location line="+0"/>
<source>Incoming transaction</source>
<translation>Eingehende Transaktion</translation>
</message>
<message>
<location line="+1"/>
<source>Date: %1
Amount: %2
Type: %3
Address: %4
</source>
<translation>Datum: %1
Betrag: %2
Typ: %3
Adresse: %4</translation>
</message>
<message>
<location line="+33"/>
<location line="+23"/>
<source>URI handling</source>
<translation>URI Verarbeitung</translation>
</message>
<message>
<location line="-23"/>
<location line="+23"/>
<source>URI can not be parsed! This can be caused by an invalid canadacoin address or malformed URI parameters.</source>
<translation>URI kann nicht analysiert werden! Dies kann durch eine ungültige canadacoin-Adresse oder fehlerhafte URI-Parameter verursacht werden.</translation>
</message>
<message>
<location line="+17"/>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation>Brieftasche ist <b>verschlüsselt</b> und aktuell <b>entsperrt</b></translation>
</message>
<message>
<location line="+8"/>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation>Brieftasche ist <b>verschlüsselt</b> und aktuell <b>gesperrt</b></translation>
</message>
<message>
<location filename="../bitcoin.cpp" line="+111"/>
<source>A fatal error occurred. canadacoin can no longer continue safely and will quit.</source>
<translation>Ein schwerer Fehler ist aufgetreten. canadacoin kann nicht stabil weiter ausgeführt werden und wird beendet.</translation>
</message>
</context>
<context>
<name>ClientModel</name>
<message>
<location filename="../clientmodel.cpp" line="+104"/>
<source>Network Alert</source>
<translation>Netzwerkalarm</translation>
</message>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation>Adresse bearbeiten</translation>
</message>
<message>
<location line="+11"/>
<source>&Label</source>
<translation>&Bezeichnung</translation>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation>Die Bezeichnung dieses Adressbuchseintrags</translation>
</message>
<message>
<location line="+7"/>
<source>&Address</source>
<translation>&Adresse</translation>
</message>
<message>
<location line="+10"/>
<source>The address associated with this address book entry. This can only be modified for sending addresses.</source>
<translation>Die Adresse des Adressbucheintrags. Diese kann nur für Zahlungsadressen bearbeitet werden.</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+21"/>
<source>New receiving address</source>
<translation>Neue Empfangsadresse</translation>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation>Neue Zahlungsadresse</translation>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation>Empfangsadresse bearbeiten</translation>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation>Zahlungsadresse bearbeiten</translation>
</message>
<message>
<location line="+76"/>
<source>The entered address "%1" is already in the address book.</source>
<translation>Die eingegebene Adresse "%1" befindet sich bereits im Adressbuch.</translation>
</message>
<message>
<location line="-5"/>
<source>The entered address "%1" is not a valid canadacoin address.</source>
<translation>Die eingegebene Adresse "%1" ist keine gültige canadacoin-Adresse.</translation>
</message>
<message>
<location line="+10"/>
<source>Could not unlock wallet.</source>
<translation>Die Brieftasche konnte nicht entsperrt werden.</translation>
</message>
<message>
<location line="+5"/>
<source>New key generation failed.</source>
<translation>Generierung eines neuen Schlüssels fehlgeschlagen.</translation>
</message>
</context>
<context>
<name>GUIUtil::HelpMessageBox</name>
<message>
<location filename="../guiutil.cpp" line="+424"/>
<location line="+12"/>
<source>canadacoin-Qt</source>
<translation>canadacoin-Qt</translation>
</message>
<message>
<location line="-12"/>
<source>version</source>
<translation>Version</translation>
</message>
<message>
<location line="+2"/>
<source>Usage:</source>
<translation>Benutzung:</translation>
</message>
<message>
<location line="+1"/>
<source>command-line options</source>
<translation><API key></translation>
</message>
<message>
<location line="+4"/>
<source>UI options</source>
<translation>UI-Optionen</translation>
</message>
<message>
<location line="+1"/>
<source>Set language, for example "de_DE" (default: system locale)</source>
<translation>Sprache festlegen, z.B. "de_DE" (Standard: System Locale)</translation>
</message>
<message>
<location line="+1"/>
<source>Start minimized</source>
<translation>Minimiert starten</translation>
</message>
<message>
<location line="+1"/>
<source>Show splash screen on startup (default: 1)</source>
<translation>Startbildschirm beim Starten anzeigen (Standard: 1)</translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
<location filename="../forms/optionsdialog.ui" line="+14"/>
<source>Options</source>
<translation>Erweiterte Einstellungen</translation>
</message>
<message>
<location line="+16"/>
<source>&Main</source>
<translation>&Allgemein</translation>
</message>
<message>
<location line="+6"/>
<source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source>
<translation>Optionale Transaktionsgebühr pro KB, die sicherstellt, dass Ihre Transaktionen schnell bearbeitet werden. Die meisten Transaktionen sind 1 kB groß.</translation>
</message>
<message>
<location line="+15"/>
<source>Pay transaction &fee</source>
<translation>Transaktions&gebühr bezahlen</translation>
</message>
<message>
<location line="+31"/>
<source>Automatically start canadacoin after logging in to the system.</source>
<translation>canadacoin nach der Anmeldung am System automatisch ausführen.</translation>
</message>
<message>
<location line="+3"/>
<source>&Start canadacoin on system login</source>
<translation>&Starte canadacoin nach Systemanmeldung</translation>
</message>
<message>
<location line="+35"/>
<source>Reset all client options to default.</source>
<translation>Setzt die Clientkonfiguration auf Standardwerte zurück.</translation>
</message>
<message>
<location line="+3"/>
<source>&Reset Options</source>
<translation>Konfiguration &zurücksetzen</translation>
</message>
<message>
<location line="+13"/>
<source>&Network</source>
<translation>&Netzwerk</translation>
</message>
<message>
<location line="+6"/>
<source>Automatically open the canadacoin client port on the router. This only works when your router supports UPnP and it is enabled.</source>
<translation>Automatisch den <API key> auf dem Router öffnen. Dies funktioniert nur, wenn Ihr Router UPnP unterstützt und dies aktiviert ist.</translation>
</message>
<message>
<location line="+3"/>
<source>Map port using &UPnP</source>
<translation>Portweiterleitung via &UPnP</translation>
</message>
<message>
<location line="+7"/>
<source>Connect to the canadacoin network through a SOCKS proxy (e.g. when connecting through Tor).</source>
<translation>Über einen SOCKS-Proxy mit dem canadacoin-Netzwerk verbinden (z.B. beim Verbinden über Tor).</translation>
</message>
<message>
<location line="+3"/>
<source>&Connect through SOCKS proxy:</source>
<translation>Über einen SOCKS-Proxy &verbinden:</translation>
</message>
<message>
<location line="+9"/>
<source>Proxy &IP:</source>
<translation>Proxy-&IP:</translation>
</message>
<message>
<location line="+19"/>
<source>IP address of the proxy (e.g. 127.0.0.1)</source>
<translation>IP-Adresse des Proxies (z.B. 127.0.0.1)</translation>
</message>
<message>
<location line="+7"/>
<source>&Port:</source>
<translation>&Port:</translation>
</message>
<message>
<location line="+19"/>
<source>Port of the proxy (e.g. 9050)</source>
<translation>Port des Proxies (z.B. 9050)</translation>
</message>
<message>
<location line="+7"/>
<source>SOCKS &Version:</source>
<translation>SOCKS-&Version:</translation>
</message>
<message>
<location line="+13"/>
<source>SOCKS version of the proxy (e.g. 5)</source>
<translation>SOCKS-Version des Proxies (z.B. 5)</translation>
</message>
<message>
<location line="+36"/>
<source>&Window</source>
<translation>&Programmfenster</translation>
</message>
<message>
<location line="+6"/>
<source>Show only a tray icon after minimizing the window.</source>
<translation>Nur ein Symbol im Infobereich anzeigen, nachdem das Programmfenster minimiert wurde.</translation>
</message>
<message>
<location line="+3"/>
<source>&Minimize to the tray instead of the taskbar</source>
<translation>In den Infobereich anstatt in die Taskleiste &minimieren</translation>
</message>
<message>
<location line="+7"/>
<source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source>
<translation>Minimiert die Anwendung anstatt sie zu beenden wenn das Fenster geschlossen wird. Wenn dies aktiviert ist, müssen Sie das Programm über "Beenden" im Menü schließen.</translation>
</message>
<message>
<location line="+3"/>
<source>M&inimize on close</source>
<translation>Beim Schließen m&inimieren</translation>
</message>
<message>
<location line="+21"/>
<source>&Display</source>
<translation>&Anzeige</translation>
</message>
<message>
<location line="+8"/>
<source>User Interface &language:</source>
<translation>&Sprache der Benutzeroberfläche:</translation>
</message>
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting canadacoin.</source>
<translation>Legt die Sprache der Benutzeroberfläche fest. Diese Einstellung wird erst nach einem Neustart von canadacoin aktiv.</translation>
</message>
<message>
<location line="+11"/>
<source>&Unit to show amounts in:</source>
<translation>&Einheit der Beträge:</translation>
</message>
<message>
<location line="+13"/>
<source>Choose the default subdivision unit to show in the interface and when sending coins.</source>
<translation>Wählen Sie die <API key>, die in der Benutzeroberfläche und beim Überweisen von canadacoins angezeigt werden soll.</translation>
</message>
<message>
<location line="+9"/>
<source>Whether to show canadacoin addresses in the transaction list or not.</source>
<translation>Legt fest, ob canadacoin-Adressen in der Transaktionsliste angezeigt werden.</translation>
</message>
<message>
<location line="+3"/>
<source>&Display addresses in transaction list</source>
<translation>Adressen in der Transaktionsliste &anzeigen</translation>
</message>
<message>
<location line="+71"/>
<source>&OK</source>
<translation>&OK</translation>
</message>
<message>
<location line="+7"/>
<source>&Cancel</source>
<translation>&Abbrechen</translation>
</message>
<message>
<location line="+10"/>
<source>&Apply</source>
<translation>&Übernehmen</translation>
</message>
<message>
<location filename="../optionsdialog.cpp" line="+53"/>
<source>default</source>
<translation>Standard</translation>
</message>
<message>
<location line="+130"/>
<source>Confirm options reset</source>
<translation>Zurücksetzen der Konfiguration bestätigen</translation>
</message>
<message>
<location line="+1"/>
<source>Some settings may require a client restart to take effect.</source>
<translation>Einige Einstellungen benötigen möglicherweise einen Clientneustart, um aktiv zu werden.</translation>
</message>
<message>
<location line="+0"/>
<source>Do you want to proceed?</source>
<translation>Wollen Sie fortfahren?</translation>
</message>
<message>
<location line="+42"/>
<location line="+9"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
<location line="-9"/>
<location line="+9"/>
<source>This setting will take effect after restarting canadacoin.</source>
<translation>Diese Einstellung wird erst nach einem Neustart von canadacoin aktiv.</translation>
</message>
<message>
<location line="+29"/>
<source>The supplied proxy address is invalid.</source>
<translation>Die eingegebene Proxyadresse ist ungültig.</translation>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<location filename="../forms/overviewpage.ui" line="+14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location line="+50"/>
<location line="+166"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the canadacoin network after a connection is established, but this process has not completed yet.</source>
<translation>Die angezeigten Informationen sind möglicherweise nicht mehr aktuell. Ihre Brieftasche wird automatisch synchronisiert, nachdem eine Verbindung zum canadacoin-Netzwerk hergestellt wurde. Dieser Prozess ist jedoch derzeit noch nicht abgeschlossen.</translation>
</message>
<message>
<location line="-124"/>
<source>Balance:</source>
<translation>Kontostand:</translation>
</message>
<message>
<location line="+29"/>
<source>Unconfirmed:</source>
<translation>Unbestätigt:</translation>
</message>
<message>
<location line="-78"/>
<source>Wallet</source>
<translation>Brieftasche</translation>
</message>
<message>
<location line="+107"/>
<source>Immature:</source>
<translation>Unreif:</translation>
</message>
<message>
<location line="+13"/>
<source>Mined balance that has not yet matured</source>
<translation>Erarbeiteter Betrag der noch nicht gereift ist</translation>
</message>
<message>
<location line="+46"/>
<source><b>Recent transactions</b></source>
<translation><b>Letzte Transaktionen</b></translation>
</message>
<message>
<location line="-101"/>
<source>Your current balance</source>
<translation>Ihr aktueller Kontostand</translation>
</message>
<message>
<location line="+29"/>
<source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source>
<translation>Betrag aus unbestätigten Transaktionen, der noch nicht im aktuellen Kontostand enthalten ist</translation>
</message>
<message>
<location filename="../overviewpage.cpp" line="+116"/>
<location line="+1"/>
<source>out of sync</source>
<translation>nicht synchron</translation>
</message>
</context>
<context>
<name>PaymentServer</name>
<message>
<location filename="../paymentserver.cpp" line="+107"/>
<source>Cannot start canadacoin: click-to-pay handler</source>
<translation>"canadacoin: <API key>"-Handler konnte nicht gestartet werden</translation>
</message>
</context>
<context>
<name>QRCodeDialog</name>
<message>
<location filename="../forms/qrcodedialog.ui" line="+14"/>
<source>QR Code Dialog</source>
<translation>QR-Code-Dialog</translation>
</message>
<message>
<location line="+59"/>
<source>Request Payment</source>
<translation>Zahlung anfordern</translation>
</message>
<message>
<location line="+56"/>
<source>Amount:</source>
<translation>Betrag:</translation>
</message>
<message>
<location line="-44"/>
<source>Label:</source>
<translation>Bezeichnung:</translation>
</message>
<message>
<location line="+19"/>
<source>Message:</source>
<translation>Nachricht:</translation>
</message>
<message>
<location line="+71"/>
<source>&Save As...</source>
<translation>&Speichern unter...</translation>
</message>
<message>
<location filename="../qrcodedialog.cpp" line="+62"/>
<source>Error encoding URI into QR Code.</source>
<translation>Fehler beim Kodieren der URI in den QR-Code.</translation>
</message>
<message>
<location line="+40"/>
<source>The entered amount is invalid, please check.</source>
<translation>Der eingegebene Betrag ist ungültig, bitte überprüfen.</translation>
</message>
<message>
<location line="+23"/>
<source>Resulting URI too long, try to reduce the text for label / message.</source>
<translation>Resultierende URI zu lang, bitte den Text für Bezeichnung / Nachricht kürzen.</translation>
</message>
<message>
<location line="+25"/>
<source>Save QR Code</source>
<translation>QR-Code abspeichern</translation>
</message>
<message>
<location line="+0"/>
<source>PNG Images (*.png)</source>
<translation>PNG-Bild (*.png)</translation>
</message>
</context>
<context>
<name>RPCConsole</name>
<message>
<location filename="../forms/rpcconsole.ui" line="+46"/>
<source>Client name</source>
<translation>Clientname</translation>
</message>
<message>
<location line="+10"/>
<location line="+23"/>
<location line="+26"/>
<location line="+23"/>
<location line="+23"/>
<location line="+36"/>
<location line="+53"/>
<location line="+23"/>
<location line="+23"/>
<location filename="../rpcconsole.cpp" line="+339"/>
<source>N/A</source>
<translation>n.v.</translation>
</message>
<message>
<location line="-217"/>
<source>Client version</source>
<translation>Clientversion</translation>
</message>
<message>
<location line="-45"/>
<source>&Information</source>
<translation>&Information</translation>
</message>
<message>
<location line="+68"/>
<source>Using OpenSSL version</source>
<translation>Verwendete OpenSSL-Version</translation>
</message>
<message>
<location line="+49"/>
<source>Startup time</source>
<translation>Startzeit</translation>
</message>
<message>
<location line="+29"/>
<source>Network</source>
<translation>Netzwerk</translation>
</message>
<message>
<location line="+7"/>
<source>Number of connections</source>
<translation>Anzahl Verbindungen</translation>
</message>
<message>
<location line="+23"/>
<source>On testnet</source>
<translation>Im Testnetz</translation>
</message>
<message>
<location line="+23"/>
<source>Block chain</source>
<translation>Blockkette</translation>
</message>
<message>
<location line="+7"/>
<source>Current number of blocks</source>
<translation>Aktuelle Anzahl Blöcke</translation>
</message>
<message>
<location line="+23"/>
<source>Estimated total blocks</source>
<translation>Geschätzte Gesamtzahl Blöcke</translation>
</message>
<message>
<location line="+23"/>
<source>Last block time</source>
<translation>Letzte Blockzeit</translation>
</message>
<message>
<location line="+52"/>
<source>&Open</source>
<translation>&Öffnen</translation>
</message>
<message>
<location line="+16"/>
<source>Command-line options</source>
<translation><API key></translation>
</message>
<message>
<location line="+7"/>
<source>Show the canadacoin-Qt help message to get a list with possible canadacoin command-line options.</source>
<translation>Zeige die <API key>, um eine Liste mit möglichen <API key> zu erhalten.</translation>
</message>
<message>
<location line="+3"/>
<source>&Show</source>
<translation>&Anzeigen</translation>
</message>
<message>
<location line="+24"/>
<source>&Console</source>
<translation>&Konsole</translation>
</message>
<message>
<location line="-260"/>
<source>Build date</source>
<translation>Erstellungsdatum</translation>
</message>
<message>
<location line="-104"/>
<source>canadacoin - Debug window</source>
<translation>canadacoin - Debugfenster</translation>
</message>
<message>
<location line="+25"/>
<source>canadacoin Core</source>
<translation>canadacoin-Kern</translation>
</message>
<message>
<location line="+279"/>
<source>Debug log file</source>
<translation>Debugprotokolldatei</translation>
</message>
<message>
<location line="+7"/>
<source>Open the canadacoin debug log file from the current data directory. This can take a few seconds for large log files.</source>
<translation>Öffnet die <API key> aus dem aktuellen Datenverzeichnis. Dies kann bei großen Protokolldateien einige Sekunden dauern.</translation>
</message>
<message>
<location line="+102"/>
<source>Clear console</source>
<translation>Konsole zurücksetzen</translation>
</message>
<message>
<location filename="../rpcconsole.cpp" line="-30"/>
<source>Welcome to the canadacoin RPC console.</source>
<translation>Willkommen in der <API key>.</translation>
</message>
<message>
<location line="+1"/>
<source>Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.</source>
<translation>Pfeiltaste hoch und runter, um die Historie durchzublättern und <b>Strg-L</b>, um die Konsole zurückzusetzen.</translation>
</message>
<message>
<location line="+1"/>
<source>Type <b>help</b> for an overview of available commands.</source>
<translation>Bitte <b>help</b> eingeben, um eine Übersicht verfügbarer Befehle zu erhalten.</translation>
</message>
</context>
<context>
<name>SendCoinsDialog</name>
<message>
<location filename="../forms/sendcoinsdialog.ui" line="+14"/>
<location filename="../sendcoinsdialog.cpp" line="+124"/>
<location line="+5"/>
<location line="+5"/>
<location line="+5"/>
<location line="+6"/>
<location line="+5"/>
<location line="+5"/>
<source>Send Coins</source>
<translation>canadacoins überweisen</translation>
</message>
<message>
<location line="+50"/>
<source>Send to multiple recipients at once</source>
<translation>In einer Transaktion an mehrere Empfänger auf einmal überweisen</translation>
</message>
<message>
<location line="+3"/>
<source>Add &Recipient</source>
<translation>Empfänger &hinzufügen</translation>
</message>
<message>
<location line="+20"/>
<source>Remove all transaction fields</source>
<translation>Alle Überweisungsfelder zurücksetzen</translation>
</message>
<message>
<location line="+3"/>
<source>Clear &All</source>
<translation>&Zurücksetzen</translation>
</message>
<message>
<location line="+22"/>
<source>Balance:</source>
<translation>Kontostand:</translation>
</message>
<message>
<location line="+10"/>
<source>123.456 BTC</source>
<translation>123.456 BTC</translation>
</message>
<message>
<location line="+31"/>
<source>Confirm the send action</source>
<translation>Überweisung bestätigen</translation>
</message>
<message>
<location line="+3"/>
<source>S&end</source>
<translation>&Überweisen</translation>
</message>
<message>
<location filename="../sendcoinsdialog.cpp" line="-59"/>
<source><b>%1</b> to %2 (%3)</source>
<translation><b>%1</b> an %2 (%3)</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm send coins</source>
<translation>Überweisung bestätigen</translation>
</message>
<message>
<location line="+1"/>
<source>Are you sure you want to send %1?</source>
<translation>Sind Sie sich sicher, dass Sie die folgende Überweisung ausführen möchten?<br>%1</translation>
</message>
<message>
<location line="+0"/>
<source> and </source>
<translation> und </translation>
</message>
<message>
<location line="+23"/>
<source>The recipient address is not valid, please recheck.</source>
<translation>Die Zahlungsadresse ist ungültig, bitte nochmals überprüfen.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount to pay must be larger than 0.</source>
<translation>Der zu zahlende Betrag muss größer als 0 sein.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount exceeds your balance.</source>
<translation>Der angegebene Betrag übersteigt Ihren Kontostand.</translation>
</message>
<message>
<location line="+5"/>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation>Der angegebene Betrag übersteigt aufgrund der Transaktionsgebühr in Höhe von %1 Ihren Kontostand.</translation>
</message>
<message>
<location line="+6"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation>Doppelte Adresse gefunden, pro Überweisung kann an jede Adresse nur einmalig etwas überwiesen werden.</translation>
</message>
<message>
<location line="+5"/>
<source>Error: Transaction creation failed!</source>
<translation>Fehler: <API key> fehlgeschlagen!</translation>
</message>
<message>
<location line="+5"/>
<source>Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation>Fehler: Die Transaktion wurde abgelehnt. Dies kann passieren, wenn einige canadacoins aus Ihrer Brieftasche bereits ausgegeben wurden. Beispielsweise weil Sie eine Kopie Ihrer wallet.dat genutzt, die canadacoins dort ausgegeben haben und dies daher in der derzeit aktiven Brieftasche nicht vermerkt ist.</translation>
</message>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location line="+15"/>
<source>A&mount:</source>
<translation>&Betrag:</translation>
</message>
<message>
<location line="+13"/>
<source>Pay &To:</source>
<translation>&Empfänger:</translation>
</message>
<message>
<location line="+34"/>
<source>The address to send the payment to (e.g. <API key>)</source>
<translation>Die Zahlungsadresse der Überweisung (z.B. <API key>)</translation>
</message>
<message>
<location line="+60"/>
<location filename="../sendcoinsentry.cpp" line="+26"/>
<source>Enter a label for this address to add it to your address book</source>
<translation>Adressbezeichnung eingeben (diese wird zusammen mit der Adresse dem Adressbuch hinzugefügt)</translation>
</message>
<message>
<location line="-78"/>
<source>&Label:</source>
<translation>&Bezeichnung:</translation>
</message>
<message>
<location line="+28"/>
<source>Choose address from address book</source>
<translation>Adresse aus Adressbuch wählen</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<location line="+7"/>
<source>Paste address from clipboard</source>
<translation>Adresse aus der Zwischenablage einfügen</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<location line="+7"/>
<source>Remove this recipient</source>
<translation>Diesen Empfänger entfernen</translation>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a canadacoin address (e.g. <API key>)</source>
<translation>canadacoin-Adresse eingeben (z.B. <API key>)</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../forms/<API key>.ui" line="+14"/>
<source>Signatures - Sign / Verify a Message</source>
<translation>Signaturen - eine Nachricht signieren / verifizieren</translation>
</message>
<message>
<location line="+13"/>
<source>&Sign Message</source>
<translation>Nachricht &signieren</translation>
</message>
<message>
<location line="+6"/>
<source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source>
<translation>Sie können Nachrichten mit Ihren Adressen signieren, um den Besitz dieser Adressen zu beweisen. Bitte nutzen Sie diese Funktion mit Vorsicht und nehmen Sie sich vor Phishingangriffen in Acht. Signieren Sie nur Nachrichten, mit denen Sie vollständig einverstanden sind.</translation>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. <API key>)</source>
<translation>Die Adresse mit der die Nachricht signiert wird (z.B. <API key>)</translation>
</message>
<message>
<location line="+10"/>
<location line="+213"/>
<source>Choose an address from the address book</source>
<translation>Eine Adresse aus dem Adressbuch wählen</translation>
</message>
<message>
<location line="-203"/>
<location line="+213"/>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<location line="-203"/>
<source>Paste address from clipboard</source>
<translation>Adresse aus der Zwischenablage einfügen</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<location line="+12"/>
<source>Enter the message you want to sign here</source>
<translation>Zu signierende Nachricht hier eingeben</translation>
</message>
<message>
<location line="+7"/>
<source>Signature</source>
<translation>Signatur</translation>
</message>
<message>
<location line="+27"/>
<source>Copy the current signature to the system clipboard</source>
<translation>Aktuelle Signatur in die Zwischenablage kopieren</translation>
</message>
<message>
<location line="+21"/>
<source>Sign the message to prove you own this canadacoin address</source>
<translation>Die Nachricht signieren, um den Besitz dieser canadacoin-Adresse zu beweisen</translation>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation>&Nachricht signieren</translation>
</message>
<message>
<location line="+14"/>
<source>Reset all sign message fields</source>
<translation>Alle "Nachricht signieren"-Felder zurücksetzen</translation>
</message>
<message>
<location line="+3"/>
<location line="+146"/>
<source>Clear &All</source>
<translation>&Zurücksetzen</translation>
</message>
<message>
<location line="-87"/>
<source>&Verify Message</source>
<translation>Nachricht &verifizieren</translation>
</message>
<message>
<location line="+6"/>
<source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source>
<translation>Geben Sie die signierende Adresse, Nachricht (achten Sie darauf Zeilenumbrüche, Leerzeichen, Tabulatoren usw. exakt zu kopieren) und Signatur unten ein, um die Nachricht zu verifizieren. Vorsicht, interpretieren Sie nicht mehr in die Signatur, als in der signierten Nachricht selber enthalten ist, um nicht von einerm <API key> hinters Licht geführt zu werden.</translation>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. <API key>)</source>
<translation>Die Adresse mit der die Nachricht signiert wurde (z.B. <API key>)</translation>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified canadacoin address</source>
<translation>Die Nachricht verifizieren, um sicherzustellen, dass diese mit der angegebenen canadacoin-Adresse signiert wurde</translation>
</message>
<message>
<location line="+3"/>
<source>Verify &Message</source>
<translation>&Nachricht verifizieren</translation>
</message>
<message>
<location line="+14"/>
<source>Reset all verify message fields</source>
<translation>Alle "Nachricht verifizieren"-Felder zurücksetzen</translation>
</message>
<message>
<location filename="../<API key>.cpp" line="+27"/>
<location line="+3"/>
<source>Enter a canadacoin address (e.g. <API key>)</source>
<translation>canadacoin-Adresse eingeben (z.B. <API key>)</translation>
</message>
<message>
<location line="-2"/>
<source>Click "Sign Message" to generate signature</source>
<translation>Auf "Nachricht signieren" klicken, um die Signatur zu erzeugen</translation>
</message>
<message>
<location line="+3"/>
<source>Enter canadacoin signature</source>
<translation>canadacoin-Signatur eingeben</translation>
</message>
<message>
<location line="+82"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation>Die eingegebene Adresse ist ungültig.</translation>
</message>
<message>
<location line="-81"/>
<location line="+8"/>
<location line="+73"/>
<location line="+8"/>
<source>Please check the address and try again.</source>
<translation>Bitte überprüfen Sie die Adresse und versuchen Sie es erneut.</translation>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation>Die eingegebene Adresse verweist nicht auf einen Schlüssel.</translation>
</message>
<message>
<location line="-73"/>
<source>Wallet unlock was cancelled.</source>
<translation>Entsperrung der Brieftasche wurde abgebrochen.</translation>
</message>
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation>Privater Schlüssel zur eingegebenen Adresse ist nicht verfügbar.</translation>
</message>
<message>
<location line="+12"/>
<source>Message signing failed.</source>
<translation>Signierung der Nachricht fehlgeschlagen.</translation>
</message>
<message>
<location line="+5"/>
<source>Message signed.</source>
<translation>Nachricht signiert.</translation>
</message>
<message>
<location line="+59"/>
<source>The signature could not be decoded.</source>
<translation>Die Signatur konnte nicht dekodiert werden.</translation>
</message>
<message>
<location line="+0"/>
<location line="+13"/>
<source>Please check the signature and try again.</source>
<translation>Bitte überprüfen Sie die Signatur und versuchen Sie es erneut.</translation>
</message>
<message>
<location line="+0"/>
<source>The signature did not match the message digest.</source>
<translation>Die Signatur entspricht nicht dem Message Digest.</translation>
</message>
<message>
<location line="+7"/>
<source>Message verification failed.</source>
<translation>Verifikation der Nachricht fehlgeschlagen.</translation>
</message>
<message>
<location line="+5"/>
<source>Message verified.</source>
<translation>Nachricht verifiziert.</translation>
</message>
</context>
<context>
<name>SplashScreen</name>
<message>
<location filename="../splashscreen.cpp" line="+22"/>
<source>The canadacoin developers</source>
<translation>Die <API key></translation>
</message>
<message>
<location line="+1"/>
<source>[testnet]</source>
<translation>[Testnetz]</translation>
</message>
</context>
<context>
<name>TransactionDesc</name>
<message>
<location filename="../transactiondesc.cpp" line="+20"/>
<source>Open until %1</source>
<translation>Offen bis %1</translation>
</message>
<message>
<location line="+6"/>
<source>%1/offline</source>
<translation>%1/offline</translation>
</message>
<message>
<location line="+2"/>
<source>%1/unconfirmed</source>
<translation>%1/unbestätigt</translation>
</message>
<message>
<location line="+2"/>
<source>%1 confirmations</source>
<translation>%1 Bestätigungen</translation>
</message>
<message>
<location line="+18"/>
<source>Status</source>
<translation>Status</translation>
</message>
<message numerus="yes">
<location line="+7"/>
<source>, broadcast through %n node(s)</source>
<translation><numerusform>, über %n Knoten übertragen</numerusform><numerusform>, über %n Knoten übertragen</numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>Date</source>
<translation>Datum</translation>
</message>
<message>
<location line="+7"/>
<source>Source</source>
<translation>Quelle</translation>
</message>
<message>
<location line="+0"/>
<source>Generated</source>
<translation>Generiert</translation>
</message>
<message>
<location line="+5"/>
<location line="+17"/>
<source>From</source>
<translation>Von</translation>
</message>
<message>
<location line="+1"/>
<location line="+22"/>
<location line="+58"/>
<source>To</source>
<translation>An</translation>
</message>
<message>
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation>eigene Adresse</translation>
</message>
<message>
<location line="-2"/>
<source>label</source>
<translation>Bezeichnung</translation>
</message>
<message>
<location line="+37"/>
<location line="+12"/>
<location line="+45"/>
<location line="+17"/>
<location line="+30"/>
<source>Credit</source>
<translation>Gutschrift</translation>
</message>
<message numerus="yes">
<location line="-102"/>
<source>matures in %n more block(s)</source>
<translation><numerusform>reift noch %n weiteren Block</numerusform><numerusform>reift noch %n weitere Blöcke</numerusform></translation>
</message>
<message>
<location line="+2"/>
<source>not accepted</source>
<translation>nicht angenommen</translation>
</message>
<message>
<location line="+44"/>
<location line="+8"/>
<location line="+15"/>
<location line="+30"/>
<source>Debit</source>
<translation>Belastung</translation>
</message>
<message>
<location line="-39"/>
<source>Transaction fee</source>
<translation>Transaktionsgebühr</translation>
</message>
<message>
<location line="+16"/>
<source>Net amount</source>
<translation>Nettobetrag</translation>
</message>
<message>
<location line="+6"/>
<source>Message</source>
<translation>Nachricht signieren</translation>
</message>
<message>
<location line="+2"/>
<source>Comment</source>
<translation>Kommentar</translation>
</message>
<message>
<location line="+2"/>
<source>Transaction ID</source>
<translation>Transaktions-ID</translation>
</message>
<message>
<location line="+3"/>
<source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source>
<translation>Generierte canadacoins müssen 120 Blöcke lang reifen, bevor sie ausgegeben werden können. Als Sie diesen Block generierten, wurde er an das Netzwerk übertragen, um ihn der Blockkette hinzuzufügen. Falls dies fehlschlägt wird der Status in "nicht angenommen" geändert und der Betrag wird nicht verfügbar werden. Das kann gelegentlich passieren, wenn ein anderer Knoten einen Block fast zeitgleich generiert.</translation>
</message>
<message>
<location line="+7"/>
<source>Debug information</source>
<translation>Debuginformationen</translation>
</message>
<message>
<location line="+8"/>
<source>Transaction</source>
<translation>Transaktion</translation>
</message>
<message>
<location line="+3"/>
<source>Inputs</source>
<translation>Eingaben</translation>
</message>
<message>
<location line="+23"/>
<source>Amount</source>
<translation>Betrag</translation>
</message>
<message>
<location line="+1"/>
<source>true</source>
<translation>wahr</translation>
</message>
<message>
<location line="+0"/>
<source>false</source>
<translation>falsch</translation>
</message>
<message>
<location line="-209"/>
<source>, has not been successfully broadcast yet</source>
<translation>, wurde noch nicht erfolgreich übertragen</translation>
</message>
<message numerus="yes">
<location line="-35"/>
<source>Open for %n more block(s)</source>
<translation><numerusform>Offen für %n weiteren Block</numerusform><numerusform>Offen für %n weitere Blöcke</numerusform></translation>
</message>
<message>
<location line="+70"/>
<source>unknown</source>
<translation>unbekannt</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../forms/<API key>.ui" line="+14"/>
<source>Transaction details</source>
<translation>Transaktionsdetails</translation>
</message>
<message>
<location line="+6"/>
<source>This pane shows a detailed description of the transaction</source>
<translation>Dieser Bereich zeigt eine detaillierte Beschreibung der Transaktion an</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../<API key>.cpp" line="+225"/>
<source>Date</source>
<translation>Datum</translation>
</message>
<message>
<location line="+0"/>
<source>Type</source>
<translation>Typ</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Adresse</translation>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation>Betrag</translation>
</message>
<message numerus="yes">
<location line="+57"/>
<source>Open for %n more block(s)</source>
<translation><numerusform>Offen für %n weiteren Block</numerusform><numerusform>Offen für %n weitere Blöcke</numerusform></translation>
</message>
<message>
<location line="+3"/>
<source>Open until %1</source>
<translation>Offen bis %1</translation>
</message>
<message>
<location line="+3"/>
<source>Offline (%1 confirmations)</source>
<translation>Offline (%1 Bestätigungen)</translation>
</message>
<message>
<location line="+3"/>
<source>Unconfirmed (%1 of %2 confirmations)</source>
<translation>Unbestätigt (%1 von %2 Bestätigungen)</translation>
</message>
<message>
<location line="+3"/>
<source>Confirmed (%1 confirmations)</source>
<translation>Bestätigt (%1 Bestätigungen)</translation>
</message>
<message numerus="yes">
<location line="+8"/>
<source>Mined balance will be available when it matures in %n more block(s)</source>
<translation><numerusform>Erarbeiteter Betrag wird verfügbar sein, nachdem er noch %n weiteren Block reift</numerusform><numerusform>Erarbeiteter Betrag wird verfügbar sein, nachdem er noch %n weitere Blöcke reift</numerusform></translation>
</message>
<message>
<location line="+5"/>
<source>This block was not received by any other nodes and will probably not be accepted!</source>
<translation>Dieser Block wurde von keinem anderen Knoten empfangen und wird wahrscheinlich nicht angenommen werden!</translation>
</message>
<message>
<location line="+3"/>
<source>Generated but not accepted</source>
<translation>Generiert, jedoch nicht angenommen</translation>
</message>
<message>
<location line="+43"/>
<source>Received with</source>
<translation>Empfangen über</translation>
</message>
<message>
<location line="+2"/>
<source>Received from</source>
<translation>Empfangen von</translation>
</message>
<message>
<location line="+3"/>
<source>Sent to</source>
<translation>Überwiesen an</translation>
</message>
<message>
<location line="+2"/>
<source>Payment to yourself</source>
<translation>Eigenüberweisung</translation>
</message>
<message>
<location line="+2"/>
<source>Mined</source>
<translation>Erarbeitet</translation>
</message>
<message>
<location line="+38"/>
<source>(n/a)</source>
<translation>(k.A.)</translation>
</message>
<message>
<location line="+199"/>
<source>Transaction status. Hover over this field to show number of confirmations.</source>
<translation>Transaktionsstatus. Fahren Sie mit der Maus über dieses Feld, um die Anzahl der Bestätigungen zu sehen.</translation>
</message>
<message>
<location line="+2"/>
<source>Date and time that the transaction was received.</source>
<translation>Datum und Uhrzeit als die Transaktion empfangen wurde.</translation>
</message>
<message>
<location line="+2"/>
<source>Type of transaction.</source>
<translation>Art der Transaktion</translation>
</message>
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation>Zieladresse der Transaktion</translation>
</message>
<message>
<location line="+2"/>
<source>Amount removed from or added to balance.</source>
<translation>Der Betrag, der dem Kontostand abgezogen oder hinzugefügt wurde.</translation>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<location filename="../transactionview.cpp" line="+52"/>
<location line="+16"/>
<source>All</source>
<translation>Alle</translation>
</message>
<message>
<location line="-15"/>
<source>Today</source>
<translation>Heute</translation>
</message>
<message>
<location line="+1"/>
<source>This week</source>
<translation>Diese Woche</translation>
</message>
<message>
<location line="+1"/>
<source>This month</source>
<translation>Diesen Monat</translation>
</message>
<message>
<location line="+1"/>
<source>Last month</source>
<translation>Letzten Monat</translation>
</message>
<message>
<location line="+1"/>
<source>This year</source>
<translation>Dieses Jahr</translation>
</message>
<message>
<location line="+1"/>
<source>Range...</source>
<translation>Zeitraum...</translation>
</message>
<message>
<location line="+11"/>
<source>Received with</source>
<translation>Empfangen über</translation>
</message>
<message>
<location line="+2"/>
<source>Sent to</source>
<translation>Überwiesen an</translation>
</message>
<message>
<location line="+2"/>
<source>To yourself</source>
<translation>Eigenüberweisung</translation>
</message>
<message>
<location line="+1"/>
<source>Mined</source>
<translation>Erarbeitet</translation>
</message>
<message>
<location line="+1"/>
<source>Other</source>
<translation>Andere</translation>
</message>
<message>
<location line="+7"/>
<source>Enter address or label to search</source>
<translation>Zu suchende Adresse oder Bezeichnung eingeben</translation>
</message>
<message>
<location line="+7"/>
<source>Min amount</source>
<translation>Minimaler Betrag</translation>
</message>
<message>
<location line="+34"/>
<source>Copy address</source>
<translation>Adresse kopieren</translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation>Bezeichnung kopieren</translation>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation>Betrag kopieren</translation>
</message>
<message>
<location line="+1"/>
<source>Copy transaction ID</source>
<translation>Transaktions-ID kopieren</translation>
</message>
<message>
<location line="+1"/>
<source>Edit label</source>
<translation>Bezeichnung bearbeiten</translation>
</message>
<message>
<location line="+1"/>
<source>Show transaction details</source>
<translation>Transaktionsdetails anzeigen</translation>
</message>
<message>
<location line="+139"/>
<source>Export Transaction Data</source>
<translation>Transaktionen exportieren</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation><API key> (*.csv)</translation>
</message>
<message>
<location line="+8"/>
<source>Confirmed</source>
<translation>Bestätigt</translation>
</message>
<message>
<location line="+1"/>
<source>Date</source>
<translation>Datum</translation>
</message>
<message>
<location line="+1"/>
<source>Type</source>
<translation>Typ</translation>
</message>
<message>
<location line="+1"/>
<source>Label</source>
<translation>Bezeichnung</translation>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation>Adresse</translation>
</message>
<message>
<location line="+1"/>
<source>Amount</source>
<translation>Betrag</translation>
</message>
<message>
<location line="+1"/>
<source>ID</source>
<translation>ID</translation>
</message>
<message>
<location line="+4"/>
<source>Error exporting</source>
<translation>Fehler beim Exportieren</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Konnte nicht in Datei %1 schreiben.</translation>
</message>
<message>
<location line="+100"/>
<source>Range:</source>
<translation>Zeitraum:</translation>
</message>
<message>
<location line="+8"/>
<source>to</source>
<translation>bis</translation>
</message>
</context>
<context>
<name>WalletModel</name>
<message>
<location filename="../walletmodel.cpp" line="+193"/>
<source>Send Coins</source>
<translation>canadacoins überweisen</translation>
</message>
</context>
<context>
<name>WalletView</name>
<message>
<location filename="../walletview.cpp" line="+42"/>
<source>&Export</source>
<translation>E&xportieren</translation>
</message>
<message>
<location line="+1"/>
<source>Export the data in the current tab to a file</source>
<translation>Daten der aktuellen Ansicht in eine Datei exportieren</translation>
</message>
<message>
<location line="+193"/>
<source>Backup Wallet</source>
<translation>Brieftasche sichern</translation>
</message>
<message>
<location line="+0"/>
<source>Wallet Data (*.dat)</source>
<translation>Brieftaschendaten (*.dat)</translation>
</message>
<message>
<location line="+3"/>
<source>Backup Failed</source>
<translation>Sicherung fehlgeschlagen</translation>
</message>
<message>
<location line="+0"/>
<source>There was an error trying to save the wallet data to the new location.</source>
<translation>Beim Speichern der Brieftaschendaten an die neue Position ist ein Fehler aufgetreten.</translation>
</message>
<message>
<location line="+4"/>
<source>Backup Successful</source>
<translation>Sicherung erfolgreich</translation>
</message>
<message>
<location line="+0"/>
<source>The wallet data was successfully saved to the new location.</source>
<translation>Speichern der Brieftaschendaten an die neue Position war erfolgreich.</translation>
</message>
</context>
<context>
<name>bitcoin-core</name>
<message>
<location filename="../bitcoinstrings.cpp" line="+94"/>
<source>canadacoin version</source>
<translation>canadacoin-Version</translation>
</message>
<message>
<location line="+102"/>
<source>Usage:</source>
<translation>Benutzung:</translation>
</message>
<message>
<location line="-29"/>
<source>Send command to -server or canadacoind</source>
<translation>Befehl an -server oder canadacoind senden</translation>
</message>
<message>
<location line="-23"/>
<source>List commands</source>
<translation>Befehle auflisten</translation>
</message>
<message>
<location line="-12"/>
<source>Get help for a command</source>
<translation>Hilfe zu einem Befehl erhalten</translation>
</message>
<message>
<location line="+24"/>
<source>Options:</source>
<translation>Optionen:</translation>
</message>
<message>
<location line="+24"/>
<source>Specify configuration file (default: canadacoin.conf)</source>
<translation>Konfigurationsdatei festlegen (Standard: canadacoin.conf)</translation>
</message>
<message>
<location line="+3"/>
<source>Specify pid file (default: canadacoind.pid)</source>
<translation>PID-Datei festlegen (Standard: canadacoind.pid)</translation>
</message>
<message>
<location line="-1"/>
<source>Specify data directory</source>
<translation>Datenverzeichnis festlegen</translation>
</message>
<message>
<location line="-9"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation>Größe des Datenbankcaches in MB festlegen (Standard: 25)</translation>
</message>
<message>
<location line="-28"/>
<source>Listen for connections on <port> (default: 22556 or testnet: 44556)</source>
<translation><port> nach Verbindungen abhören (Standard: 22556 oder Testnetz: 44556)</translation>
</message>
<message>
<location line="+5"/>
<source>Maintain at most <n> connections to peers (default: 125)</source>
<translation>Maximal <n> Verbindungen zu Gegenstellen aufrechterhalten (Standard: 125)</translation>
</message>
<message>
<location line="-48"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation>Mit dem Knoten verbinden um Adressen von Gegenstellen abzufragen, danach trennen</translation>
</message>
<message>
<location line="+82"/>
<source>Specify your own public address</source>
<translation>Die eigene öffentliche Adresse angeben</translation>
</message>
<message>
<location line="+3"/>
<source>Threshold for disconnecting misbehaving peers (default: 100)</source>
<translation>Schwellenwert, um Verbindungen zu sich nicht konform verhaltenden Gegenstellen zu beenden (Standard: 100)</translation>
</message>
<message>
<location line="-134"/>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
<translation>Anzahl Sekunden, während denen sich nicht konform verhaltenden Gegenstellen die Wiederverbindung verweigert wird (Standard: 86400)</translation>
</message>
<message>
<location line="-29"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
<translation>Beim Einrichten des abzuhörenden RPC-Ports %u für IPv4 ist ein Fehler aufgetreten: %s</translation>
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on <port> (default: 22555 or testnet: 44555)</source>
<translation><port> nach <API key> abhören (Standard: 22555 oder Testnetz: 44555)</translation>
</message>
<message>
<location line="+37"/>
<source>Accept command line and JSON-RPC commands</source>
<translation><API key> und JSON-RPC-Befehle annehmen</translation>
</message>
<message>
<location line="+76"/>
<source>Run in the background as a daemon and accept commands</source>
<translation>Als Hintergrunddienst starten und Befehle annehmen</translation>
</message>
<message>
<location line="+37"/>
<source>Use the test network</source>
<translation>Das Testnetz verwenden</translation>
</message>
<message>
<location line="-112"/>
<source>Accept connections from outside (default: 1 if no -proxy or -connect)</source>
<translation>Eingehende Verbindungen annehmen (Standard: 1, wenn nicht -proxy oder -connect)</translation>
</message>
<message>
<location line="-80"/>
<source>%s, you must set a rpcpassword in the configuration file:
%s
It is recommended you use the following random password:
rpcuser=canadacoinrpc
rpcpassword=%s
(you do not need to remember this password)
The username and password MUST NOT be the same.
If the file does not exist, create it with owner-readable-only file permissions.
It is also recommended to set alertnotify so you are notified of problems;
for example: alertnotify=echo %%s | mail -s "canadacoin Alert" admin@foo.com
</source>
<translation>%s, Sie müssen den Wert rpcpasswort in dieser Konfigurationsdatei angeben:
%s
Es wird empfohlen das folgende Zufallspasswort zu verwenden:
rpcuser=canadacoinrpc
rpcpassword=%s
(Sie müssen sich dieses Passwort nicht merken!)
Der Benutzername und das Passwort dürfen NICHT identisch sein.
Falls die Konfigurationsdatei nicht existiert, erzeugen Sie diese bitte mit Leserechten nur für den Dateibesitzer.
Es wird ebenfalls empfohlen alertnotify anzugeben, um im Problemfall benachrichtig zu werden;
zum Beispiel: alertnotify=echo %%s | mail -s \"canadacoin Alert\" admin@foo.com
</translation>
</message>
<message>
<location line="+17"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source>
<translation>Beim Einrichten des abzuhörenden RPC-Ports %u für IPv6 ist ein Fehler aufgetreten, es wird auf IPv4 zurückgegriffen: %s</translation>
</message>
<message>
<location line="+3"/>
<source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source>
<translation>An die angegebene Adresse binden und immer abhören. Für IPv6 [Host]:Port-Schreibweise verwenden</translation>
</message>
<message>
<location line="+3"/>
<source>Cannot obtain a lock on data directory %s. canadacoin is probably already running.</source>
<translation>Datenverzeichnis %s kann nicht gesperrt werden. Evtl. wurde canadacoin bereits gestartet.</translation>
</message>
<message>
<location line="+3"/>
<source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation>Fehler: Die Transaktion wurde abgelehnt! Dies kann passieren, wenn einige canadacoins aus Ihrer Brieftasche bereits ausgegeben wurden. Beispielsweise weil Sie eine Kopie Ihrer wallet.dat genutzt, die canadacoins dort ausgegeben haben und dies daher in der derzeit aktiven Brieftasche nicht vermerkt ist.</translation>
</message>
<message>
<location line="+4"/>
<source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source>
<translation>Fehler: Diese Transaktion benötigt aufgrund ihres Betrags, ihrer Komplexität oder der Nutzung kürzlich erhaltener Zahlungen eine Transaktionsgebühr in Höhe von mindestens %s!</translation>
</message>
<message>
<location line="+3"/>
<source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source>
<translation>Kommando ausführen wenn ein relevanter Alarm empfangen wird (%s im Kommando wird durch die Nachricht ersetzt)</translation>
</message>
<message>
<location line="+3"/>
<source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source>
<translation>Kommando ausführen wenn sich eine Transaktion der Briefrasche verändert (%s im Kommando wird durch die TxID ersetzt)</translation>
</message>
<message>
<location line="+11"/>
<source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source>
<translation>Maximale Größe von "high-priority/low-fee"-Transaktionen in Byte festlegen (Standard: 27000)</translation>
</message>
<message>
<location line="+6"/>
<source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source>
<translation>Dies ist eine Vorab-Testversion - Verwendung auf eigene Gefahr - nicht für Mining- oder Handelsanwendungen nutzen!</translation>
</message>
<message>
<location line="+5"/>
<source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source>
<translation>Warnung: -paytxfee ist auf einen sehr hohen Wert festgelegt! Dies ist die Gebühr die beim Senden einer Transaktion fällig wird.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.</source>
<translation>Warnung: Angezeigte Transaktionen sind evtl. nicht korrekt! Sie oder die anderen Knoten müssen unter Umständen (den Client) aktualisieren.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: Please check that your computer's date and time are correct! If your clock is wrong canadacoin will not work properly.</source>
<translation>Warnung: Bitte korrigieren Sie die Datums- und <API key> Ihres Computers, da canadacoin ansonsten nicht ordnungsgemäß funktionieren wird!</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source>
<translation>Warnung: Lesen von wallet.dat fehlgeschlagen! Alle Schlüssel wurden korrekt gelesen, Transaktionsdaten bzw. Adressbucheinträge fehlen aber möglicherweise oder sind inkorrekt.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source>
<translation>Warnung: wallet.dat beschädigt, Rettung erfolgreich! Original wallet.dat wurde als wallet.{Zeitstempel}.dat in %s gespeichert. Falls Ihr Kontostand oder Transaktionen nicht korrekt sind, sollten Sie von einer Datensicherung wiederherstellen.</translation>
</message>
<message>
<location line="+14"/>
<source>Attempt to recover private keys from a corrupt wallet.dat</source>
<translation>Versucht private Schlüssel aus einer beschädigten wallet.dat wiederherzustellen</translation>
</message>
<message>
<location line="+2"/>
<source>Block creation options:</source>
<translation><API key>:</translation>
</message>
<message>
<location line="+5"/>
<source>Connect only to the specified node(s)</source>
<translation>Nur mit dem/den angegebenen Knoten verbinden</translation>
</message>
<message>
<location line="+3"/>
<source>Corrupted block database detected</source>
<translation>Beschädigte Blockdatenbank erkannt</translation>
</message>
<message>
<location line="+1"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation>Eigene IP-Adresse erkennen (Standard: 1, wenn abgehört wird und nicht -externalip)</translation>
</message>
<message>
<location line="+1"/>
<source>Do you want to rebuild the block database now?</source>
<translation>Möchten Sie die Blockdatenbank nun neu aufbauen?</translation>
</message>
<message>
<location line="+2"/>
<source>Error initializing block database</source>
<translation>Fehler beim Initialisieren der Blockdatenbank</translation>
</message>
<message>
<location line="+1"/>
<source>Error initializing wallet database environment %s!</source>
<translation>Fehler beim Initialisieren der <API key> %s!</translation>
</message>
<message>
<location line="+1"/>
<source>Error loading block database</source>
<translation>Fehler beim Laden der Blockdatenbank</translation>
</message>
<message>
<location line="+4"/>
<source>Error opening block database</source>
<translation>Fehler beim Öffnen der Blockdatenbank</translation>
</message>
<message>
<location line="+2"/>
<source>Error: Disk space is low!</source>
<translation>Fehler: Zu wenig freier <API key>!</translation>
</message>
<message>
<location line="+1"/>
<source>Error: Wallet locked, unable to create transaction!</source>
<translation>Fehler: Brieftasche gesperrt, Transaktion kann nicht erstellt werden!</translation>
</message>
<message>
<location line="+1"/>
<source>Error: system error: </source>
<translation>Fehler: Systemfehler: </translation>
</message>
<message>
<location line="+1"/>
<source>Failed to listen on any port. Use -listen=0 if you want this.</source>
<translation>Fehler, es konnte kein Port abgehört werden. Wenn dies so gewünscht wird -listen=0 verwenden.</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to read block info</source>
<translation>Lesen der Blockinformationen fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to read block</source>
<translation>Lesen des Blocks fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to sync block index</source>
<translation>Synchronisation des Blockindex fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block index</source>
<translation>Schreiben des Blockindex fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block info</source>
<translation>Schreiben der Blockinformationen fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block</source>
<translation>Schreiben des Blocks fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write file info</source>
<translation>Schreiben der Dateiinformationen fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write to coin database</source>
<translation>Schreiben in die Münzendatenbank fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write transaction index</source>
<translation>Schreiben des Transaktionsindex fehlgeschlagen</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write undo data</source>
<translation>Schreiben der Rücksetzdaten fehlgeschlagen</translation>
</message>
<message>
<location line="+2"/>
<source>Find peers using DNS lookup (default: 1 unless -connect)</source>
<translation>Gegenstellen via DNS-Namensauflösung finden (Standard: 1, außer bei -connect)</translation>
</message>
<message>
<location line="+1"/>
<source>Generate coins (default: 0)</source>
<translation>canadacoins generieren (Standard: 0)</translation>
</message>
<message>
<location line="+2"/>
<source>How many blocks to check at startup (default: 288, 0 = all)</source>
<translation>Wieviele Blöcke sollen beim Starten geprüft werden (Standard: 288, 0 = alle)</translation>
</message>
<message>
<location line="+1"/>
<source>How thorough the block verification is (0-4, default: 3)</source>
<translation>Wie gründlich soll die Blockprüfung sein (0-4, Standard: 3)</translation>
</message>
<message>
<location line="+19"/>
<source>Not enough file descriptors available.</source>
<translation>Nicht genügend File-Deskriptoren verfügbar.</translation>
</message>
<message>
<location line="+8"/>
<source>Rebuild block chain index from current blk000??.dat files</source>
<translation>Blockkettenindex aus aktuellen Dateien blk000??.dat wiederaufbauen</translation>
</message>
<message>
<location line="+16"/>
<source>Set the number of threads to service RPC calls (default: 4)</source>
<translation>Maximale Anzahl an Threads zur Verarbeitung von RPC-Anfragen festlegen (Standard: 4)</translation>
</message>
<message>
<location line="+26"/>
<source>Verifying blocks...</source>
<translation>Verifiziere Blöcke...</translation>
</message>
<message>
<location line="+1"/>
<source>Verifying wallet...</source>
<translation>Verifiziere Brieftasche...</translation>
</message>
<message>
<location line="-69"/>
<source>Imports blocks from external blk000??.dat file</source>
<translation>Blöcke aus externer Datei blk000??.dat importieren</translation>
</message>
<message>
<location line="-76"/>
<source>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</source>
<translation>Maximale Anzahl an <API key> festlegen (bis zu 16, 0 = automatisch, <0 = soviele Kerne frei lassen, Standard: 0)</translation>
</message>
<message>
<location line="+77"/>
<source>Information</source>
<translation>Hinweis</translation>
</message>
<message>
<location line="+3"/>
<source>Invalid -tor address: '%s'</source>
<translation>Ungültige Adresse in -tor: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -minrelaytxfee=<amount>: '%s'</source>
<translation>Ungültiger Betrag für -minrelaytxfee=<amount>: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -mintxfee=<amount>: '%s'</source>
<translation>Ungültiger Betrag für -mintxfee=<amount>: '%s'</translation>
</message>
<message>
<location line="+8"/>
<source>Maintain a full transaction index (default: 0)</source>
<translation>Einen vollständigen Transaktionsindex pflegen (Standard: 0)</translation>
</message>
<message>
<location line="+2"/>
<source>Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)</source>
<translation>Maximale Größe, <n> * 1000 Byte, des Empfangspuffers pro Verbindung (Standard: 5000)</translation>
</message>
<message>
<location line="+1"/>
<source>Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)</source>
<translation>Maximale Größe, <n> * 1000 Byte, des Sendepuffers pro Verbindung (Standard: 1000)</translation>
</message>
<message>
<location line="+2"/>
<source>Only accept block chain matching built-in checkpoints (default: 1)</source>
<translation>Blockkette nur akzeptieren, wenn sie mit den integrierten Prüfpunkten übereinstimmt (Standard: 1)</translation>
</message>
<message>
<location line="+1"/>
<source>Only connect to nodes in network <net> (IPv4, IPv6 or Tor)</source>
<translation>Verbinde nur zu Knoten des Netztyps <net> (IPv4, IPv6 oder Tor)</translation>
</message>
<message>
<location line="+2"/>
<source>Output extra debugging information. Implies all other -debug* options</source>
<translation>Ausgabe zusätzlicher <API key>. Beinhaltet alle anderen "-debug*"-Parameter</translation>
</message>
<message>
<location line="+1"/>
<source>Output extra network debugging information</source>
<translation>Ausgabe zusätzlicher Netzwe<API key></translation>
</message>
<message>
<location line="+2"/>
<source>Prepend debug output with timestamp (default: 1)</source>
<translation>Der Debugausgabe einen Zeitstempel voranstellen</translation>
</message>
<message>
<location line="+5"/>
<source>SSL options: (see the canadacoin Wiki for SSL setup instructions)</source>
<translation>SSL-Optionen: (siehe canadacoin-Wiki für <API key>)</translation>
</message>
<message>
<location line="+1"/>
<source>Select the version of socks proxy to use (4-5, default: 5)</source>
<translation>SOCKS-Version des Proxies festlegen (4-5, Standard: 5)</translation>
</message>
<message>
<location line="+3"/>
<source>Send trace/debug info to console instead of debug.log file</source>
<translation>Rückverfolgungs- und Debuginformationen an die Konsole senden anstatt sie in die Datei debug.log zu schreiben</translation>
</message>
<message>
<location line="+1"/>
<source>Send trace/debug info to debugger</source>
<translation>Rückverfolgungs- und Debuginformationen an den Debugger senden</translation>
</message>
<message>
<location line="+5"/>
<source>Set maximum block size in bytes (default: 250000)</source>
<translation>Maximale Blockgröße in Byte festlegen (Standard: 250000)</translation>
</message>
<message>
<location line="+1"/>
<source>Set minimum block size in bytes (default: 0)</source>
<translation>Minimale Blockgröße in Byte festlegen (Standard: 0)</translation>
</message>
<message>
<location line="+2"/>
<source>Shrink debug.log file on client startup (default: 1 when no -debug)</source>
<translation>Verkleinere Datei debug.log beim Start des Clients (Standard: 1, wenn kein -debug)</translation>
</message>
<message>
<location line="+1"/>
<source>Signing transaction failed</source>
<translation>Signierung der Transaktion fehlgeschlagen</translation>
</message>
<message>
<location line="+2"/>
<source>Specify connection timeout in milliseconds (default: 5000)</source>
<translation>Verbindungstimeout in Millisekunden festlegen (Standard: 5000)</translation>
</message>
<message>
<location line="+4"/>
<source>System error: </source>
<translation>Systemfehler: </translation>
</message>
<message>
<location line="+4"/>
<source>Transaction amount too small</source>
<translation>Transaktionsbetrag zu gering</translation>
</message>
<message>
<location line="+1"/>
<source>Transaction amounts must be positive</source>
<translation>Transaktionsbeträge müssen positiv sein</translation>
</message>
<message>
<location line="+1"/>
<source>Transaction too large</source>
<translation>Transaktion zu groß</translation>
</message>
<message>
<location line="+7"/>
<source>Use UPnP to map the listening port (default: 0)</source>
<translation>UPnP verwenden, um die Portweiterleitung einzurichten (Standard: 0)</translation>
</message>
<message>
<location line="+1"/>
<source>Use UPnP to map the listening port (default: 1 when listening)</source>
<translation>UPnP verwenden, um die Portweiterleitung einzurichten (Standard: 1, wenn abgehört wird)</translation>
</message>
<message>
<location line="+1"/>
<source>Use proxy to reach tor hidden services (default: same as -proxy)</source>
<translation>Proxy verwenden, um versteckte Tor-Dienste zu erreichen (Standard: identisch mit -proxy)</translation>
</message>
<message>
<location line="+2"/>
<source>Username for JSON-RPC connections</source>
<translation>Benutzername für <API key></translation>
</message>
<message>
<location line="+4"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: This version is obsolete, upgrade required!</source>
<translation>Warnung: Diese Version is veraltet, Aktualisierung erforderlich!</translation>
</message>
<message>
<location line="+1"/>
<source>You need to rebuild the databases using -reindex to change -txindex</source>
<translation>Sie müssen die Datenbank mit Hilfe von -reindex neu aufbauen, um -txindex zu verändern.</translation>
</message>
<message>
<location line="+1"/>
<source>wallet.dat corrupt, salvage failed</source>
<translation>wallet.dat beschädigt, Rettung fehlgeschlagen</translation>
</message>
<message>
<location line="-50"/>
<source>Password for JSON-RPC connections</source>
<translation>Passwort für <API key></translation>
</message>
<message>
<location line="-67"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation><API key> von der angegebenen IP-Adresse erlauben</translation>
</message>
<message>
<location line="+76"/>
<source>Send commands to node running on <ip> (default: 127.0.0.1)</source>
<translation>Sende Befehle an Knoten <ip> (Standard: 127.0.0.1)</translation>
</message>
<message>
<location line="-120"/>
<source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source>
<translation>Kommando ausführen wenn der beste Block wechselt (%s im Kommando wird durch den Hash des Blocks ersetzt)</translation>
</message>
<message>
<location line="+147"/>
<source>Upgrade wallet to latest format</source>
<translation>Brieftasche auf das neueste Format aktualisieren</translation>
</message>
<message>
<location line="-21"/>
<source>Set key pool size to <n> (default: 100)</source>
<translation>Größe des Schlüsselpools festlegen auf <n> (Standard: 100)</translation>
</message>
<message>
<location line="-12"/>
<source>Rescan the block chain for missing wallet transactions</source>
<translation>Blockkette erneut nach fehlenden Transaktionen der Brieftasche durchsuchen</translation>
</message>
<message>
<location line="+35"/>
<source>Use OpenSSL (https) for JSON-RPC connections</source>
<translation>OpenSSL (https) für <API key> verwenden</translation>
</message>
<message>
<location line="-26"/>
<source>Server certificate file (default: server.cert)</source>
<translation>Serverzertifikat (Standard: server.cert)</translation>
</message>
<message>
<location line="+1"/>
<source>Server private key (default: server.pem)</source>
<translation>Privater Serverschlüssel (Standard: server.pem)</translation>
</message>
<message>
<location line="-151"/>
<source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source>
<translation>Akzeptierte Chiffren (Standard: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation>
</message>
<message>
<location line="+165"/>
<source>This help message</source>
<translation>Dieser Hilfetext</translation>
</message>
<message>
<location line="+6"/>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
<translation>Kann auf diesem Computer nicht an %s binden (von bind zurückgegebener Fehler %d, %s)</translation>
</message>
<message>
<location line="-91"/>
<source>Connect through socks proxy</source>
<translation>Verbindung über SOCKS-Proxy herstellen</translation>
</message>
<message>
<location line="-10"/>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
<translation>Erlaube DNS-Namensauflösung für -addnode, -seednode und -connect</translation>
</message>
<message>
<location line="+55"/>
<source>Loading addresses...</source>
<translation>Lade Adressen...</translation>
</message>
<message>
<location line="-35"/>
<source>Error loading wallet.dat: Wallet corrupted</source>
<translation>Fehler beim Laden von wallet.dat: Brieftasche beschädigt</translation>
</message>
<message>
<location line="+1"/>
<source>Error loading wallet.dat: Wallet requires newer version of canadacoin</source>
<translation>Fehler beim Laden von wallet.dat: Brieftasche benötigt neuere Version von canadacoin</translation>
</message>
<message>
<location line="+93"/>
<source>Wallet needed to be rewritten: restart canadacoin to complete</source>
<translation>Brieftasche musste neu geschrieben werden: Starten Sie canadacoin zur Fertigstellung neu</translation>
</message>
<message>
<location line="-95"/>
<source>Error loading wallet.dat</source>
<translation>Fehler beim Laden von wallet.dat (Brieftasche)</translation>
</message>
<message>
<location line="+28"/>
<source>Invalid -proxy address: '%s'</source>
<translation>Ungültige Adresse in -proxy: '%s'</translation>
</message>
<message>
<location line="+56"/>
<source>Unknown network specified in -onlynet: '%s'</source>
<translation>Unbekannter Netztyp in -onlynet angegeben: '%s'</translation>
</message>
<message>
<location line="-1"/>
<source>Unknown -socks proxy version requested: %i</source>
<translation>Unbekannte Proxyversion in -socks angefordert: %i</translation>
</message>
<message>
<location line="-96"/>
<source>Cannot resolve -bind address: '%s'</source>
<translation>Kann Adresse in -bind nicht auflösen: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot resolve -externalip address: '%s'</source>
<translation>Kann Adresse in -externalip nicht auflösen: '%s'</translation>
</message>
<message>
<location line="+44"/>
<source>Invalid amount for -paytxfee=<amount>: '%s'</source>
<translation>Ungültiger Betrag für -paytxfee=<amount>: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Invalid amount</source>
<translation>Ungültiger Betrag</translation>
</message>
<message>
<location line="-6"/>
<source>Insufficient funds</source>
<translation>Unzureichender Kontostand</translation>
</message>
<message>
<location line="+10"/>
<source>Loading block index...</source>
<translation>Lade Blockindex...</translation>
</message>
<message>
<location line="-57"/>
<source>Add a node to connect to and attempt to keep the connection open</source>
<translation>Mit dem Knoten verbinden und versuchen die Verbindung aufrecht zu halten</translation>
</message>
<message>
<location line="-25"/>
<source>Unable to bind to %s on this computer. canadacoin is probably already running.</source>
<translation>Kann auf diesem Computer nicht an %s binden. Evtl. wurde canadacoin bereits gestartet.</translation>
</message>
<message>
<location line="+64"/>
<source>Fee per KB to add to transactions you send</source>
<translation>Gebühr pro KB, die gesendeten Transaktionen hinzugefügt wird</translation>
</message>
<message>
<location line="+19"/>
<source>Loading wallet...</source>
<translation>Lade Brieftasche...</translation>
</message>
<message>
<location line="-52"/>
<source>Cannot downgrade wallet</source>
<translation>Brieftasche kann nicht auf eine ältere Version herabgestuft werden</translation>
</message>
<message>
<location line="+3"/>
<source>Cannot write default address</source>
<translation>Standardadresse kann nicht geschrieben werden</translation>
</message>
<message>
<location line="+64"/>
<source>Rescanning...</source>
<translation>Durchsuche erneut...</translation>
</message>
<message>
<location line="-57"/>
<source>Done loading</source>
<translation>Laden abgeschlossen</translation>
</message>
<message>
<location line="+82"/>
<source>To use the %s option</source>
<translation>Zur Nutzung der %s Option</translation>
</message>
<message>
<location line="-74"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
<location line="-31"/>
<source>You must set rpcpassword=<password> in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
<translation>Sie müssen den Wert rpcpassword=<passwort> in der Konfigurationsdatei angeben:
%s
Falls die Konfigurationsdatei nicht existiert, erzeugen Sie diese bitte mit Leserechten nur für den Dateibesitzer.</translation>
</message>
</context>
</TS> |
import {
AfterContentInit,
Component,
<API key>,
forwardRef,
Input
} from '@angular/core';
import { IgxColumnComponent } from './column.component';
import { <API key> } from './column-group.component';
@Component({
changeDetection: <API key>.OnPush,
providers: [{ provide: IgxColumnComponent, useExisting: forwardRef(() => <API key>) }],
selector: 'igx-column-layout',
template: ``
})
export class <API key> extends <API key> implements AfterContentInit {
public <API key> = [];
/**
* Gets the width of the column layout.
* ```typescript
* let columnGroupWidth = this.columnGroup.width;
* ```
*
* @memberof <API key>
*/
public get width(): any {
const width = this.<API key>(this.children).reduce((acc, val) => acc + parseInt(val, 10), 0);
return width;
}
public set width(val: any) { }
public get columnLayout() {
return true;
}
/**
* @hidden
*/
public getCalcWidth(): any {
let borderWidth = 0;
if (this.headerGroup && this.headerGroup.<API key>) {
const headerStyles = this.grid.document.defaultView.getComputedStyle(this.headerGroup.element.nativeElement.children[0]);
borderWidth = parseInt(headerStyles.borderRightWidth, 10);
}
return super.getCalcWidth() + borderWidth;
}
/**
* Gets the column visible index.
* If the column is not visible, returns `-1`.
* ```typescript
* let visibleColumnIndex = this.column.visibleIndex;
* ```
*
* @memberof IgxColumnComponent
*/
public get visibleIndex(): number {
if (!isNaN(this._vIndex)) {
return this._vIndex;
}
const unpinnedColumns = this.grid.unpinnedColumns.filter(c => c.columnLayout && !c.hidden);
const pinnedColumns = this.grid.pinnedColumns.filter(c => c.columnLayout && !c.hidden);
let vIndex = -1;
if (!this.pinned) {
const indexInCollection = unpinnedColumns.indexOf(this);
vIndex = indexInCollection === -1 ? -1 : pinnedColumns.length + indexInCollection;
} else {
vIndex = pinnedColumns.indexOf(this);
}
this._vIndex = vIndex;
return vIndex;
}
/*
* Gets whether the column layout is hidden.
* ```typescript
* let isHidden = this.columnGroup.hidden;
* ```
* @memberof <API key>
*/
@Input()
public get hidden() {
return this._hidden;
}
/**
* Sets the column layout hidden property.
* ```typescript
* <igx-column-layout [hidden] = "true"></igx-column->
* ```
*
* @memberof <API key>
*/
public set hidden(value: boolean) {
this._hidden = value;
this.children.forEach(child => child.hidden = value);
if (this.grid && this.grid.columns && this.grid.columns.length > 0) {
// reset indexes in case columns are hidden/shown runtime
const columns = this.grid && this.grid.pinnedColumns && this.grid.unpinnedColumns ?
this.grid.pinnedColumns.concat(this.grid.unpinnedColumns) : [];
if (!this._hidden && !columns.find(c => c.field === this.field)) {
this.grid.<API key>();
}
this.grid.columns.filter(x => x.columnLayout).forEach(x => x.<API key>());
}
}
/**
* @hidden
*/
public ngAfterContentInit() {
super.ngAfterContentInit();
if (!this.hidden) {
this.hidden = this.allChildren.some(x => x.hidden);
} else {
this.children.forEach(child => child.hidden = this.hidden);
}
this.children.forEach(child => {
child.movable = false;
});
}
/*
* Gets whether the group contains the last pinned child column of the column layout.
* ```typescript
* let columsHasLastPinned = this.columnLayout.<API key>;
* ```
* @memberof <API key>
*/
public get <API key>() {
return this.children.some(child => child.isLastPinned);
}
/*
* Gets whether the group contains the first pinned child column of the column layout.
* ```typescript
* let <API key> = this.columnLayout.<API key>;
* ```
* @memberof <API key>
*/
public get <API key>() {
return this.children.some(child => child.isFirstPinned);
}
/**
* @hidden
*/
public <API key>() {
this.<API key> = [];
const grid = this.gridAPI.grid;
const columns = grid && grid.pinnedColumns && grid.unpinnedColumns ? grid.pinnedColumns.concat(grid.unpinnedColumns) : [];
const orderedCols = columns
.filter(x => !x.columnGroup && !x.hidden)
.sort((a, b) => a.rowStart - b.rowStart || columns.indexOf(a.parent) - columns.indexOf(b.parent) || a.colStart - b.colStart);
this.children.forEach(child => {
const rs = child.rowStart || 1;
let vIndex = 0;
// filter out all cols with larger rowStart
const cols = orderedCols.filter(c =>
!c.columnGroup && (c.rowStart || 1) <= rs);
vIndex = cols.indexOf(child);
this.<API key>.push({ column: child, index: vIndex });
});
}
} |
<!doctype html>
<html>
<head>
<title>SystemJS tests</title>
</head>
<body>
<script>
window.assert = window.parent.assert;
window.done = window.parent.done;
</script>
<script base-url="./" config-main="@empty" src="../../../steal-with-promises.js"></script>
<script src="../system_test_config.js"></script>
<script>
System.import("package.json!npm").then(function() {
if (window.assert) {
assert.ok(typeof steal !== "undefined", "steal should be defined");
assert.equal(typeof steal.addNpmPackages, "function", "steal.addNpmPackages should be a function");
assert.equal(typeof steal.getNpmPackages, "function", "steal.getNpmPackages should be a function");
done();
} else {
console.log("addNpmPackages: ", steal.addNpmPackages);
console.log("getNpmPackages: ", steal.addNpmPackages);
}
}).then(null, function(err) {
console.error("Oh no, error!", err);
});
</script>
</body>
</html> |
<?php
namespace MiniAsset\Filter;
use MiniAsset\Filter\AssetFilter;
use MiniAsset\Filter\CssDependencyTrait;
use ScssPhp\ScssPhp\Compiler;
class ScssPHP extends AssetFilter
{
use CssDependencyTrait {
getDependencies as getCssDependencies;
}
protected $_settings = array(
'ext' => '.scss',
'imports' => [],
);
/**
* SCSS will use `_` prefixed files if they exist.
*
* @var string
*/
protected $<API key> = '_';
public function getDependencies($target)
{
return $this->getCssDependencies($target, $this->_settings['imports']);
}
/**
* @param string $filename The name of the input file.
* @param string $content The content of the file.
* @throws \Exception
* @return string
*/
public function input($filename, $content)
{
if (substr($filename, strlen($this->_settings['ext']) * -1) !== $this->_settings['ext']) {
return $content;
}
if (!class_exists('ScssPhp\\ScssPhp\\Compiler')) {
throw new \Exception(sprintf('Cannot not load filter class "%s".', 'ScssPhp\\ScssPhp\\Compiler'));
}
$sc = new Compiler();
$sc->addImportPath(dirname($filename));
foreach ($this->_settings['imports'] as $path) {
$sc->addImportPath($path);
}
return $sc->compile($content);
}
} |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.HDInsight
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
<summary>
Extension methods for <API key>.
</summary>
public static partial class <API key>
{
<summary>
Configures the HTTP settings on the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
<param name='parameters'>
The cluster configurations.
</param>
public static void UpdateHTTPSettings(this <API key> operations, string resourceGroupName, string clusterName, string configurationName, IDictionary<string, string> parameters)
{
operations.<API key>(resourceGroupName, clusterName, configurationName, parameters).GetAwaiter().GetResult();
}
<summary>
Configures the HTTP settings on the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
<param name='parameters'>
The cluster configurations.
</param>
<param name='cancellationToken'>
The cancellation token.
</param>
public static async Task <API key>(this <API key> operations, string resourceGroupName, string clusterName, string configurationName, IDictionary<string, string> parameters, Cancellation<API key> = default(CancellationToken))
{
(await operations.<API key>(resourceGroupName, clusterName, configurationName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
<summary>
The configuration object for the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
public static IDictionary<string, string> Get(this <API key> operations, string resourceGroupName, string clusterName, string configurationName)
{
return operations.GetAsync(resourceGroupName, clusterName, configurationName).GetAwaiter().GetResult();
}
<summary>
The configuration object for the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
<param name='cancellationToken'>
The cancellation token.
</param>
public static async Task<IDictionary<string, string>> GetAsync(this <API key> operations, string resourceGroupName, string clusterName, string configurationName, Cancellation<API key> = default(CancellationToken))
{
using (var _result = await operations.<API key>(resourceGroupName, clusterName, configurationName, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}
<summary>
Configures the HTTP settings on the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
<param name='parameters'>
The cluster configurations.
</param>
public static void <API key>(this <API key> operations, string resourceGroupName, string clusterName, string configurationName, IDictionary<string, string> parameters)
{
operations.<API key>(resourceGroupName, clusterName, configurationName, parameters).GetAwaiter().GetResult();
}
<summary>
Configures the HTTP settings on the specified cluster.
</summary>
<param name='operations'>
The operations group for this extension method.
</param>
<param name='resourceGroupName'>
The name of the resource group.
</param>
<param name='clusterName'>
The name of the cluster.
</param>
<param name='configurationName'>
The name of the cluster configuration.
</param>
<param name='parameters'>
The cluster configurations.
</param>
<param name='cancellationToken'>
The cancellation token.
</param>
public static async Task <API key>(this <API key> operations, string resourceGroupName, string clusterName, string configurationName, IDictionary<string, string> parameters, Cancellation<API key> = default(CancellationToken))
{
(await operations.<API key>(resourceGroupName, clusterName, configurationName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
}
} |
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var inputNumber = Console.ReadLine();
var resultList = new List<string>();
var longParse = true;
var uintParse = true;
var intParse = true;
var ushortParse = true;
var shortParse = true;
var byteParse = true;
var sbyteParse = true;
try
{
var longParsed = long.Parse(inputNumber);
}
catch (Exception)
{
longParse = false;
}
try
{
var uintParsed = uint.Parse(inputNumber);
}
catch (Exception)
{
uintParse = false;
}
try
{
var intParsed = int.Parse(inputNumber);
}
catch (Exception)
{
intParse = false;
}
try
{
var ushortParsed = ushort.Parse(inputNumber);
}
catch (Exception)
{
ushortParse = false;
}
try
{
var shortParsed = short.Parse(inputNumber);
}
catch (Exception)
{
shortParse = false;
}
try
{
var bytePrsed = byte.Parse(inputNumber);
}
catch (Exception)
{
byteParse = false;
}
try
{
var sbyteParsed = sbyte.Parse(inputNumber);
}
catch (Exception)
{
sbyteParse = false;
}
if (sbyteParse)
{
resultList.Add("sbyte");
}
if (byteParse)
{
resultList.Add("byte");
}
if (shortParse)
{
resultList.Add("short");
}
if (ushortParse)
{
resultList.Add("ushort");
}
if (intParse)
{
resultList.Add("int");
}
if (uintParse)
{
resultList.Add("uint");
}
if (longParse)
{
resultList.Add("long");
}
if (resultList.Count != 0)
{
Console.WriteLine($"{inputNumber} can fit in: ");
foreach (var str in resultList)
{
Console.WriteLine($"* {str}");
}
}
else
{
Console.WriteLine($"{inputNumber} can't fit in any type");
}
}
} |
<!DOCTYPE HTML PUBLIC "-
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="up" title="Petit FatFs" href="../00index_p.html">
<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
<link rel="stylesheet" href="../css_p.css" type="text/css" media="screen" title="ELM Default">
<title>Petit FatFs - disk_readp</title>
</head>
<body>
<div class="para">
<h2>disk_readp</h2>
<p>The disk_readp function reads a partial sector from the disk drive.</p>
<pre>
DRESULT disk_readp (
BYTE* <span class="arg">buff</span>, <span class="c">/* [OUT] Pointer to the read buffer */</span>
DWORD <span class="arg">sector</span>, <span class="c">/* [IN] Sector number */</span>
WORD <span class="arg">offset</span>, <span class="c">/* [IN] Byte offset in the sector to start to read */</span>
WORD <span class="arg">count</span> <span class="c">/* [IN] Number of bytes to read */</span>
);
</pre>
</div>
<div class="para">
<h4>Parameters</h4>
<dl class="par">
<dt>buff</dt>
<dd>Pointer to the read buffer to store the read data. If a NULL is given, read bytes will be forwarded to the outgoing stream instead of the read buffer.</dd>
<dt>sector</dt>
<dd>Specifies the sector to be read in logical block address (LBA).</dd>
<dt>offset</dt>
<dd>Specifies the byte offset in the sector to start to read. The value can be 0 to 511.</dd>
<dt>count</dt>
<dd>Specifies number of bytes to read. The value can be 0 to 512 and Offset + Count must not exceed 512.</dd>
</dl>
</div>
<div class="para">
<h4>Return Value</h4>
<dl class="ret">
<dt>RES_OK (0)</dt>
<dd>The function succeeded.</dd>
<dt>RES_ERROR</dt>
<dd>Any hard error occured during the disk read operation and could not recover it.</dd>
<dt>RES_PARERR</dt>
<dd>Invalid parameter.</dd>
<dt>RES_NOTRDY</dt>
<dd>The disk drive has not been initialized.</dd>
</dl>
</div>
<p class="foot"><a href="../00index_p.html">Return</a></p>
</body>
</html> |
// <auto-generated />
// Version 3.0.10
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
using System;
using System.Runtime.InteropServices;
namespace Noesis
{
public class <API key> : RoutedEventArgs {
private HandleRef swigCPtr;
internal <API key>(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(<API key> obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~<API key>() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NoesisGUI_PINVOKE.<API key>(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public float CursorLeft {
get {
return GetCursorLeftHelper();
}
}
public float CursorTop {
get {
return GetCursorTopHelper();
}
}
public <API key>(object s, RoutedEvent e, float left, float top) : this(NoesisGUI_PINVOKE.<API key>(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), left, top), true) {
if (NoesisGUI_PINVOKE.<API key>.Pending) throw NoesisGUI_PINVOKE.<API key>.Retrieve();
}
public <API key>(object s, RoutedEvent e, float left) : this(NoesisGUI_PINVOKE.<API key>(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), left), true) {
if (NoesisGUI_PINVOKE.<API key>.Pending) throw NoesisGUI_PINVOKE.<API key>.Retrieve();
}
public <API key>(object s, RoutedEvent e) : this(NoesisGUI_PINVOKE.<API key>(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e)), true) {
if (NoesisGUI_PINVOKE.<API key>.Pending) throw NoesisGUI_PINVOKE.<API key>.Retrieve();
}
private float GetCursorLeftHelper() {
float ret = NoesisGUI_PINVOKE.<API key>(swigCPtr);
if (NoesisGUI_PINVOKE.<API key>.Pending) throw NoesisGUI_PINVOKE.<API key>.Retrieve();
return ret;
}
private float GetCursorTopHelper() {
float ret = NoesisGUI_PINVOKE.<API key>(swigCPtr);
if (NoesisGUI_PINVOKE.<API key>.Pending) throw NoesisGUI_PINVOKE.<API key>.Retrieve();
return ret;
}
}
} |
import datetime
import sys
import pdb
from directory import directory
if False:
pdb.set_trace() # avoid warning message from pyflakes
class Logger(object):
# from stack overflow: how do i duplicat sys stdout to a log file in python
def __init__(self, logfile_path=None, logfile_mode='w', base_name=None):
def path(s):
return directory('log') + s + datetime.datetime.now().isoformat('T') + '.log'
self.terminal = sys.stdout
clean_path = logfile_path.replace(':', '-') if base_name is None else path(base_name)
self.log = open(clean_path, logfile_mode)
def write(self, message):
self.terminal.write(message)
self.log.write(message)
def flush():
pass
if False:
# usage example
sys.stdout = Logger('path/to/log/file')
# now print statements write on both stdout and the log file |
# Prototype Environment for NVMe
[.
## Usage
1. Download a Linux virtual machine image and place it into folder `img`
For example, the most recent version of the 64-bit qcow2 image for Ubuntu 16.04 is [<API key>.img](http:
1. Create a symbolic link `vm.img` pointed to the image file
bash
ln -s img/<image_file> img/vm.img
1. (Optional) Modify `img/my-user-data` and generate your `img/seed.img` using `cloud-localds`. `cloud-localds` is available in package `cloud-image-utils` if you are working on Ubuntu.
bash
cloud-localds img/my-seed.img img/my-user-data
The cloud-config is fed by `cloud-init` ([doc](http:
1. Create an empty file to hold the NVMe device.
bash
dd if=/dev/zero of=device/blknvme bs=1M count=1024
1. Boot the QEMU Linux system
bash
docker run -ti \
--privileged \
-v `pwd`/device:/root/device \
-v `pwd`/img:/root/img \
ljishen/qemu-nvme \
-smp 2 \
-m 8G
* `-smp` Simulate an SMP system with n CPUs
* `-m` Set the RAM size for the guest system
More options can be found at [QEMU Emulator User Documentation](http://download.qemu.org/qemu-doc.html).
1. Login the Linux system with your customized credential (password for the default user is `passw0rd`). Now you have the CNEX Labs LightNVM SDK - the LightNVM-compatible device working in the system.
Install the [nvme-cli](https://github.com/linux-nvme/nvme-cli) command line tool to play with the NVMe device. Here are some examples:
bash
# Show namespace properties in human-readable format
sudo nvme id-ns /dev/nvme0n1 -H
# Retrieve SMART log
sudo nvme smart-log /dev/nvme0n1
# Get feature of the NVMe controller
sudo nvme get-feature /dev/nvme0n1 -f 1 -H
# Read some starting logical blocks to the stdout
sudo nvme read /dev/nvme0n1 -z 128
Running SPDK Applications
If you want to use SPDK in this QEMU system emulator, please make sure your CPU supports the [SSSE3](https://en.wikipedia.org/wiki/SSSE3) instruction set before moving forward.
1. Install Docker in the emulation system using
bash
curl -fsSL get.docker.com | sh
You probably want to add your user to the docker group to avoid putting `sudo` before every `docker` command
bash
sudo usermod -aG docker $USER
Then log out and log back in order to re-evaluated your group membership.
1. Setup the SPDK environment by running container
bash
docker run -ti \
--privileged \
--ipc host \
-v /dev:/dev \
ljishen/spdk
Just wait until the source compiling finished.
1. Try any of the NVMe sample application in the SPDK repo. Here is the sample output from the "Hello World" application
bash
root@995b35de7a12:~/spdk# lspci | grep "Non-Volatile"
00:04.0 Non-Volatile memory controller: CNEX Labs QEMU NVM Express LightNVM Controller
root@995b35de7a12:~/spdk# examples/nvme/hello_world/hello_world
Starting DPDK 17.05.0 initialization...
[ DPDK EAL parameters: hello_world -c 0x1 --file-prefix=spdk0 --base-virtaddr=0x1000000000 --proc-type=auto ]
EAL: Detected 15 lcore(s)
EAL: Auto-detected process type: PRIMARY
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
Initializing NVMe Controllers
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL: probe driver: 1d1d:1f1f spdk_nvme
Attaching to 0000:00:04.0
Attached to 0000:00:04.0
Using controller QEMU NVMe Ctrl (deadbeef ) with 1 namespaces.
Namespace ID: 1 size: 1GB
Initialization complete.
Hello world!
1. For more details read the README of image [ljishen/spdk](https://github.com/ljishen/nvme-env/tree/master/docker/spdk).
## Troubleshooting
Look here if you have a problem while following the previous usage steps.
docker: failed to register layer: Error processing tar file(exit status 1): write /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a: no space left on device.
You may need to resize the image using [virt-* tools](https://docs.openstack.org/image-guide/modify-images.html#resize-an-image), then retry the failed docker command.
## Tested Environment
* Docker Version >= 1.12.5
* Ubuntu Release >= 12.04
## About
This work is based on [OpenChannelSSD/qemu-nvme](https://github.com/OpenChannelSSD/qemu-nvme).
## References
* Open-Channel Solid State Drives http://openchannelssd.readthedocs.io/en/latest/gettingstarted/
* Modify virtual machine image https://docs.openstack.org/image-guide/modify-images.html
* Storage Performance Development Kit (SPDK) Github https://github.com/spdk/spdk
* SPDK code sample - Hello World https://software.intel.com/en-us/articles/<API key> |
#include<stdio.h>
// Log
void printSort(int data[], int n, int currentIndex) {
printf("\n");
printf("%d:", currentIndex);
for (int i = 0; i < n; ++ i) {
printf("%d ", data[i]);
}
printf("\n");
}
// <API key>.c
/**
@param data
@param tmp
@param n
@param delta
*/
int <API key>(int data[], int tmp, int n, int delta) {
if (n < 0) return n + delta;
// printf("%d--%d--%d\n", n, data[n], tmp);
if (tmp < data[n]) {
data[n + delta] = data[n];
}else {
return n + delta;
}
return <API key>(data, tmp, n - delta, delta);
}
int <API key>(int data[], int n, int delta) {
return <API key>(data, data[n], n - delta, delta);
}
void <API key>(int data[], int n, int currentIndex, int delta) {
if (currentIndex >= n) return;
int tmp = data[currentIndex];
data[<API key>(data, currentIndex, delta)] = tmp;
<API key>(data, n, currentIndex + delta, delta);
}
/**
delta
@param data
@param n
@param currentIndex
@param delta
*/
void shellSort(int data[], int n, int currentIndex, int delta) {
if (delta % 2 == 0) {
printf("Delta error!");
return;
}
// printf("shellSort if:%d delta:%d\n",currentIndex + delta, delta);
if (delta < 1) return;
if (currentIndex + delta > n) {
printSort(data, n, currentIndex);
shellSort(data, n, 0, delta - 2);
}else {
<API key>(data, n, currentIndex + delta, delta);
// printf("shellSort:%d",currentIndex + delta + 1);
printSort(data, n, currentIndex);
if (delta > 1) {
shellSort(data, n, currentIndex + 1, delta);
}
}
}
int main() {
int data[] = {13, 12, 2, 22, 16, 11, 10, 1, 21, 15};
int n = 10;
shellSort(data, n, 0, 5);
return 0;
} |
package org.neteinstein.androidacademy.class1.layouts;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import org.neteinstein.androidacademy.R;
public class <API key> extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.<API key>);
getActionBar().hide();
}
} |
Installation instructions for openSUSE
===================================
- Install the latest Arduino IDE from [arduino.cc](https:
- Open Terminal and execute the following command (copy->paste and hit enter):
bash
sudo usermod -a -G dialout $USER && \
if [ `python --version 2>&1 | grep '2.7' | wc -l` = "1" ]; then \
sudo zypper install git python-pip python-pyserial; \
else \
sudo zypper install git python3-pip python3-pyserial; \
fi && \
mkdir -p ~/Arduino/hardware/espressif && \
cd ~/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32 && \
git submodule update --init --recursive && \
cd tools && \
python get.py
- Restart Arduino IDE |
RandomData
=======
A quick project to create data for a friend's EMR system.
Modify `template.json` or specify your own template in settings.py to create data in any form you wish. |
'use strict';
var host = location.origin.replace(/^http/, 'ws');
var ws = new WebSocket(host);
var clientId;
var msgId;
var Types = {
INIT: 'INIT',
TICK: 'TICK',
ENTER: 'ENTER',
CHAT: 'CHAT',
EXIT: 'EXIT',
};
function <API key> () {
setStatusMessage('Connection closed for unknown reason');
}
function <API key> () {
setStatusMessage('Connection error...');
}
function <API key> (event) {
var data = JSON.parse(event.data);
var content = data.content;
switch (data.type) {
case Types.INIT: handleInit(content); break;
case Types.ENTER: handleEnter(content); break;
case Types.TICK: handleTick(content); break;
case Types.CHAT: handleChat(content); break;
case Types.EXIT: handleExit(content); break;
default: console.error('Can\'t handle ' + data.type);
}
}
function handleInit (content) {
var span = document.createElement('span');
if (clientId) {
console.warn('Init already called before...');
return;
}
clientId = content.id;
msgId = clientId * 1024 * 124;
console.info('Init from server. id:', clientId, 'generating msgId:', msgId);
span.innerText = ' ' + clientId;
document.querySelector('.you-id').innerHTML = clientId;
prependLog('Connected at ' + dateFormat(new Date()));
}
function handleEnter (content) {
prependLog('New client entered: ' + content.id);
}
function handleTick (content) {
var time = dateFormat(new Date(content.date));
var count = content.clients;
var msg = count + ' online. (' + time + ')';
if (count === 1) { msg = 'Only you online. (' + time + ')'; }
setStatusMessage(msg);
}
function handleChat (content) {
var msg = `Message from ${content.id}: ${content.message}`;
prependLog(msg);
}
function handleExit (content) {
prependLog('Client left: ' + content.id);
}
function handleSendMessage () {
var msg = document.getElementById("message").value;
sendMessage(msg);
document.getElementById("message").value = ''
}
function sendMessage (msg) {
if (ws.readyState != WebSocket.OPEN) throw new Error('Not connected');
ws.send(JSON.stringify({
type: Types.CHAT,
content: {
id: clientId,
messageId: ++msgId,
message: msg,
},
}));
}
function prependLog (msg) {
var li = document.createElement('li');
var logList = document.querySelector('.log');
li.innerHTML = msg;
if (!logList.childNodes.length) {
logList.appendChild(li);
} else {
logList.insertBefore(li, logList.childNodes[0])
}
}
function setStatusMessage (msg) {
var statusSpan = document.querySelector('#status');
statusSpan.innerHTML = msg
}
function startup() {
ws.onclose = <API key>;
ws.onerror = <API key>;
ws.onmessage = <API key>;
}
startup();
function dateFormat (date) {
return date
.toISOString()
.slice(0, 19)
.replace('T', ' ');
} |
# Generated by Django 2.0.1 on 2018-02-10 11:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('event', '<API key>'),
]
operations = [
migrations.AlterModelOptions(
name='dancefloorevent',
options={'ordering': ['event_date'], 'verbose_name': 'Event', 'verbose_name_plural': 'Events'},
),
migrations.AlterModelOptions(
name='<API key>',
options={'ordering': ['event_date'], 'verbose_name': 'Event Detail', 'verbose_name_plural': 'Event Details'},
),
migrations.AddField(
model_name='dancefloorevent',
name='timetable_updated',
field=models.DateTimeField(blank=True, null=True),
),
] |
using System;
using Scada.AddIn.Contracts;
using DriverCommon;
namespace IEC850_API
{
<summary>
Description of Editor Wizard Extension.
</summary>
[AddInExtension("IEC850_API", "Test IEC850 API, Import and Export", "Drivers API/Export/Import")]
public class <API key> : <API key>
{
private Log _log;
private DriverContext _driverContext;
const string DriverIdent = "IEC850";
const string DriverName = "IEC 61850 Treiber";
const string XmlSuffixBefore = "before";
const string XmlSuffixAfter = "after";
#region <API key> implementation
public void Run(IEditorApplication context, IBehavior behavior)
{
_log = new Log(context, DriverIdent);
try
{
_driverContext = new DriverContext(context, _log, DriverName, false);
// enter your code which should be executed when starting the SCADA Editor Wizard
_log.Message("begin test");
_driverContext.Export(XmlSuffixBefore);
if (_driverContext.OpenDriver(10))
{
_driverContext.<API key>();
_driverContext.ModifyCOMProperties();
ModifyOptions();
_driverContext.CloseDriver();
_driverContext.Export(XmlSuffixAfter);
_driverContext.Import(XmlSuffixBefore);
}
_log.Message("end test");
}
catch (Exception ex)
{
_log.ExpectionMessage($"An exception has been thrown: {ex.Message}", ex);
throw;
}
}
private void ModifyOptions()
{
_log.<API key>("modify options");
_driverContext.SetStringProperty("DrvConfig.Options.<API key>", "d:\\temp\\<API key>.txt", true);
_driverContext.SetBooleanProperty("DrvConfig.Options.<API key>");
_driverContext.SetStringProperty("DrvConfig.Options.<API key>", "d:\\temp", true);
_driverContext.<API key>("DrvConfig.Options.<API key>", 0, 100000);
_driverContext.SetBooleanProperty("DrvConfig.Options.DoNotPurgeBRCB");
_driverContext.<API key>("DrvConfig.Options.OriginatorCategory", 0, 100000);
_log.FunctionExitMessage();
}
#endregion
}
} |
<?php
/* @var string $boxName */
/* @var string $manifestUrl */
?>
<API key> = "2"
Vagrant.configure(<API key>) do |config|
config.vm.box = "<?php echo $boxName; ?>"
config.vm.box_url = "<?php echo $manifestUrl; ?>"
end |
package com.shzisg.generator.config;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
public class DomainConfig {
private String url;
private String driver;
private String schema;
private String username;
private String password;
private String domainPackage;
private boolean all = true;
private String suffix = "Entity";
private String tablePrefix = "";
private List<TableConfig> tables = new ArrayList<>();
private List<Pattern> excludes = new ArrayList<>();
private List<Pattern> includes = new ArrayList<>();
private List<String> defaultIgnores = new ArrayList<>();
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getDriver() {
return driver;
}
public void setDriver(String driver) {
this.driver = driver;
}
public String getSchema() {
return schema;
}
public void setSchema(String schema) {
this.schema = schema;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getDomainPackage() {
return domainPackage;
}
public void setDomainPackage(String domainPackage) {
this.domainPackage = domainPackage;
}
public boolean isAll() {
return all;
}
public void setAll(boolean all) {
this.all = all;
}
public List<TableConfig> getTables() {
return tables;
}
public void setTables(List<TableConfig> tables) {
this.tables = tables;
}
public List<String> getDefaultIgnores() {
return defaultIgnores;
}
public void setDefaultIgnores(List<String> defaultIgnores) {
this.defaultIgnores = defaultIgnores;
}
public String getSuffix() {
return suffix;
}
public void setSuffix(String suffix) {
this.suffix = suffix;
}
public String getTablePrefix() {
return tablePrefix;
}
public void setTablePrefix(String tablePrefix) {
this.tablePrefix = tablePrefix;
}
public List<Pattern> getExcludes() {
return excludes;
}
public void setExcludes(List<String> excludes) {
this.excludes = excludes.stream()
.map(Pattern::compile)
.collect(Collectors.toList());
}
public List<Pattern> getIncludes() {
return includes;
}
public void setIncludes(List<Pattern> includes) {
this.includes = includes;
}
public boolean isInclude(String tableName) {
return includes.stream()
.anyMatch(pattern -> pattern.matcher(tableName).matches());
}
public boolean isExclude(String tableName) {
return excludes.stream()
.anyMatch(pattern -> pattern.matcher(tableName).matches());
}
} |
package inventorysystem.Beans;
/**
*
* @author HP
*/
public class PaymentInvoice {
private int invoiceId;
private int paymentId;
/**
* @return the invoiceId
*/
public int getInvoiceId() {
return invoiceId;
}
/**
* @param invoiceId the invoiceId to set
*/
public void setInvoiceId(int invoiceId) {
this.invoiceId = invoiceId;
}
/**
* @return the paymentId
*/
public int getPaymentId() {
return paymentId;
}
/**
* @param paymentId the paymentId to set
*/
public void setPaymentId(int paymentId) {
this.paymentId = paymentId;
}
} |
# TokyoRecord is a base class wrapping Tokyo Tyrant tables in an API that
# feels like ActiveRecord.
# A minimal implementation looks like this:
# class Presence < TokyoRecord
# cattr_accessor :table, :port
# @@table = nil
# @@port = 12345
# def initialize(options = {})
# self.class.init_connection(@@port)
# super(options)
# # specialized initialization of @key and @data
# end
# class << self # Class methods
# def init_connection(port = nil)
# port ||= @@port
# @@table = Rufus::Tokyo::TyrantTable.new('localhost', port) if @@table.nil?
# end
# end
# end
class TokyoRecord
attr_reader :key
# Raised when the descendant model does not define init_connection
# or doesn't initialize the @@table class variable with a working connection.
class ConnectionError < StandardError
end
def initialize(options = {})
@data = Hash.new
@key = options[:pk] # nil when new record
append_to_data(options)
end
def self.init_connection
raise ConnectionError, "You need to implement init_connection in your model"
end
def table
t = self.class.table
if t.nil? or not t.is_a?(Rufus::Tokyo::TyrantTable)
raise ConnectionError, "No connection to Tokyo Tyrant"
end
return t
end
def connected?
!table.nil?
end
def new_record?
@key.nil?
end
def save
time = Time.current.to_s(:db)
if new_record?
@key = table.genuid.to_s
@data["created_at"] = time
end
@data["updated_at"] = time
table[@key] = @data
end
def destroy
table.delete(@key)
end
# Returns true if the +comparison_object+ is the same object,
# or is of the same type and has the same key.
def ==(comparison_object)
comparison_object.equal?(self) ||
(comparison_object.instance_of?(self.class) &&
comparison_object.key == key &&
!comparison_object.new_record?)
end
# Delegates to ==
def eql?(comparison_object)
self == (comparison_object)
end
def method_missing(key, *args)
text = key.to_s
if text[-1, 1] == "=" # if key ends with = then set a value
@data[text.chop.to_sym] = args.first
else
if @data.keys.include?(text)
if text[-2, 2] == "id"
@data[text].to_i
else
@data[text]
end
else
super
end
end
end
class << self # Class methods
def all
records = assert_connected(table).query { |q| }
objects = []
records.each { |r| objects << new(r) }
objects
end
def count
assert_connected(table).size
end
def create(options = {})
object = new(options)
object.save
object
end
def first
keys = assert_connected(table).query { |q| q.pk_only }
key = keys.first
new(table[key].merge(:pk => key))
end
def last
keys = assert_connected(table).query { |q| q.pk_only }
key = keys.last
new(table[key].merge(:pk => key))
end
# Prepares and runs a query from the given block, returns an array
# of Ruby objects. Block is expected to work with Rufus::Tokyo::TableQuery
def query(&block)
items = assert_connected(table).query(&block)
results = []
items.each { |i| results << new(i) }
results
end
# Returns an object for the record with given key, or nil if it cannot
# be found.
def find_by_key(key)
result = assert_connected(table)[key]
return nil if result.nil?
return new(result.merge(:pk => key))
end
def new_key_for_prefix(prefix)
uid = assert_connected(table).genuid
"#{prefix}#{uid}"
end
protected
def assert_connected(t)
if t.nil? or not t.is_a?(Rufus::Tokyo::TyrantTable)
raise ConnectionError, "No connection to Tokyo Tyrant"
end
return t
end
end
protected
# Should be used instead of @data.merge, as we must have only strings as keys
def append_to_data(hash)
hash.each { |k, v| @data[k.to_s] = v.to_s unless k == :pk }
end
end |
## Pipefy GraphQL API
- [Pipefy GraphiQL](https://app.pipefy.com/graphiql)
- [Pipefy API documentation](http://docs.pipefy.apiary.io/)
## How to run
*Requirements*
- [nodejs](https://nodejs.org)
- [npm](https:
*Optional*
- [yarn](https://yarnpkg.com)
1. Install dependencies
`npm install`
or
`yarn install`
2. Start local server
`npm start`
or
`yarn start` |
# <API key>: true
module Mongoid
module Errors
# Raised when invalid arguments are passed to #find.
class InvalidFind < MongoidError
# Create the new invalid find error.
# @example Create the error.
# InvalidFind.new
def initialize
super(compose_message("<API key>", {}))
end
end
end
end |
#include "Dimitri.h"
#include "dynamixel.h"
#include "Util.h"
Dimitri::Dimitri(int deviceIndex, int baudnum)
{
// Initialize the communications channel
dxl_initialize(deviceIndex, baudnum);
// Builds right arm
this->rightArm = new JointChain();
this->rightArm->addJoint(new ElasticJoint(1, 101, 1860, 2646));
this->rightArm->addJoint(new ElasticJoint(2, 102, 4861-4096, 5770));
this->rightArm->addJoint(new ElasticJoint(3, 103, 5428-4096, 4480));
this->rightArm->addJoint(new ElasticJoint(4, 104, 6600-3996, 5316));
// Builds left arm
this->leftArm = new JointChain();
this->leftArm->addJoint(new ElasticJoint(8, 108, 7020-4096, 4238));
this->leftArm->addJoint(new ElasticJoint(7, 107, 5518-4096, 63098));
this->leftArm->addJoint(new ElasticJoint(6, 106, 6220-4096, 61300));
this->leftArm->addJoint(new ElasticJoint(5, 105, 5597-4096, 63327));
// Builds head
this->head = new JointChain();
this->head->addJoint(new Joint(9, 2048));
this->head->addJoint(new Joint(10, 2056));
// Builds waist
this->waist = new JointChain();
this->waist->addJoint(new Joint(11, 2048));
this->waist->addJoint(new Joint(12, 2048));
this->waist->addJoint(new Joint(13, 2038));
// Set the joint limits for the arms
this->rightArm->getJoint(ARMROLL)->setAngleLimits(DEG2RAD(-90.0),DEG2RAD(80.0));
this->leftArm->getJoint(ARMROLL)->setAngleLimits(DEG2RAD(-90.0),DEG2RAD(80.0));
this->rightArm->getJoint(ARMPITCH)->setAngleLimits(DEG2RAD(-150.0),DEG2RAD(210.0));
this->leftArm->getJoint(ARMPITCH)->setAngleLimits(DEG2RAD(-150.0),DEG2RAD(210.0));
this->rightArm->getJoint(ARMYAW)->setAngleLimits(DEG2RAD(-30.0),DEG2RAD(190.0));
this->leftArm->getJoint(ARMYAW)->setAngleLimits(DEG2RAD(-30.0),DEG2RAD(190.0));
this->rightArm->getJoint(ELBOW)->setAngleLimits(DEG2RAD(-100.0),DEG2RAD(0.0));
this->leftArm->getJoint(ELBOW)->setAngleLimits(DEG2RAD(-100.0),DEG2RAD(0.0));
// Set the joint limits for the head
this->head->getJoint(PAN)->setAngleLimits(DEG2RAD(-135.0),DEG2RAD(135.0));
this->head->getJoint(TILT)->setAngleLimits(DEG2RAD(-70.0),DEG2RAD(70.0));
// Set the joint limits for the waist
this->waist->getJoint(WAISTYAW)->setAngleLimits(DEG2RAD(-25.0),DEG2RAD(25.0));
this->waist->getJoint(WAISTROLL)->setAngleLimits(DEG2RAD(-20.0),DEG2RAD(20.0));
this->waist->getJoint(WAISTPITCH)->setAngleLimits(DEG2RAD(-30.0),DEG2RAD(25.0));
// Records the initial time
this->initial_time = clock();
}
Dimitri::~Dimitri()
{
// Delete left arm
dxl_terminate();
for (int i = 0 ; i < leftArm->getTotalJoints() ; i++)
{
delete this->leftArm->getJoint(i);
}
delete this->leftArm;
// Delete right arm
for (int i = 0 ; i < rightArm->getTotalJoints() ; i++)
{
delete this->rightArm->getJoint(i);
}
delete this->rightArm;
// Delete head
for (int i = 0 ; i < head->getTotalJoints() ; i++)
{
delete this->head->getJoint(i);
}
delete this->head;
// Delete waist
for (int i = 0 ; i < waist->getTotalJoints() ; i++)
{
delete this->waist->getJoint(i);
}
delete this->waist;
}
void Dimitri::update()
{
this->leftArm->update();
this->rightArm->update();
this->head->update();
this->waist->update();
}
void Dimitri::setControlMode(int mode)
{
this->leftArm->setControlMode(mode);
this->rightArm->setControlMode(mode);
this->head->setControlMode(mode);
this->waist->setControlMode(mode);
}
void Dimitri::setMaxTorque(int torque)
{
this->leftArm->setMaxTorque(torque);
this->rightArm->setMaxTorque(torque);
this->head->setMaxTorque(torque);
this->waist->setMaxTorque(torque);
}
void Dimitri::setPose(float lroll, float lpitch, float lyaw, float lelbow,
float rroll, float rpitch, float ryaw, float relbow,
float wroll, float wpitch, float wyaw,
float hpan, float htilt)
{
this->leftArm->getJoint(ARMROLL)->setGoalAngle(lroll);
this->leftArm->getJoint(ARMPITCH)->setGoalAngle(lpitch);
this->leftArm->getJoint(ARMYAW)->setGoalAngle(lyaw);
this->leftArm->getJoint(ELBOW)->setGoalAngle(lelbow);
this->rightArm->getJoint(ARMROLL)->setGoalAngle(rroll);
this->rightArm->getJoint(ARMPITCH)->setGoalAngle(rpitch);
this->rightArm->getJoint(ARMYAW)->setGoalAngle(ryaw);
this->rightArm->getJoint(ELBOW)->setGoalAngle(relbow);
this->waist->getJoint(WAISTROLL)->setGoalAngle(wroll);
this->waist->getJoint(WAISTPITCH)->setGoalAngle(wpitch);
this->waist->getJoint(WAISTYAW)->setGoalAngle(wyaw);
this->head->getJoint(PAN)->setGoalAngle(hpan);
this->head->getJoint(TILT)->setGoalAngle(htilt);
}
void Dimitri::setNormalizedPose(float lroll, float lpitch, float lyaw, float lelbow,
float rroll, float rpitch, float ryaw, float relbow,
float wroll, float wpitch, float wyaw,
float hpan, float htilt)
{
this->leftArm->getJoint(ARMROLL)-><API key>(lroll);
this->leftArm->getJoint(ARMPITCH)-><API key>(lpitch);
this->leftArm->getJoint(ARMYAW)-><API key>(lyaw);
this->leftArm->getJoint(ELBOW)-><API key>(lelbow);
this->rightArm->getJoint(ARMROLL)-><API key>(rroll);
this->rightArm->getJoint(ARMPITCH)-><API key>(rpitch);
this->rightArm->getJoint(ARMYAW)-><API key>(ryaw);
this->rightArm->getJoint(ELBOW)-><API key>(relbow);
this->waist->getJoint(WAISTROLL)-><API key>(wroll);
this->waist->getJoint(WAISTPITCH)-><API key>(wpitch);
this->waist->getJoint(WAISTYAW)-><API key>(wyaw);
this->head->getJoint(PAN)-><API key>(hpan);
this->head->getJoint(TILT)-><API key>(htilt);
}
void Dimitri::setPose(float pose[])
{
for (int i = 0 ; i < 21 ; i++)
{
switch (i)
{
case LROLL:
this->leftArm->getJoint(ARMROLL)->setGoalAngle(pose[i]);
break;
case LPITCH:
this->leftArm->getJoint(ARMPITCH)->setGoalAngle(pose[i]);
break;
case LYAW:
this->leftArm->getJoint(ARMYAW)->setGoalAngle(pose[i]);
break;
case LELBOW:
this->leftArm->getJoint(ELBOW)->setGoalAngle(pose[i]);
break;
case RROLL:
this->rightArm->getJoint(ARMROLL)->setGoalAngle(pose[i]);
break;
case RPITCH:
this->rightArm->getJoint(ARMPITCH)->setGoalAngle(pose[i]);
break;
case RYAW:
this->rightArm->getJoint(ARMYAW)->setGoalAngle(pose[i]);
break;
case RELBOW:
this->rightArm->getJoint(ELBOW)->setGoalAngle(pose[i]);
break;
case WROLL:
this->waist->getJoint(WAISTROLL)->setGoalAngle(pose[i]);
break;
case WPITCH:
this->waist->getJoint(WAISTPITCH)->setGoalAngle(pose[i]);
break;
case WYAW:
this->waist->getJoint(WAISTYAW)->setGoalAngle(pose[i]);
break;
case HPAN:
this->head->getJoint(PAN)->setGoalAngle(pose[i]);
break;
case HTILT:
this->head->getJoint(TILT)->setGoalAngle(pose[i]);
break;
}
}
}
void Dimitri::setNormalizedPose(float pose[])
{
for (int i = 0 ; i < 21 ; i++)
{
switch (i)
{
case LROLL:
this->leftArm->getJoint(ARMROLL)-><API key>(pose[i]);
break;
case LPITCH:
this->leftArm->getJoint(ARMPITCH)-><API key>(pose[i]);
break;
case LYAW:
this->leftArm->getJoint(ARMYAW)-><API key>(pose[i]);
break;
case LELBOW:
this->leftArm->getJoint(ELBOW)-><API key>(pose[i]);
break;
case RROLL:
this->rightArm->getJoint(ARMROLL)-><API key>(pose[i]);
break;
case RPITCH:
this->rightArm->getJoint(ARMPITCH)-><API key>(pose[i]);
break;
case RYAW:
this->rightArm->getJoint(ARMYAW)-><API key>(pose[i]);
break;
case RELBOW:
this->rightArm->getJoint(ELBOW)-><API key>(pose[i]);
break;
case WROLL:
this->waist->getJoint(WAISTROLL)-><API key>(pose[i]);
break;
case WPITCH:
this->waist->getJoint(WAISTPITCH)-><API key>(pose[i]);
break;
case WYAW:
this->waist->getJoint(WAISTYAW)-><API key>(pose[i]);
break;
case HPAN:
this->head->getJoint(PAN)-><API key>(pose[i]);
break;
case HTILT:
this->head->getJoint(TILT)-><API key>(pose[i]);
break;
}
}
}
void Dimitri::getNormalizedPose(float pose[]) //(&pose)[13])
{
for (int i = 0 ; i < 13 ; i++)
{
switch (i)
{
case LROLL:
pose[i] = this->leftArm->getJoint(ARMROLL)->getNormalizedAngle();
break;
case LPITCH:
pose[i] = this->leftArm->getJoint(ARMPITCH)->getNormalizedAngle();
break;
case LYAW:
pose[i] = this->leftArm->getJoint(ARMYAW)->getNormalizedAngle();
break;
case LELBOW:
pose[i] = this->leftArm->getJoint(ELBOW)->getNormalizedAngle();
break;
case RROLL:
pose[i] = this->rightArm->getJoint(ARMROLL)->getNormalizedAngle();
break;
case RPITCH:
pose[i] = this->rightArm->getJoint(ARMPITCH)->getNormalizedAngle();
break;
case RYAW:
pose[i] = this->rightArm->getJoint(ARMYAW)->getNormalizedAngle();
break;
case RELBOW:
pose[i] = this->rightArm->getJoint(ELBOW)->getNormalizedAngle();
break;
case WROLL:
pose[i] = this->waist->getJoint(WAISTROLL)->getNormalizedAngle();
break;
case WPITCH:
pose[i] = this->waist->getJoint(WAISTPITCH)->getNormalizedAngle();
break;
case WYAW:
pose[i] = this->waist->getJoint(WAISTYAW)->getNormalizedAngle();
break;
case HPAN:
pose[i] = this->head->getJoint(PAN)->getNormalizedAngle();
break;
case HTILT:
pose[i] = this->head->getJoint(TILT)->getNormalizedAngle();
break;
}
}
}
void Dimitri::getPose(float pose[]) //(&pose)[13])
{
for (int i = 0 ; i < 13 ; i++)
{
switch (i)
{
case LROLL:
pose[i] = this->leftArm->getJoint(ARMROLL)->getAngle();
break;
case LPITCH:
pose[i] = this->leftArm->getJoint(ARMPITCH)->getAngle();
break;
case LYAW:
pose[i] = this->leftArm->getJoint(ARMYAW)->getAngle();
break;
case LELBOW:
pose[i] = this->leftArm->getJoint(ELBOW)->getAngle();
break;
case RROLL:
pose[i] = this->rightArm->getJoint(ARMROLL)->getAngle();
break;
case RPITCH:
pose[i] = this->rightArm->getJoint(ARMPITCH)->getAngle();
break;
case RYAW:
pose[i] = this->rightArm->getJoint(ARMYAW)->getAngle();
break;
case RELBOW:
pose[i] = this->rightArm->getJoint(ELBOW)->getAngle();
break;
case WROLL:
pose[i] = this->waist->getJoint(WAISTROLL)->getAngle();
break;
case WPITCH:
pose[i] = this->waist->getJoint(WAISTPITCH)->getAngle();
break;
case WYAW:
pose[i] = this->waist->getJoint(WAISTYAW)->getAngle();
break;
case HPAN:
pose[i] = this->head->getJoint(PAN)->getAngle();
break;
case HTILT:
pose[i] = this->head->getJoint(TILT)->getAngle();
break;
}
}
}
void Dimitri::getPose(float &lroll, float &lpitch, float &lyaw, float &lelbow,
float &rroll, float &rpitch, float &ryaw, float &relbow,
float &wroll, float &wpitch, float &wyaw,
float &hpan, float &htilt)
{
lroll = this->leftArm->getJoint(ARMROLL)->getAngle();
lpitch = this->leftArm->getJoint(ARMPITCH)->getAngle();
lyaw = this->leftArm->getJoint(ARMYAW)->getAngle();
lelbow = this->leftArm->getJoint(ELBOW)->getAngle();
rroll = this->rightArm->getJoint(ARMROLL)->getAngle();
rpitch = this->rightArm->getJoint(ARMPITCH)->getAngle();
ryaw = this->rightArm->getJoint(ARMYAW)->getAngle();
relbow = this->rightArm->getJoint(ELBOW)->getAngle();
wroll = this->waist->getJoint(WAISTROLL)->getAngle();
wpitch = this->waist->getJoint(WAISTPITCH)->getAngle();
wyaw = this->waist->getJoint(WAISTYAW)->getAngle();
hpan = this->head->getJoint(PAN)->getAngle();
htilt = this->head->getJoint(TILT)->getAngle();
}
void Dimitri::getNormalizedPose(float &lroll, float &lpitch, float &lyaw, float &lelbow,
float &rroll, float &rpitch, float &ryaw, float &relbow,
float &wroll, float &wpitch, float &wyaw,
float &hpan, float &htilt)
{
lroll = this->leftArm->getJoint(ARMROLL)->getNormalizedAngle();
lpitch = this->leftArm->getJoint(ARMPITCH)->getNormalizedAngle();
lyaw = this->leftArm->getJoint(ARMYAW)->getNormalizedAngle();
lelbow = this->leftArm->getJoint(ELBOW)->getNormalizedAngle();
rroll = this->rightArm->getJoint(ARMROLL)->getNormalizedAngle();
rpitch = this->rightArm->getJoint(ARMPITCH)->getNormalizedAngle();
ryaw = this->rightArm->getJoint(ARMYAW)->getNormalizedAngle();
relbow = this->rightArm->getJoint(ELBOW)->getNormalizedAngle();
wroll = this->waist->getJoint(WAISTROLL)->getNormalizedAngle();
wpitch = this->waist->getJoint(WAISTPITCH)->getNormalizedAngle();
wyaw = this->waist->getJoint(WAISTYAW)->getNormalizedAngle();
hpan = this->head->getJoint(PAN)->getNormalizedAngle();
htilt = this->head->getJoint(TILT)->getNormalizedAngle();
}
void Dimitri::delay(double seconds)
{
// Records the initial time for each cycle
clock_t initial_time = clock();
double elapsed_time = 0;
do {
// Performs update
this->update();
// Calculates the elapsed time in this cycle so far
elapsed_time = double(clock() - initial_time) / CLOCKS_PER_SEC;
} while (elapsed_time < seconds);
}
void Dimitri::tick( double seconds )
{
double elapsed_time = 0;
time_t current_time;
do {
// Calculates the elapsed time in this cycle so far
current_time = clock();
elapsed_time = double(current_time - this->initial_time) / CLOCKS_PER_SEC;
} while (elapsed_time < seconds);
this->initial_time = current_time;
}
void Dimitri::tickUpdate( double seconds )
{
this->update();
this->tick( seconds );
} |
var DareAngelDashboard: DareAngel.Dashboard;
document.addEventListener('DOMContentLoaded', function() {
DareAngelDashboard = new DareAngel.Dashboard(document.getElementById("imagesCollection"));
}); |
require 'vcr'
VCR.configure do |c|
c.<API key> = 'fixtures/rspec/vcr'
c.hook_into :webmock
c.<API key> = { :record => :once }
c.<API key> = false
c.<API key>('<SIR_HANDEL_USERNAME>') { ENV['SIR_HANDEL_USERNAME'] }
c.<API key>('<SIR_HANDEL_PASSWORD>') { ENV['SIR_HANDEL_PASSWORD'] }
c.<API key>!
end |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace EspaceClient.BackOffice.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
}
}
} |
#include "CCActionGrid3D.h"
#include "CCPointExtension.h"
#include <stdlib.h>
namespace cocos2d
{
// implementation of CCWaves3D
CCWaves3D* CCWaves3D::actionWithWaves(int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCWaves3D *pAction = new CCWaves3D();
if (pAction)
{
if (pAction->initWithWaves(wav, amp, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCWaves3D::initWithWaves(int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
m_nWaves = wav;
m_fAmplitude = amp;
m_fAmplitudeRate = 1.0f;
return true;
}
return false;
}
CCObject* CCWaves3D::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCWaves3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCWaves3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCWaves3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithWaves(m_nWaves, m_fAmplitude, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCWaves3D::update(cocos2d::ccTime time)
{
int i, j;
for (i = 0; i < m_sGridSize.x + 1; ++i)
{
for (j = 0; j < m_sGridSize.y + 1; ++j)
{
ccVertex3F v = originalVertex(ccg(i ,j));
v.z += (sinf((CGFloat)M_PI * time * m_nWaves * 2 + (v.y+v.x) * .01f) * m_fAmplitude * m_fAmplitudeRate);
setVertex(ccg(i, j), v);
}
}
}
// implementation of CCFlipX3D
CCFlipX3D* CCFlipX3D::actionWithDuration(cocos2d::ccTime duration)
{
CCFlipX3D *pAction = new CCFlipX3D();
if (pAction)
{
if (pAction->initWithSize(ccg(1, 1), duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCFlipX3D::initWithDuration(cocos2d::ccTime duration)
{
return CCGrid3DAction::initWithSize(ccg(1, 1), duration);
}
bool CCFlipX3D::initWithSize(cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (gridSize.x != 1 || gridSize.y != 1)
{
// Grid size must be (1,1)
assert(0);
return false;
}
return CCGrid3DAction::initWithSize(gridSize, duration);
}
CCObject* CCFlipX3D::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCFlipX3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCFlipX3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCFlipX3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithSize(m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCFlipX3D::update(cocos2d::ccTime time)
{
CGFloat angle = (CGFloat)M_PI * time; // 180 degrees
CGFloat mz = sinf(angle);
angle = angle / 2.0f; // x calculates degrees from 0 to 90
CGFloat mx = cosf(angle);
ccVertex3F v0, v1, v, diff;
v0 = originalVertex(ccg(1, 1));
v1 = originalVertex(ccg(0, 0));
CGFloat x0 = v0.x;
CGFloat x1 = v1.x;
CGFloat x;
ccGridSize a, b, c, d;
if ( x0 > x1 )
{
// Normal Grid
a = ccg(0,0);
b = ccg(0,1);
c = ccg(1,0);
d = ccg(1,1);
x = x0;
}
else
{
// Reversed Grid
c = ccg(0,0);
d = ccg(0,1);
a = ccg(1,0);
b = ccg(1,1);
x = x1;
}
diff.x = ( x - x * mx );
diff.z = fabsf( floorf( (x * mz) / 4.0f ) );
// bottom-left
v = originalVertex(a);
v.x = diff.x;
v.z += diff.z;
setVertex(a, v);
// upper-left
v = originalVertex(b);
v.x = diff.x;
v.z += diff.z;
setVertex(b, v);
// bottom-right
v = originalVertex(c);
v.x -= diff.x;
v.z -= diff.z;
setVertex(c, v);
// upper-right
v = originalVertex(d);
v.x -= diff.x;
v.z -= diff.z;
setVertex(d, v);
}
// implementation of FlipY3D
CCFlipY3D* CCFlipY3D::actionWithDuration(ccTime duration)
{
CCFlipY3D *pAction = new CCFlipY3D();
if (pAction)
{
if (pAction->initWithSize(ccg(1, 1), duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
CCObject* CCFlipY3D::copyWithZone(CCZone* pZone)
{
CCZone* pNewZone = NULL;
CCFlipY3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCFlipY3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCFlipY3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCFlipX3D::copyWithZone(pZone);
pCopy->initWithSize(m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCFlipY3D::update(cocos2d::ccTime time)
{
CGFloat angle = (CGFloat)M_PI * time; // 180 degrees
CGFloat mz = sinf( angle );
angle = angle / 2.0f; // x calculates degrees from 0 to 90
CGFloat my = cosf(angle);
ccVertex3F v0, v1, v, diff;
v0 = originalVertex(ccg(1, 1));
v1 = originalVertex(ccg(0, 0));
CGFloat y0 = v0.y;
CGFloat y1 = v1.y;
CGFloat y;
ccGridSize a, b, c, d;
if (y0 > y1)
{
// Normal Grid
a = ccg(0,0);
b = ccg(0,1);
c = ccg(1,0);
d = ccg(1,1);
y = y0;
}
else
{
// Reversed Grid
b = ccg(0,0);
a = ccg(0,1);
d = ccg(1,0);
c = ccg(1,1);
y = y1;
}
diff.y = y - y * my;
diff.z = fabsf(floorf((y * mz) / 4.0f));
// bottom-left
v = originalVertex(a);
v.y = diff.y;
v.z += diff.z;
setVertex(a, v);
// upper-left
v = originalVertex(b);
v.y -= diff.y;
v.z -= diff.z;
setVertex(b, v);
// bottom-right
v = originalVertex(c);
v.y = diff.y;
v.z += diff.z;
setVertex(c, v);
// upper-right
v = originalVertex(d);
v.y -= diff.y;
v.z -= diff.z;
setVertex(d, v);
}
// implementation of Lens3D
CCLens3D* CCLens3D::actionWithPosition(cocos2d::CCPoint pos, float r, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCLens3D *pAction = new CCLens3D();
if (pAction)
{
if (pAction->initWithPosition(pos, r, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCLens3D::initWithPosition(cocos2d::CCPoint pos, float r, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
m_position = ccp(-1, -1);
setPosition(pos);
m_fRadius = r;
m_fLensEffect = 0.7f;
m_bDirty = true;
return true;
}
return false;
}
CCObject* CCLens3D::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCLens3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCLens3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCLens3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithPosition(m_position, m_fRadius, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCLens3D::setPosition(CCPoint pos)
{
if( ! CCPoint::CCPointEqualToPoint(pos, m_position) ) {
m_position = pos;
m_positionInPixels.x = pos.x * <API key>();
m_positionInPixels.y = pos.y * <API key>();
m_bDirty = true;
}
}
void CCLens3D::update(cocos2d::ccTime time)
{
if (m_bDirty)
{
int i, j;
for (i = 0; i < m_sGridSize.x + 1; ++i)
{
for (j = 0; j < m_sGridSize.y + 1; ++j)
{
ccVertex3F v = originalVertex(ccg(i, j));
CCPoint vect = ccpSub(m_positionInPixels, ccp(v.x, v.y));
CGFloat r = ccpLength(vect);
if (r < m_fRadius)
{
r = m_fRadius - r;
CGFloat pre_log = r / m_fRadius;
if ( pre_log == 0 )
{
pre_log = 0.001f;
}
float l = logf(pre_log) * m_fLensEffect;
float new_r = expf( l ) * m_fRadius;
if (ccpLength(vect) > 0)
{
vect = ccpNormalize(vect);
CCPoint new_vect = ccpMult(vect, new_r);
v.z += ccpLength(new_vect) * m_fLensEffect;
}
}
setVertex(ccg(i, j), v);
}
}
m_bDirty = false;
}
}
// implementation of Ripple3D
CCRipple3D* CCRipple3D::actionWithPosition(cocos2d::CCPoint pos, float r, int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCRipple3D *pAction = new CCRipple3D();
if (pAction)
{
if (pAction->initWithPosition(pos, r, wav, amp, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCRipple3D::initWithPosition(cocos2d::CCPoint pos, float r, int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
setPosition(pos);
m_fRadius = r;
m_nWaves = wav;
m_fAmplitude = amp;
m_fAmplitudeRate = 1.0f;
return true;
}
return false;
}
void CCRipple3D::setPosition(CCPoint position)
{
m_position = position;
m_positionInPixels.x = position.x * <API key>();
m_positionInPixels.y = position.y * <API key>();
}
CCObject* CCRipple3D::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCRipple3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCRipple3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCRipple3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithPosition(m_position, m_fRadius, m_nWaves, m_fAmplitude, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCRipple3D::update(cocos2d::ccTime time)
{
int i, j;
for (i = 0; i < (m_sGridSize.x+1); ++i)
{
for (j = 0; j < (m_sGridSize.y+1); ++j)
{
ccVertex3F v = originalVertex(ccg(i, j));
CCPoint vect = ccpSub(m_positionInPixels, ccp(v.x,v.y));
CGFloat r = ccpLength(vect);
if (r < m_fRadius)
{
r = m_fRadius - r;
CGFloat rate = powf(r / m_fRadius, 2);
v.z += (sinf( time*(CGFloat)M_PI * m_nWaves * 2 + r * 0.1f) * m_fAmplitude * m_fAmplitudeRate * rate);
}
setVertex(ccg(i, j), v);
}
}
}
// implementation of Shaky3D
CCShaky3D* CCShaky3D::actionWithRange(int range, bool shakeZ, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCShaky3D *pAction = new CCShaky3D();
if (pAction)
{
if (pAction->initWithRange(range, shakeZ, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCShaky3D::initWithRange(int range, bool shakeZ, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
m_nRandrange = range;
m_bShakeZ = shakeZ;
return true;
}
return false;
}
CCObject* CCShaky3D::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCShaky3D* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCShaky3D*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCShaky3D();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithRange(m_nRandrange, m_bShakeZ, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCShaky3D::update(cocos2d::ccTime time)
{
int i, j;
for (i = 0; i < (m_sGridSize.x+1); ++i)
{
for (j = 0; j < (m_sGridSize.y+1); ++j)
{
ccVertex3F v = originalVertex(ccg(i ,j));
v.x += (rand() % (m_nRandrange*2)) - m_nRandrange;
v.y += (rand() % (m_nRandrange*2)) - m_nRandrange;
if (m_bShakeZ)
{
v.z += (rand() % (m_nRandrange*2)) - m_nRandrange;
}
setVertex(ccg(i, j), v);
}
}
}
// implementation of Liquid
CCLiquid* CCLiquid::actionWithWaves(int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCLiquid *pAction = new CCLiquid();
if (pAction)
{
if (pAction->initWithWaves(wav, amp, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCLiquid::initWithWaves(int wav, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
m_nWaves = wav;
m_fAmplitude = amp;
m_fAmplitudeRate = 1.0f;
return true;
}
return false;
}
CCObject* CCLiquid::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCLiquid* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCLiquid*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCLiquid();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithWaves(m_nWaves, m_fAmplitude, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCLiquid::update(cocos2d::ccTime time)
{
int i, j;
for (i = 1; i < m_sGridSize.x; ++i)
{
for (j = 1; j < m_sGridSize.y; ++j)
{
ccVertex3F v = originalVertex(ccg(i, j));
v.x = (v.x + (sinf(time * (CGFloat)M_PI * m_nWaves * 2 + v.x * .01f) * m_fAmplitude * m_fAmplitudeRate));
v.y = (v.y + (sinf(time * (CGFloat)M_PI * m_nWaves * 2 + v.y * .01f) * m_fAmplitude * m_fAmplitudeRate));
setVertex(ccg(i, j), v);
}
}
}
// implementation of Waves
CCWaves* CCWaves::actionWithWaves(int wav, float amp, bool h, bool v, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCWaves *pAction = new CCWaves();
if (pAction)
{
if (pAction->initWithWaves(wav, amp, h, v, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCWaves::initWithWaves(int wav, float amp, bool h, bool v, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
m_nWaves = wav;
m_fAmplitude = amp;
m_fAmplitudeRate = 1.0f;
m_bHorizontal = h;
m_bVertical = v;
return true;
}
return false;
}
CCObject* CCWaves::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCWaves* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCWaves*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCWaves();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithWaves(m_nWaves, m_fAmplitude, m_bHorizontal, m_bVertical, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCWaves::update(cocos2d::ccTime time)
{
int i, j;
for (i = 0; i < m_sGridSize.x + 1; ++i)
{
for (j = 0; j < m_sGridSize.y + 1; ++j)
{
ccVertex3F v = originalVertex(ccg(i, j));
if (m_bVertical)
{
v.x = (v.x + (sinf(time * (CGFloat)M_PI * m_nWaves * 2 + v.y * .01f) * m_fAmplitude * m_fAmplitudeRate));
}
if (m_bHorizontal)
{
v.y = (v.y + (sinf(time * (CGFloat)M_PI * m_nWaves * 2 + v.x * .01f) * m_fAmplitude * m_fAmplitudeRate));
}
setVertex(ccg(i, j), v);
}
}
}
// implementation of Twirl
CCTwirl* CCTwirl::actionWithPosition(cocos2d::CCPoint pos, int t, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
CCTwirl *pAction = new CCTwirl();
if (pAction)
{
if (pAction->initWithPosition(pos, t, amp, gridSize, duration))
{
pAction->autorelease();
}
else
{
<API key>(pAction);
}
}
return pAction;
}
bool CCTwirl::initWithPosition(cocos2d::CCPoint pos, int t, float amp, cocos2d::ccGridSize gridSize, cocos2d::ccTime duration)
{
if (CCGrid3DAction::initWithSize(gridSize, duration))
{
setPosition(pos);
m_nTwirls = t;
m_fAmplitude = amp;
m_fAmplitudeRate = 1.0f;
return true;
}
return false;
}
void CCTwirl::setPosition(CCPoint position)
{
m_position = position;
m_positionInPixels.x = position.x * <API key>();
m_positionInPixels.y = position.y * <API key>();
}
CCObject* CCTwirl::copyWithZone(cocos2d::CCZone *pZone)
{
CCZone* pNewZone = NULL;
CCTwirl* pCopy = NULL;
if(pZone && pZone->m_pCopyObject)
{
//in case of being called at sub class
pCopy = (CCTwirl*)(pZone->m_pCopyObject);
}
else
{
pCopy = new CCTwirl();
pZone = pNewZone = new CCZone(pCopy);
}
CCGrid3DAction::copyWithZone(pZone);
pCopy->initWithPosition(m_position, m_nTwirls, m_fAmplitude, m_sGridSize, m_fDuration);
CC_SAFE_DELETE(pNewZone);
return pCopy;
}
void CCTwirl::update(cocos2d::ccTime time)
{
int i, j;
CCPoint c = m_positionInPixels;
for (i = 0; i < (m_sGridSize.x+1); ++i)
{
for (j = 0; j < (m_sGridSize.y+1); ++j)
{
ccVertex3F v = originalVertex(ccg(i ,j));
CCPoint avg = ccp(i-(m_sGridSize.x/2.0f), j-(m_sGridSize.y/2.0f));
CGFloat r = ccpLength(avg);
CGFloat amp = 0.1f * m_fAmplitude * m_fAmplitudeRate;
CGFloat a = r * cosf( (CGFloat)M_PI/2.0f + time * (CGFloat)M_PI * m_nTwirls * 2 ) * amp;
CCPoint d;
d.x = sinf(a) * (v.y-c.y) + cosf(a) * (v.x-c.x);
d.y = cosf(a) * (v.y-c.y) - sinf(a) * (v.x-c.x);
v.x = c.x + d.x;
v.y = c.y + d.y;
setVertex(ccg(i ,j), v);
}
}
}
} // end of namespace cocos2d |
-- Records of tuser
INSERT INTO `tuser` VALUES ('3', 'admin', '', '<API key>==', '1', NULL, '0', '0514-87433080', NULL);
INSERT INTO `tuser` VALUES ('451', 'cws666', '', '<API key>==', '6', NULL, '0', '15964075689', NULL);
-- Records of <API key>
INSERT INTO `<API key>` VALUES ('quarter-four', '16', '1');
INSERT INTO `<API key>` VALUES ('quarter-one', '12', '4');
INSERT INTO `<API key>` VALUES ('quarter-three', '15', '10');
INSERT INTO `<API key>` VALUES ('quarter-two', '13', '7');
-- Records of commoncode
INSERT INTO `commoncode` VALUES ('', null, '1', 'provence', 'provence1');
INSERT INTO `commoncode` VALUES ('', null, '10', 'provence', 'provence10');
INSERT INTO `commoncode` VALUES ('', null, '11', 'provence', 'provence11');
INSERT INTO `commoncode` VALUES ('', null, '12', 'provence', 'provence12');
INSERT INTO `commoncode` VALUES ('', null, '13', 'provence', 'provence13');
INSERT INTO `commoncode` VALUES ('', null, '14', 'provence', 'provence14');
INSERT INTO `commoncode` VALUES ('', null, '15', 'provence', 'provence15');
INSERT INTO `commoncode` VALUES ('', null, '16', 'provence', 'provence16');
INSERT INTO `commoncode` VALUES ('', null, '17', 'provence', 'provence17');
INSERT INTO `commoncode` VALUES ('', null, '18', 'provence', 'provence18');
INSERT INTO `commoncode` VALUES ('', null, '19', 'provence', 'provence19');
INSERT INTO `commoncode` VALUES ('', null, '2', 'provence', 'provence2');
INSERT INTO `commoncode` VALUES ('', null, '20', 'provence', 'provence20');
INSERT INTO `commoncode` VALUES ('', null, '21', 'provence', 'provence21');
INSERT INTO `commoncode` VALUES ('', null, '22', 'provence', 'provence22');
INSERT INTO `commoncode` VALUES ('', null, '23', 'provence', 'provence23');
INSERT INTO `commoncode` VALUES ('', null, '24', 'provence', 'provence24');
INSERT INTO `commoncode` VALUES ('', null, '25', 'provence', 'provence25');
INSERT INTO `commoncode` VALUES ('', null, '26', 'provence', 'provence26');
INSERT INTO `commoncode` VALUES ('', null, '27', 'provence', 'provence27');
INSERT INTO `commoncode` VALUES ('', null, '28', 'provence', 'provence28');
INSERT INTO `commoncode` VALUES ('', null, '29', 'provence', 'provence29');
INSERT INTO `commoncode` VALUES ('', null, '3', 'provence', 'provence3');
INSERT INTO `commoncode` VALUES ('', null, '30', 'provence', 'provence30');
INSERT INTO `commoncode` VALUES ('', null, '31', 'provence', 'provence31');
INSERT INTO `commoncode` VALUES ('', null, '4', 'provence', 'provence4');
INSERT INTO `commoncode` VALUES ('', null, '5', 'provence', 'provence5');
INSERT INTO `commoncode` VALUES ('', null, '6', 'provence', 'provence6');
INSERT INTO `commoncode` VALUES ('', null, '7', 'provence', 'provence7');
INSERT INTO `commoncode` VALUES ('', null, '8', 'provence', 'provence8');
INSERT INTO `commoncode` VALUES ('', null, '9', 'provence', 'provence9'); |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<!--[if lte IE 9]><meta http-equiv="refresh" content="0;url=/ie.html"><![endif]-->
<title>404 Not Found Error</title>
<meta name="description" content="">
<link rel="icon" type="image/png" href="/assets/img/favicon.png" />
<link rel="stylesheet" type="text/css" href="/assets/css/style.css">
</head>
<body>
<aside id="sidebar">
<nav id="tags">
<a href="/index.html" id="avatar"></a>
<ul id="tags__ul">
<li id="js-label1" class="tags__li tags-btn active"></li>
<li id="js-label2" class="tags__li tags-btn"></li>
<li id="js-label3" class="tags__li tags-btn"></li>
<li id="js-label4" class="tags__li tags-btn"></li>
<li id="js-label5" class="tags__li tags-btn"></li>
<li id="js-label6" class="tags__li tags-btn"></li>
</ul>
<div id="tags__bottom">
<a href="mailto:zhanghao19930820@163.com" id="icon-email" class="tags-btn fontello"></a>
<a href="/rss.xml" id="icon-feed" class="tags-btn fontello"></a>
</div>
</nav> <!-- end #tags -->
<div id="posts-list">
<form action="" id="search-form">
<a href="/index.html" id="mobile-avatar"></a>
<div style="padding: 20px 20px 20px; font-size: 18px;font-family: inherit; color: #1B813F;
"></div>
</form>
<nav id="pl__container">
<a class="technology pl__all" href="/technology/2015/05/10/Others-Code.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">May 2015</span></a>
<a class="technology pl__all" href="/technology/2015/05/06/Android-DateUtil.html"><span class="pl__circle"></span><span class="pl__title">Android dateUtils</span><span class="pl__date">May 2015</span></a>
<a class="life pl__all" href="/life/2015/05/04/focus.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">May 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/26/<API key>.html"><span class="pl__circle"></span><span class="pl__title">android </span><span class="pl__date">Apr 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/26/Android-ThreadUtils.html"><span class="pl__circle"></span><span class="pl__title">Android ThreadUtils</span><span class="pl__date">Apr 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/26/Android-SameTitle.html"><span class="pl__circle"></span><span class="pl__title">Android </span><span class="pl__date">Apr 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/26/Android-Popupwindow.html"><span class="pl__circle"></span><span class="pl__title">Android Popupwindow</span><span class="pl__date">Apr 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/26/Android-Baidu.html"><span class="pl__circle"></span><span class="pl__title">Android api</span><span class="pl__date">Apr 2015</span></a>
<a class="life pl__all" href="/life/2015/04/14/main-life.html"><span class="pl__circle"></span><span class="pl__title">2015.4</span><span class="pl__date">Apr 2015</span></a>
<a class="like pl__all" href="/like/2015/04/14/like-orglist.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">Apr 2015</span></a>
<a class="read pl__all" href="/read/2015/04/14/book-2015-04.html"><span class="pl__circle"></span><span class="pl__title">2015. </span><span class="pl__date">Apr 2015</span></a>
<a class="about pl__all" href="/about/2015/04/14/about-blogText.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">Apr 2015</span></a>
<a class="life pl__all" href="/life/2015/04/14/Movie-Life.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">Apr 2015</span></a>
<a class="technology pl__all" href="/technology/2015/04/07/blog.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">Apr 2015</span></a>
<a class="about pl__all" href="/about/2015/03/08/about-me.html"><span class="pl__circle"></span><span class="pl__title"></span><span class="pl__date">Mar 2015</span></a>
<a class="technology pl__all" href="/technology/2015/03/08/Android-Environment.html"><span class="pl__circle"></span><span class="pl__title">Android Environment</span><span class="pl__date">Mar 2015</span></a>
<a class="technology pl__all" href="/technology/2015/03/08/Android-CSDN.html"><span class="pl__circle"></span><span class="pl__title">CSDN2015</span><span class="pl__date">Mar 2015</span></a>
</nav>
</div> <!-- end #posts-list -->
</aside> <!-- end #sidebar -->
<div id="post">
<div id="pjax">
<article id="post__content">
<h1 id="post__title">404 Not Found Error</h1>
</article> <!-- end #post__content -->
</div> <!-- end #pjax -->
<div id="post__toc-trigger">
<div id="post__toc">
<span id="post__toc-title">Table of Contents</span>
<ul id="post__toc-ul"></ul>
</div>
</div>
</div> <!-- end #post -->
<button id="js-fullscreen"><span id="icon-arrow" class="fontello"></span></button>
<script src="/assets/js/jquery-2.0.3.min.js"></script>
<script src="/assets/js/jquery.pjax.js"></script>
<script src="/assets/js/nprogress.js"></script>
<script src="/assets/js/script.js"></script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https:
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%<API key>' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html> |
module I18n
class ArgumentError < ::ArgumentError; end
class InvalidLocale < ArgumentError
attr_reader :locale
def initialize(locale)
@locale = locale
super "#{locale.inspect} is not a valid locale"
end
end
class <API key> < ArgumentError
attr_reader :locale, :key, :options
def initialize(locale, key, options)
@key, @locale, @options = key, locale, options
keys = I18n.send(:<API key>, locale, key, options[:scope])
keys << 'no key' if keys.size < 2
super "translation missing: #{keys.join(', ')}"
end
end
class <API key> < ArgumentError
attr_reader :entry, :count
def initialize(entry, count)
@entry, @count = entry, count
super "translation data #{entry.inspect} can not be used with :count => #{count}"
end
end
class <API key> < ArgumentError
attr_reader :key, :string
def initialize(key, string)
@key, @string = key, string
super "interpolation argument #{key} missing in #{string.inspect}"
end
end
class <API key> < ArgumentError
attr_reader :key, :string
def initialize(key, string)
@key, @string = key, string
super "reserved key #{key.inspect} used in #{string.inspect}"
end
end
end |
define(["exports", "aurelia-metadata", "aurelia-loader", "aurelia-path"], function (exports, _aureliaMetadata, _aureliaLoader, _aureliaPath) {
"use strict";
var <API key> = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
var _inherits = function (subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) subClass.__proto__ = superClass; };
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } };
var Origin = _aureliaMetadata.Origin;
var Loader = _aureliaLoader.Loader;
var join = _aureliaPath.join;
if (!window.System || !window.System["import"]) {
var sys = window.System = window.System || {};
sys.polyfilled = true;
sys.map = {};
sys["import"] = function (moduleId) {
return new Promise(function (resolve, reject) {
require([moduleId], resolve, reject);
});
};
sys.normalize = function (url) {
return Promise.resolve(url);
};
}
function <API key>(executed, name) {
var target = executed,
key,
exportedValue;
if (target.__useDefault) {
target = target["default"];
}
Origin.set(target, new Origin(name, "default"));
for (key in target) {
exportedValue = target[key];
if (typeof exportedValue === "function") {
Origin.set(exportedValue, new Origin(name, key));
}
}
return executed;
}
Loader.createDefaultLoader = function () {
return new DefaultLoader();
};
var DefaultLoader = exports.DefaultLoader = (function (Loader) {
function DefaultLoader() {
_classCallCheck(this, DefaultLoader);
this.baseUrl = System.baseUrl;
this.baseViewUrl = System.baseViewUrl || System.baseUrl;
this.registry = {};
}
_inherits(DefaultLoader, Loader);
<API key>(DefaultLoader, null, {
loadModule: {
value: function loadModule(id, baseUrl) {
var _this = this;
baseUrl = baseUrl === undefined ? this.baseUrl : baseUrl;
if (baseUrl && id.indexOf(baseUrl) !== 0) {
id = join(baseUrl, id);
}
return System.normalize(id).then(function (newId) {
var existing = _this.registry[newId];
if (existing) {
return existing;
}
return System["import"](newId).then(function (m) {
_this.registry[newId] = m;
return <API key>(m, newId);
});
});
},
writable: true,
configurable: true
},
loadAllModules: {
value: function loadAllModules(ids) {
var loads = [];
var <API key> = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = ids[Symbol.iterator](), _step; !(<API key> = (_step = _iterator.next()).done); <API key> = true) {
var id = _step.value;
loads.push(this.loadModule(id));
}
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!<API key> && _iterator["return"]) {
_iterator["return"]();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
return Promise.all(loads);
},
writable: true,
configurable: true
},
loadTemplate: {
value: function loadTemplate(url) {
if (this.baseViewUrl && url.indexOf(this.baseViewUrl) !== 0) {
url = join(this.baseViewUrl, url);
}
return this.importTemplate(url);
},
writable: true,
configurable: true
}
});
return DefaultLoader;
})(Loader);
Object.defineProperty(exports, "__esModule", {
value: true
});
}); |
<?php
namespace Kleod\UserBundle\Entity;
use FOS\UserBundle\Model\User as BaseUser;
use Kleod\CTBundle\Entity\Entreprise;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* User
*
* @ORM\Table(name="User")
* @ORM\Entity(repositoryClass="Kleod\UserBundle\Entity\UserRepository")
*/
class User extends BaseUser
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(type="string", length=255)
*
* @Assert\NotBlank(message="Please enter your name.", groups={"Registration", "Profile"})
* @Assert\Length(
* min=3,
* max="255",
* minMessage="The name is too short.",
* maxMessage="The name is too long.",
* groups={"Registration", "Profile"}
* )
*/
protected $nom;
/**
* @ORM\Column(type="string", length=255)
*
* @Assert\NotBlank(message="Please enter your firstname.", groups={"Registration", "Profile"})
* @Assert\Length(
* min=3,
* max="255",
* minMessage="The firstname is too short.",
* maxMessage="The firstname is too long.",
* groups={"Registration", "Profile"}
* )
*/
protected $prenom;
/**
* @ORM\ManyToOne(
* targetEntity="Kleod\CTBundle\Entity\Adresse",
* cascade={"persist", "remove"})
* @ORM\JoinColumn(name="entreprise_id", <API key>="id")
* @Assert\Valid()
protected $adresse;*/
/**
* @ORM\ManyToOne(
* targetEntity="Kleod\CTBundle\Entity\Entreprise",
* cascade={"persist"})
* @ORM\JoinColumn(name="entreprise_id", <API key>="id")
* @Assert\Valid()
*/
protected $entreprise;
public function __construct() {
parent::__construct();
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set nom
*
* @param string $nom
* @return User
*/
public function setNom($nom)
{
$this->nom = $nom;
return $this;
}
/**
* Get nom
*
* @return string
*/
public function getNom()
{
return $this->nom;
}
/**
* Set prenom
*
* @param string $prenom
* @return User
*/
public function setPrenom($prenom)
{
$this->prenom = $prenom;
return $this;
}
/**
* Get prenom
*
* @return string
*/
public function getPrenom()
{
return $this->prenom;
}
/**
* Set entreprise
*
* @param Entreprise $entreprise
* @return Entreprise
*/
public function setEntreprise(Entreprise $entreprise = null)
{
$this->entreprise = $entreprise;
return $this;
}
/**
* Get entreprise
*
* @return Entreprise
*/
public function getEntreprise()
{
return $this->entreprise;
}
} |
![telize-node Logo][logo]
An asynchronous client library for Telize [API](http://telize.com/).
[![NPM Package Version][<API key>]][npm-package-url]
[![NPM Package License][<API key>]][<API key>]
[![NPM Package Downloads][<API key>]][npm-package-url]
[![Dependencies Status][<API key>]][<API key>]
[![devDependencies Status][<API key>]][<API key>]
[![Node Version][node-version-badge]][<API key>]
[![Travis CI Build Status][<API key>]][<API key>]
[![Code Climate Status][<API key>]][<API key>]
[![Code Climate Test Coverage Status][<API key>]][<API key>]
[![Inch CI Documentation Coverage Status][<API key>]][<API key>]
[![NPM Package Statistics][<API key>]][npm-package-url]
## Installation
`npm install telize-node`
## Quick Start
The quickest way to get started is by executing following code:
javascript
var telize = require("telize-node")();
telize.getIP(function(error, ip) {
if(!error) {
console.log(ip);
} else {
console.error(error);
}
});
If everything went well, you'll see your current IP address in the console:
javascript
46.19.37.108
## Documentation
getIP
Requests current IP address.
# Example
Requests current IP address.
javascript
telize.getIP(function(error, ip) {
if(!error) {
console.log(ip);
} else {
console.error(error);
}
});
# Errors
When errors occur, you receive an error object with default properties as a first argument of the callback.
***
getGeoIP
Requests Geo IP data.
# Examples
Requests GeoIP data for current IP address.
javascript
telize.getGeoIP(function(error, data) {
if(!error) {
console.log(data);
} else {
console.error(error);
}
});
Requests GeoIP data for manually set IPv4 address.
javascript
telize.getGeoIP("46.19.37.108", function(error, data) {
if(!error) {
console.log(data);
} else {
console.error(error);
}
});
Requests GeoIP data for manually set IPv6 address.
javascript
telize.getGeoIP("2a02:2770::21a:4aff:feb3:2ee", function(error, data) {
if(!error) {
console.log(data);
} else {
console.error(error);
}
});
# Errors
When errors occur, you receive an error object with default properties as a first argument of the callback.
## Tests
To run the test suite, first install the dependencies, then run `npm test`:
bash
$ npm install
$ npm test
Distributed under the [MIT License](LICENSE).
[logo]: https://cldup.com/mRUAz79vf1.png
[npm-package-url]: https://npmjs.org/package/telize-node
[<API key>]: https://img.shields.io/npm/v/telize-node.svg?style=flat-square
[<API key>]: https://img.shields.io/npm/l/telize-node.svg?style=flat-square
[<API key>]: http:
[<API key>]: https://img.shields.io/npm/dm/telize-node.svg?style=flat-square
[<API key>]: https://david-dm.org/AnatoliyGatt/telize-node.svg?style=flat-square
[<API key>]: https://david-dm.org/AnatoliyGatt/telize-node#info=dependencies
[<API key>]: https://david-dm.org/AnatoliyGatt/telize-node/dev-status.svg?style=flat-square
[<API key>]: https://david-dm.org/AnatoliyGatt/telize-node#info=devDependencies
[node-version-badge]: https://img.shields.io/node/v/telize-node.svg?style=flat-square
[<API key>]: https://nodejs.org/en/download/
[<API key>]: https://img.shields.io/travis/AnatoliyGatt/telize-node.svg?style=flat-square
[<API key>]: https://travis-ci.org/AnatoliyGatt/telize-node
[<API key>]: https://img.shields.io/codeclimate/github/AnatoliyGatt/telize-node.svg?style=flat-square
[<API key>]: https://codeclimate.com/github/AnatoliyGatt/telize-node
[<API key>]: https://img.shields.io/codeclimate/coverage/github/AnatoliyGatt/telize-node.svg?style=flat-square
[<API key>]: https://codeclimate.com/github/AnatoliyGatt/telize-node/coverage
[<API key>]: https://inch-ci.org/github/AnatoliyGatt/telize-node.svg?style=flat-square
[<API key>]: https://inch-ci.org/github/AnatoliyGatt/telize-node
[<API key>]: https://nodei.co/npm/telize-node.png?downloads=true&downloadRank=true&stars=true |
# [ANN][SCRYPT-N-R][MEG] Megcoin | No premine | Forked from bitcoin 0.9 | ASIC-resistant

## About
Megcoin is a revolutionary new cryptocurrency designed first and foremost as a currency. It is positioned to become a major cryptocurrency for many reasons. It uses a short payout streak and a new algorithm to ensure ASICs will never be a problem, nor will multipools. Megcoin is forked from Bitcoin 0.9 to ensure that all of the recent Bitcoin wallet enhancements apply to this coin as well. It was provably not premined and is fully featured with multiple <API key> DNS seed nodes to ensure extremely fast wallet synchronizations. For a limited time it is CPU only, until a GPU miner is ported.
## Rebrand and Reannouncement
Not enough time was spent before launch making a good logo and marketing. This is a rebrand and reannouncement of the coin with a fresh look and better marketing strategy to correct that. All coins already mined are unchanged. This is only a new look and strategy with additional team members.
## Specifications:
* Launched May 3rd, 2014
* PoW Algo: Scrypt-8-4 (scrypt-n-r)
* Premine: 0%
* Total: infinite (20K final block reward)
* Block time: one minute
* Reward halved: every 200,000 blocks
* Rewards mature: 120 blocks (~2 hours)
* Difficulty adjustment: Every block, digishield
* Wallet forked from Bitcoin 0.9
## Reward schedule:
* 1–200,000: 500K Megcoin
* 200,001–400,000: 250K Megcoin
* 400,001–600,000: 125K Megcoin
* 600,001–800,000: 62500 Megcoin
* 800,001–1,000,000: 31,250 Megcoin
* 1,000,000+: 20,000 Megcoin
## Scrypt-N-R
Megcoin's algorithm uses a new algorithm I've dubbed scrypt-N-R. Typically, `scrypt` means scrypt with N=1024, R=1, P=1. This algorithm changes R for more granular tuning of memory usage. Currently, there is only the wallet miner and cpuminer(minerd) ported to the new algorithm. The memory usage of scrypt-8-4 is only 4Kbytes, compared to normal scrypt where it is 128Kbytes.
Scrypt-R-N should be easily ported to GPUs and FPGAs. However, ASICs are not practical to make for Megcoin because of the short "payout streak" period of about 1.5 years. If ASICs were produced for the algorithm, it would be near the end of big rewards and when mining is needed more for network stability than for coin generation.
## Digishield
This uses the Digishield difficulty algorithm which has been proven stable by Dogecoin and Digicoin. Although multipools shouldn't be a worry with the unique algorithm parameters, digishield has been proven to handle large hashrate changes very well to ensure the network is never stuck with slow blocks or vulnerable to a timewarp attack.
## Forked from Bitcoin 0.9
Because it was forked form Bitcoin 0.9, Megcoin's wallet includes the many advancements that Bitcoin 0.9 has:
* A faster graphical user interface (supporting Qt5 as well)
* Fixes for transaction malleability
* Services broken up into megcoind, megcoin-cli, and megcoin-qt
* Many more features which can be seen in the bitcoin 0.9 [changelog](https://bitcoin.org/bin/0.9.0/README.txt)
## Downloads
* [Windows (32bit)](http://earlz.net/static/megcoin1.0win32.zip)
* Mac OSX wallet coming soon
* Linux wallet coming soon
The source code is available on [github](https://github.com/Megcoin/megcoin) for self-compilation
## Community and Resources
* [Reddit](http:
* [Twitter](http://twitter.com/megcoindev)
* [Facebook](http://facebook.com/megcoincrypto)
* #megcoin on IRC/Freenode
* [Website](http://megcoin.com)
## Block explorers
* http://cryptexplorer.com/chain/Megcoin
* http://megchain.earlz.net:8080
## Mining
* [cpuminer](https:
* The wallet supports mining by using `setgenerate true -1`
## Pools
* http://coins.rapidhash.net
* http://megpool.mooo.com
* http://megpoolzws.com
## Services
* There is megtip, an IRC tipbot for Megcoin. Ask about getting it in your channel!
## Nodes
There are multiple <API key> DNS seeds built in to the wallet for fast syncing. However, if you have a reliable node, report it to me and I'll add it to this list in case those servers get overloaded. No addnode arguments should be required right now.
## Exchanges
* [Bittrex](http://bittrex.com) coming very soon
## Bounties
* AMD GPU Miner -- 40 Million MEG (bounty address: [<API key>](http://cryptexplorer.com/address/<API key>)
* Nvidia GPU Miner -- 3 Million MEG
* Faucet -- 2 Million MEG
## Testnet
Also, if you would like to test services or mining with Megcoin, I have testnet nodes running so syncing should be trivial
## Credits
Thanks to artist, [address] |
# CS 536 : PA3
# random quote:
CC = g++ -Wall
OUT = parse
parse: parser.o lex.yy.o helper.o errorhandler.o unparse.o ast.o main.o
$(CC) -o $(OUT) main.o lex.yy.o helper.o errorhandler.o parser.o unparse.o ast.o -ll
lex.yy.o: simple.l
flex simple.l
$(CC) -o $@ -c lex.yy.c
parser.o: gram.tab.h
$(CC) -o $@ -c gram.tab.c
gram.tab.h: simple.y
bison -b gram -d simple.y
.cc.o:
$(CC) -c -o $@ $<
test: parse
#testcase 0 : no argument
-./$(OUT)
#testcase 0 : invalid file
-./$(OUT) filenoexists.txt
#testcase 1 : example.simple
-./$(OUT) test1.sl
#testcase 2 : operator precedence
-./$(OUT) test2.sl
#testcase 3 : empty file
-./$(OUT) test3.sl
#testcase 4 : main test case
-./$(OUT) test4.sl
clean:
rm -f *.o $(OUT) lex.yy.c gram.tab.h gram.tab.c |
/**
* @constructor
* @extends {WebInspector.SidebarPane}
* @param {!WebInspector.DebuggerModel} debuggerModel
* @param {!WebInspector.BreakpointManager} breakpointManager
* @param {function(!WebInspector.UISourceCode, number=, number=, boolean=)} <API key>
*/
WebInspector.<API key> = function(debuggerModel, breakpointManager, <API key>)
{
WebInspector.SidebarPane.call(this, WebInspector.UIString("Breakpoints"));
this._debuggerModel = debuggerModel;
this.registerRequiredCSS("breakpointsList.css");
this._breakpointManager = breakpointManager;
this.<API key> = <API key>;
this.listElement = document.createElement("ol");
this.listElement.className = "breakpoint-list";
this.emptyElement = document.createElement("div");
this.emptyElement.className = "info";
this.emptyElement.textContent = WebInspector.UIString("No Breakpoints");
this.bodyElement.appendChild(this.emptyElement);
this._items = new Map();
var breakpointLocations = this._breakpointManager.<API key>();
for (var i = 0; i < breakpointLocations.length; ++i)
this._addBreakpoint(breakpointLocations[i].breakpoint, breakpointLocations[i].uiLocation);
this._breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointAdded, this._breakpointAdded, this);
this._breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointRemoved, this._breakpointRemoved, this);
this.emptyElement.addEventListener("contextmenu", this.<API key>.bind(this), true);
}
WebInspector.<API key>.prototype = {
<API key>: function(event)
{
var contextMenu = new WebInspector.ContextMenu(event);
var breakpointActive = this._debuggerModel.breakpointsActive();
var <API key> = breakpointActive ?
WebInspector.UIString(WebInspector.<API key>() ? "Deactivate breakpoints" : "Deactivate Breakpoints") :
WebInspector.UIString(WebInspector.<API key>() ? "Activate breakpoints" : "Activate Breakpoints");
contextMenu.appendItem(<API key>, this._debuggerModel.<API key>.bind(this._debuggerModel, !breakpointActive));
contextMenu.show();
},
/**
* @param {!WebInspector.Event} event
*/
_breakpointAdded: function(event)
{
this._breakpointRemoved(event);
var breakpoint = /** @type {!WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
var uiLocation = /** @type {!WebInspector.UILocation} */ (event.data.uiLocation);
this._addBreakpoint(breakpoint, uiLocation);
},
/**
* @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
* @param {!WebInspector.UILocation} uiLocation
*/
_addBreakpoint: function(breakpoint, uiLocation)
{
var element = document.createElement("li");
element.classList.add("cursor-pointer");
element.addEventListener("contextmenu", this.<API key>.bind(this, breakpoint), true);
element.addEventListener("click", this._breakpointClicked.bind(this, uiLocation), false);
var checkbox = document.createElement("input");
checkbox.className = "checkbox-elem";
checkbox.type = "checkbox";
checkbox.checked = breakpoint.enabled();
checkbox.addEventListener("click", this.<API key>.bind(this, breakpoint), false);
element.appendChild(checkbox);
var labelElement = document.createTextNode(uiLocation.linkText());
element.appendChild(labelElement);
var snippetElement = document.createElement("div");
snippetElement.className = "source-text monospace";
element.appendChild(snippetElement);
/**
* @param {?string} content
*/
function didRequestContent(content)
{
var lineNumber = uiLocation.lineNumber
var columnNumber = uiLocation.columnNumber;
var contentString = new String(content);
if (lineNumber < contentString.lineCount()) {
var lineText = contentString.lineAt(lineNumber);
var maxSnippetLength = 200;
snippetElement.textContent = lineText.substr(columnNumber).trimEnd(maxSnippetLength);
}
}
uiLocation.uiSourceCode.requestContent(didRequestContent);
element._data = uiLocation;
var currentElement = this.listElement.firstChild;
while (currentElement) {
if (currentElement._data && this._compareBreakpoints(currentElement._data, element._data) > 0)
break;
currentElement = currentElement.nextSibling;
}
this._addListElement(element, currentElement);
var breakpointItem = {};
breakpointItem.element = element;
breakpointItem.checkbox = checkbox;
this._items.put(breakpoint, breakpointItem);
this.expand();
},
/**
* @param {!WebInspector.Event} event
*/
_breakpointRemoved: function(event)
{
var breakpoint = /** @type {!WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
var uiLocation = /** @type {!WebInspector.UILocation} */ (event.data.uiLocation);
var breakpointItem = this._items.get(breakpoint);
if (!breakpointItem)
return;
this._items.remove(breakpoint);
this._removeListElement(breakpointItem.element);
},
/**
* @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
*/
highlightBreakpoint: function(breakpoint)
{
var breakpointItem = this._items.get(breakpoint);
if (!breakpointItem)
return;
breakpointItem.element.classList.add("breakpoint-hit");
this.<API key> = breakpointItem;
},
<API key>: function()
{
if (this.<API key>) {
this.<API key>.element.classList.remove("breakpoint-hit");
delete this.<API key>;
}
},
_breakpointClicked: function(uiLocation, event)
{
this.<API key>(uiLocation.uiSourceCode, uiLocation.lineNumber);
},
/**
* @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
* @param {?Event} event
*/
<API key>: function(breakpoint, event)
{
// Breakpoint element has it's own click handler.
event.consume();
breakpoint.setEnabled(event.target.checked);
},
/**
* @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
* @param {?Event} event
*/
<API key>: function(breakpoint, event)
{
var breakpoints = this._items.values();
var contextMenu = new WebInspector.ContextMenu(event);
contextMenu.appendItem(WebInspector.UIString(WebInspector.<API key>() ? "Remove breakpoint" : "Remove Breakpoint"), breakpoint.remove.bind(breakpoint));
if (breakpoints.length > 1) {
var removeAllTitle = WebInspector.UIString(WebInspector.<API key>() ? "Remove all breakpoints" : "Remove All Breakpoints");
contextMenu.appendItem(removeAllTitle, this._breakpointManager.<API key>.bind(this._breakpointManager));
}
contextMenu.appendSeparator();
var breakpointActive = this._debuggerModel.breakpointsActive();
var <API key> = breakpointActive ?
WebInspector.UIString(WebInspector.<API key>() ? "Deactivate breakpoints" : "Deactivate Breakpoints") :
WebInspector.UIString(WebInspector.<API key>() ? "Activate breakpoints" : "Activate Breakpoints");
contextMenu.appendItem(<API key>, this._debuggerModel.<API key>.bind(this._debuggerModel, !breakpointActive));
function <API key>(breakpoints)
{
var count = 0;
for (var i = 0; i < breakpoints.length; ++i) {
if (breakpoints[i].checkbox.checked)
count++;
}
return count;
}
if (breakpoints.length > 1) {
var <API key> = <API key>(breakpoints);
var enableTitle = WebInspector.UIString(WebInspector.<API key>() ? "Enable all breakpoints" : "Enable All Breakpoints");
var disableTitle = WebInspector.UIString(WebInspector.<API key>() ? "Disable all breakpoints" : "Disable All Breakpoints");
contextMenu.appendSeparator();
contextMenu.appendItem(enableTitle, this._breakpointManager.<API key>.bind(this._breakpointManager, true), !(<API key> != breakpoints.length));
contextMenu.appendItem(disableTitle, this._breakpointManager.<API key>.bind(this._breakpointManager, false), !(<API key> > 1));
}
contextMenu.show();
},
_addListElement: function(element, beforeElement)
{
if (beforeElement)
this.listElement.insertBefore(element, beforeElement);
else {
if (!this.listElement.firstChild) {
this.bodyElement.removeChild(this.emptyElement);
this.bodyElement.appendChild(this.listElement);
}
this.listElement.appendChild(element);
}
},
_removeListElement: function(element)
{
this.listElement.removeChild(element);
if (!this.listElement.firstChild) {
this.bodyElement.removeChild(this.listElement);
this.bodyElement.appendChild(this.emptyElement);
}
},
_compare: function(x, y)
{
if (x !== y)
return x < y ? -1 : 1;
return 0;
},
_compareBreakpoints: function(b1, b2)
{
return this._compare(b1.uiSourceCode.originURL(), b2.uiSourceCode.originURL()) || this._compare(b1.lineNumber, b2.lineNumber);
},
reset: function()
{
this.listElement.removeChildren();
if (this.listElement.parentElement) {
this.bodyElement.removeChild(this.listElement);
this.bodyElement.appendChild(this.emptyElement);
}
this._items.clear();
},
__proto__: WebInspector.SidebarPane.prototype
}
/**
* @constructor
* @extends {WebInspector.<API key>}
*/
WebInspector.<API key> = function()
{
WebInspector.<API key>.call(this, WebInspector.UIString("XHR Breakpoints"));
this._breakpointElements = {};
var addButton = document.createElement("button");
addButton.className = "pane-title-button add";
addButton.addEventListener("click", this._addButtonClicked.bind(this), false);
addButton.title = WebInspector.UIString("Add XHR breakpoint");
this.titleElement.appendChild(addButton);
this.emptyElement.addEventListener("contextmenu", this.<API key>.bind(this), true);
this._restoreBreakpoints();
}
WebInspector.<API key>.prototype = {
<API key>: function(event)
{
var contextMenu = new WebInspector.ContextMenu(event);
contextMenu.appendItem(WebInspector.UIString(WebInspector.<API key>() ? "Add breakpoint" : "Add Breakpoint"), this._addButtonClicked.bind(this));
contextMenu.show();
},
_addButtonClicked: function(event)
{
if (event)
event.consume();
this.expand();
var <API key> = document.createElement("p");
<API key>.className = "<API key>";
var inputElement = document.createElement("span");
<API key>.textContent = WebInspector.UIString("Break when URL contains:");
inputElement.className = "editing";
inputElement.id = "<API key>";
<API key>.appendChild(inputElement);
this._addListElement(<API key>, this.listElement.firstChild);
/**
* @param {boolean} accept
* @param {!Element} e
* @param {string} text
* @this {WebInspector.<API key>}
*/
function finishEditing(accept, e, text)
{
this._removeListElement(<API key>);
if (accept) {
this._setBreakpoint(text, true);
this._saveBreakpoints();
}
}
var config = new WebInspector.InplaceEditor.Config(finishEditing.bind(this, true), finishEditing.bind(this, false));
WebInspector.InplaceEditor.startEditing(inputElement, config);
},
_setBreakpoint: function(url, enabled)
{
if (url in this._breakpointElements)
return;
var element = document.createElement("li");
element._url = url;
element.addEventListener("contextmenu", this._contextMenu.bind(this, url), true);
var checkboxElement = document.createElement("input");
checkboxElement.className = "checkbox-elem";
checkboxElement.type = "checkbox";
checkboxElement.checked = enabled;
checkboxElement.addEventListener("click", this._checkboxClicked.bind(this, url), false);
element._checkboxElement = checkboxElement;
element.appendChild(checkboxElement);
var labelElement = document.createElement("span");
if (!url)
labelElement.textContent = WebInspector.UIString("Any XHR");
else
labelElement.textContent = WebInspector.UIString("URL contains \"%s\"", url);
labelElement.classList.add("cursor-auto");
labelElement.addEventListener("dblclick", this._labelClicked.bind(this, url), false);
element.appendChild(labelElement);
var currentElement = this.listElement.firstChild;
while (currentElement) {
if (currentElement._url && currentElement._url < element._url)
break;
currentElement = currentElement.nextSibling;
}
this._addListElement(element, currentElement);
this._breakpointElements[url] = element;
if (enabled)
DOMDebuggerAgent.setXHRBreakpoint(url);
},
_removeBreakpoint: function(url)
{
var element = this._breakpointElements[url];
if (!element)
return;
this._removeListElement(element);
delete this._breakpointElements[url];
if (element._checkboxElement.checked)
DOMDebuggerAgent.removeXHRBreakpoint(url);
},
_contextMenu: function(url, event)
{
var contextMenu = new WebInspector.ContextMenu(event);
/**
* @this {WebInspector.<API key>}
*/
function removeBreakpoint()
{
this._removeBreakpoint(url);
this._saveBreakpoints();
}
/**
* @this {WebInspector.<API key>}
*/
function <API key>()
{
for (var url in this._breakpointElements)
this._removeBreakpoint(url);
this._saveBreakpoints();
}
var removeAllTitle = WebInspector.UIString(WebInspector.<API key>() ? "Remove all breakpoints" : "Remove All Breakpoints");
contextMenu.appendItem(WebInspector.UIString(WebInspector.<API key>() ? "Add breakpoint" : "Add Breakpoint"), this._addButtonClicked.bind(this));
contextMenu.appendItem(WebInspector.UIString(WebInspector.<API key>() ? "Remove breakpoint" : "Remove Breakpoint"), removeBreakpoint.bind(this));
contextMenu.appendItem(removeAllTitle, <API key>.bind(this));
contextMenu.show();
},
_checkboxClicked: function(url, event)
{
if (event.target.checked)
DOMDebuggerAgent.setXHRBreakpoint(url);
else
DOMDebuggerAgent.removeXHRBreakpoint(url);
this._saveBreakpoints();
},
_labelClicked: function(url)
{
var element = this._breakpointElements[url];
var inputElement = document.createElement("span");
inputElement.className = "<API key> editing";
inputElement.textContent = url;
this.listElement.insertBefore(inputElement, element);
element.classList.add("hidden");
/**
* @param {boolean} accept
* @param {!Element} e
* @param {string} text
* @this {WebInspector.<API key>}
*/
function finishEditing(accept, e, text)
{
this._removeListElement(inputElement);
if (accept) {
this._removeBreakpoint(url);
this._setBreakpoint(text, element._checkboxElement.checked);
this._saveBreakpoints();
} else
element.classList.remove("hidden");
}
WebInspector.InplaceEditor.startEditing(inputElement, new WebInspector.InplaceEditor.Config(finishEditing.bind(this, true), finishEditing.bind(this, false)));
},
highlightBreakpoint: function(url)
{
var element = this._breakpointElements[url];
if (!element)
return;
this.expand();
element.classList.add("breakpoint-hit");
this._highlightedElement = element;
},
<API key>: function()
{
if (this._highlightedElement) {
this._highlightedElement.classList.remove("breakpoint-hit");
delete this._highlightedElement;
}
},
_saveBreakpoints: function()
{
var breakpoints = [];
for (var url in this._breakpointElements)
breakpoints.push({ url: url, enabled: this._breakpointElements[url]._checkboxElement.checked });
WebInspector.settings.xhrBreakpoints.set(breakpoints);
},
_restoreBreakpoints: function()
{
var breakpoints = WebInspector.settings.xhrBreakpoints.get();
for (var i = 0; i < breakpoints.length; ++i) {
var breakpoint = breakpoints[i];
if (breakpoint && typeof breakpoint.url === "string")
this._setBreakpoint(breakpoint.url, breakpoint.enabled);
}
},
__proto__: WebInspector.<API key>.prototype
}
/**
* @constructor
* @extends {WebInspector.SidebarPane}
*/
WebInspector.<API key> = function()
{
WebInspector.SidebarPane.call(this, WebInspector.UIString("Event Listener Breakpoints"));
this.registerRequiredCSS("breakpointsList.css");
this.categoriesElement = document.createElement("ol");
this.categoriesElement.tabIndex = 0;
this.categoriesElement.classList.add("properties-tree");
this.categoriesElement.classList.add("<API key>");
this.<API key> = new TreeOutline(this.categoriesElement);
this.bodyElement.appendChild(this.categoriesElement);
this._categoryItems = [];
// FIXME: uncomment following once inspector stops being drop targer in major ports.
// Otherwise, inspector page reacts on drop event and tries to load the event data.
// this._createCategory(WebInspector.UIString("Drag"), ["drag", "drop", "dragstart", "dragend", "dragenter", "dragleave", "dragover"]);
this._createCategory(WebInspector.UIString("Animation"), ["<API key>", "<API key>", "animationFrameFired"], true);
this._createCategory(WebInspector.UIString("Control"), ["resize", "scroll", "zoom", "focus", "blur", "select", "change", "submit", "reset"]);
this._createCategory(WebInspector.UIString("Clipboard"), ["copy", "cut", "paste", "beforecopy", "beforecut", "beforepaste"]);
this._createCategory(WebInspector.UIString("DOM Mutation"), ["DOMActivate", "DOMFocusIn", "DOMFocusOut", "DOMAttrModified", "<API key>", "DOMNodeInserted", "<API key>", "DOMNodeRemoved", "<API key>", "DOMSubtreeModified", "DOMContentLoaded"]);
this._createCategory(WebInspector.UIString("Device"), ["deviceorientation", "devicemotion"]);
this._createCategory(WebInspector.UIString("Drag / drop"), ["dragenter", "dragover", "dragleave", "drop"]);
this._createCategory(WebInspector.UIString("Keyboard"), ["keydown", "keyup", "keypress", "input"]);
this._createCategory(WebInspector.UIString("Load"), ["load", "beforeunload", "unload", "abort", "error", "hashchange", "popstate"]);
this._createCategory(WebInspector.UIString("Mouse"), ["click", "dblclick", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel", "wheel"]);
this._createCategory(WebInspector.UIString("Timer"), ["setTimer", "clearTimer", "timerFired"], true);
this._createCategory(WebInspector.UIString("Touch"), ["touchstart", "touchmove", "touchend", "touchcancel"]);
this._createCategory(WebInspector.UIString("XHR"), ["readystatechange", "load", "loadstart", "loadend", "abort", "error", "progress", "timeout"], false, ["XMLHttpRequest", "<API key>"]);
this._createCategory(WebInspector.UIString("WebGL"), ["webglErrorFired", "webglWarningFired"], true);
this._restoreBreakpoints();
}
WebInspector.<API key>.categoryListener = "listener:";
WebInspector.<API key>.<API key> = "instrumentation:";
WebInspector.<API key>.eventTargetAny = "*";
/**
* @param {string} eventName
* @param {!Object=} auxData
* @return {string}
*/
WebInspector.<API key>.eventNameForUI = function(eventName, auxData)
{
if (!WebInspector.<API key>._eventNamesForUI) {
WebInspector.<API key>._eventNamesForUI = {
"instrumentation:setTimer": WebInspector.UIString("Set Timer"),
"instrumentation:clearTimer": WebInspector.UIString("Clear Timer"),
"instrumentation:timerFired": WebInspector.UIString("Timer Fired"),
"instrumentation:<API key>": WebInspector.UIString("Request Animation Frame"),
"instrumentation:<API key>": WebInspector.UIString("Cancel Animation Frame"),
"instrumentation:animationFrameFired": WebInspector.UIString("Animation Frame Fired"),
"instrumentation:webglErrorFired": WebInspector.UIString("WebGL Error Fired"),
"instrumentation:webglWarningFired": WebInspector.UIString("WebGL Warning Fired")
};
}
if (auxData) {
if (eventName === "instrumentation:webglErrorFired" && auxData["webglErrorName"]) {
var errorName = auxData["webglErrorName"];
// If there is a hex code of the error, display only this.
errorName = errorName.replace(/^.*(0x[0-9a-f]+).*$/i, "$1");
return WebInspector.UIString("WebGL Error Fired (%s)", errorName);
}
}
return WebInspector.<API key>._eventNamesForUI[eventName] || eventName.substring(eventName.indexOf(":") + 1);
}
WebInspector.<API key>.prototype = {
/**
* @param {string} name
* @param {!Array.<string>} eventNames
* @param {boolean=} <API key>
* @param {!Array.<string>=} targetNames
*/
_createCategory: function(name, eventNames, <API key>, targetNames)
{
var labelNode = document.createElement("label");
labelNode.textContent = name;
var categoryItem = {};
categoryItem.element = new TreeElement(labelNode);
this.<API key>.appendChild(categoryItem.element);
categoryItem.element.listItemElement.classList.add("event-category");
categoryItem.element.selectable = true;
categoryItem.checkbox = this._createCheckbox(labelNode);
categoryItem.checkbox.addEventListener("click", this.<API key>.bind(this, categoryItem), true);
categoryItem.targetNames = this.<API key>(targetNames || [WebInspector.<API key>.eventTargetAny]);
categoryItem.children = {};
var category = (<API key> ? WebInspector.<API key>.<API key> : WebInspector.<API key>.categoryListener);
for (var i = 0; i < eventNames.length; ++i) {
var eventName = category + eventNames[i];
var breakpointItem = {};
var title = WebInspector.<API key>.eventNameForUI(eventName);
labelNode = document.createElement("label");
labelNode.textContent = title;
breakpointItem.element = new TreeElement(labelNode);
categoryItem.element.appendChild(breakpointItem.element);
breakpointItem.element.listItemElement.createChild("div", "<API key>");
breakpointItem.element.listItemElement.classList.add("source-code");
breakpointItem.element.selectable = false;
breakpointItem.checkbox = this._createCheckbox(labelNode);
breakpointItem.checkbox.addEventListener("click", this.<API key>.bind(this, eventName, categoryItem.targetNames), true);
breakpointItem.parent = categoryItem;
categoryItem.children[eventName] = breakpointItem;
}
this._categoryItems.push(categoryItem);
},
/**
* @param {!Array.<string>} array
* @return {!Array.<string>}
*/
<API key>: function(array)
{
return array.map(function(value) {
return value.toLowerCase();
});
},
/**
* @param {!Element} labelNode
* @return {!Element}
*/
_createCheckbox: function(labelNode)
{
var checkbox = document.createElement("input");
checkbox.className = "checkbox-elem";
checkbox.type = "checkbox";
labelNode.insertBefore(checkbox, labelNode.firstChild);
return checkbox;
},
<API key>: function(categoryItem)
{
var checked = categoryItem.checkbox.checked;
for (var eventName in categoryItem.children) {
var breakpointItem = categoryItem.children[eventName];
if (breakpointItem.checkbox.checked === checked)
continue;
if (checked)
this._setBreakpoint(eventName, categoryItem.targetNames);
else
this._removeBreakpoint(eventName, categoryItem.targetNames);
}
this._saveBreakpoints();
},
/**
* @param {string} eventName
* @param {!Array.<string>} targetNames
* @param {?Event} event
*/
<API key>: function(eventName, targetNames, event)
{
if (event.target.checked)
this._setBreakpoint(eventName, targetNames);
else
this._removeBreakpoint(eventName, targetNames);
this._saveBreakpoints();
},
/**
* @param {string} eventName
* @param {?Array.<string>=} targetNames
*/
_setBreakpoint: function(eventName, targetNames)
{
targetNames = targetNames || [WebInspector.<API key>.eventTargetAny];
for (var i = 0; i < targetNames.length; ++i) {
var targetName = targetNames[i];
var breakpointItem = this._findBreakpointItem(eventName, targetName);
if (!breakpointItem)
continue;
breakpointItem.checkbox.checked = true;
breakpointItem.parent.dirtyCheckbox = true;
if (eventName.startsWith(WebInspector.<API key>.categoryListener))
DOMDebuggerAgent.<API key>(eventName.substring(WebInspector.<API key>.categoryListener.length), targetName);
else if (eventName.startsWith(WebInspector.<API key>.<API key>))
DOMDebuggerAgent.<API key>(eventName.substring(WebInspector.<API key>.<API key>.length));
}
this.<API key>();
},
/**
* @param {string} eventName
* @param {?Array.<string>=} targetNames
*/
_removeBreakpoint: function(eventName, targetNames)
{
targetNames = targetNames || [WebInspector.<API key>.eventTargetAny];
for (var i = 0; i < targetNames.length; ++i) {
var targetName = targetNames[i];
var breakpointItem = this._findBreakpointItem(eventName, targetName);
if (!breakpointItem)
continue;
breakpointItem.checkbox.checked = false;
breakpointItem.parent.dirtyCheckbox = true;
if (eventName.startsWith(WebInspector.<API key>.categoryListener))
DOMDebuggerAgent.<API key>(eventName.substring(WebInspector.<API key>.categoryListener.length), targetName);
else if (eventName.startsWith(WebInspector.<API key>.<API key>))
DOMDebuggerAgent.<API key>(eventName.substring(WebInspector.<API key>.<API key>.length));
}
this.<API key>();
},
<API key>: function()
{
for (var i = 0; i < this._categoryItems.length; ++i) {
var categoryItem = this._categoryItems[i];
if (!categoryItem.dirtyCheckbox)
continue;
categoryItem.dirtyCheckbox = false;
var hasEnabled = false;
var hasDisabled = false;
for (var eventName in categoryItem.children) {
var breakpointItem = categoryItem.children[eventName];
if (breakpointItem.checkbox.checked)
hasEnabled = true;
else
hasDisabled = true;
}
categoryItem.checkbox.checked = hasEnabled;
categoryItem.checkbox.indeterminate = hasEnabled && hasDisabled;
}
},
/**
* @param {string} eventName
* @param {string=} targetName
* @return {?Object}
*/
_findBreakpointItem: function(eventName, targetName)
{
targetName = (targetName || WebInspector.<API key>.eventTargetAny).toLowerCase();
for (var i = 0; i < this._categoryItems.length; ++i) {
var categoryItem = this._categoryItems[i];
if (categoryItem.targetNames.indexOf(targetName) === -1)
continue;
var breakpointItem = categoryItem.children[eventName];
if (breakpointItem)
return breakpointItem;
}
return null;
},
/**
* @param {string} eventName
* @param {string=} targetName
*/
highlightBreakpoint: function(eventName, targetName)
{
var breakpointItem = this._findBreakpointItem(eventName, targetName);
if (!breakpointItem || !breakpointItem.checkbox.checked)
breakpointItem = this._findBreakpointItem(eventName, WebInspector.<API key>.eventTargetAny);
if (!breakpointItem)
return;
this.expand();
breakpointItem.parent.element.expand();
breakpointItem.element.listItemElement.classList.add("breakpoint-hit");
this._highlightedElement = breakpointItem.element.listItemElement;
},
<API key>: function()
{
if (this._highlightedElement) {
this._highlightedElement.classList.remove("breakpoint-hit");
delete this._highlightedElement;
}
},
_saveBreakpoints: function()
{
var breakpoints = [];
for (var i = 0; i < this._categoryItems.length; ++i) {
var categoryItem = this._categoryItems[i];
for (var eventName in categoryItem.children) {
var breakpointItem = categoryItem.children[eventName];
if (breakpointItem.checkbox.checked)
breakpoints.push({ eventName: eventName, targetNames: categoryItem.targetNames });
}
}
WebInspector.settings.<API key>.set(breakpoints);
},
_restoreBreakpoints: function()
{
var breakpoints = WebInspector.settings.<API key>.get();
for (var i = 0; i < breakpoints.length; ++i) {
var breakpoint = breakpoints[i];
if (breakpoint && typeof breakpoint.eventName === "string")
this._setBreakpoint(breakpoint.eventName, breakpoint.targetNames);
}
},
__proto__: WebInspector.SidebarPane.prototype
} |
[
.RegisterServices(builder =>
{
builder.AddMicroService(option =>
{
option.AddServiceRuntime();
// option.UseZooKeeperManager(new ConfigInfo("127.0.0.1:2181")); //Zookeeper
option.UseConsulManager(new ConfigInfo("127.0.0.1:8500"));//Consul
option.<API key>();//Netty
option.<API key>();//rabbitmq
option.AddRabbitMQAdapt();//rabbitmq
// option.UseProtoBufferCodec();//protobuf
option.UseMessagePackCodec();//MessagePack
builder.Register(p => new CPlatformContainer(ServiceLocator.Current));
});
})
.SubscribeAt()
//.UseServer("127.0.0.1", 98)
.UseServer(options=> {
options.Ip = "127.0.0.1";
options.Port = 98;
options.<API key> = 30000;
options.Strategy=(int)StrategyType.Failover;
options.RequestCacheEnabled=true;
options.Injection="return null";
options.InjectionNamespaces= new string[] { "Surging.IModuleServices.Common" });
options.<API key>="50";
options.<API key>=60000;
options.BreakerForceClosed=false;
options.<API key> = 20;
options.<API key>== 100000;
})
.UseLog4net("Configs/log4net.config") //log4net
.UseLog4net() //log4net
.UseStartup<Startup>()
.Build();
using (host.Run())
{
Console.WriteLine($"{DateTime.Now}");
}
<br/>
<br/>
c
[ServiceBundle("api/{Service}")]
<br/>
JWT
<br/>
c
[Authorization(AuthType = AuthorizationType.JWT)];
<br/>
AppSecret
<br/>
c
[Authorization(AuthType = AuthorizationType.AppSecret)];
<br/>
<br/>
c
ServiceLocator.GetService< ISubscriptionAdapt >().SubscribeAt();
<br/>
* Injection
<br/>
c
[Command(Strategy= StrategyType.Injection ,Injection = @"return null;")]
<br/>
C
[Command(Strategy= StrategyType.Injection ,Injection = @"return
Task.FromResult(new Surging.IModuleServices.Common.Models.UserModel
{
Name=""fanly"",
Age=18
});",InjectionNamespaces =new string[] { "Surging.IModuleServices.Common"})]
* Injection
<br/>
C
[Command(Strategy= StrategyType.Injection ,Injection = @"return true;")]
<br/>
<br/>
<br/>
C
[Command(Strategy= StrategyType.Failover,FailoverCluster =3,RequestCacheEnabled =true)] //RequestCacheEnabled =true
<br/>
<br/>
<br/>
C
[InterceptMethod(CachingMethod.Get, Key = "GetUser_id_{0}", Mode = CacheTargetType.Redis, Time = 480)]
<br/>
<br/>
<br/>
C
[InterceptMethod(CachingMethod.Remove, "GetUser_id_{0}", "GetUserName_name_{0}", Mode = CacheTargetType.Redis)]
<br/>
KEY
<br/>
<br/>
C
[CacheKey(1)]
<br/>
<br/>
C
.<API key>(typeof(<API key>))
<br/>
[](https://github.com/dotnetcore/surging/blob/master/docs/docs.en/INDEX.md)
<br/>
IDE:Visual Studio 2017 15.3 Preview ,vscode
<br/>
.NET core 2.0
<br/>
[](http://docs.dotnet-china.org/surging/) |
{
"date": "2019-12-24",
"type": "post",
"title": "Report for Tuesday 24th of December 2019",
"slug": "2019\/12\/24",
"categories": [
"Daily report"
],
"images": [],
"health": {
"weight": 0,
"height": 173,
"age": 14251
},
"nutrition": {
"calories": 2427.94,
"fat": 143.07,
"carbohydrates": 202.79,
"protein": 54.45
},
"exercise": {
"pushups": 0,
"crunches": 0,
"steps": 0
},
"media": {
"books": [],
"podcast": [],
"youtube": [],
"movies": [],
"photos": []
}
}
Today I am <strong>14251 days</strong> old and my weight is <strong>0 kg</strong>. During the day, I consumed <strong>2427.94 kcal</strong> coming from <strong>143.07 g</strong> fat, <strong>202.79 g</strong> carbohydrates and <strong>54.45 g</strong> protein. Managed to do <strong>0 push-ups</strong>, <strong>0 crunches</strong> and walked <strong>0 steps</strong> during the day which is approximately <strong>0 km</strong>. |
"""Test calculate module"""
from chanjo.store.models import Sample
def test_mean(populated_db):
"""Test for calculating mean coverage"""
# GIVEN a database loaded with 2 samples
assert Sample.query.count() == 2
# WHEN calculating mean values across metrics
query = populated_db.mean()
# THEN the results should group over 2 "rows"
results = query.all()
assert len(results) == 2
sample_ids = set(result[0] for result in results)
assert sample_ids == set(['sample', 'sample2']) # sample id
result = results[0]
for metric in filter(None, result[1:]):
assert isinstance(metric, float)
def <API key>(populated_db):
"""Test for caluclating mean with samples"""
# GIVEN a database loaded with 2 samples
assert Sample.query.count() == 2
# WHEN calculating mean values across metrics for a particular sample
sample_id = 'sample'
query = populated_db.mean(sample_ids=[sample_id])
# THEN the results should be limited to that sample
results = query.all()
assert len(results) == 1
result = results[0]
assert result[0] == sample_id
def test_gene(populated_db):
"""Test for calculating gene metrics"""
# GIVEN a database populated with a single sample
assert Sample.query.count() == 2
# WHEN calculating average metrics for a gene
gene_id = 28706
query = populated_db.gene_metrics(gene_id)
# THEN the results should add up to a single row
results = query.all()
assert len(results) == 2
result = results[0]
assert result[0] == 'sample'
assert result[-1] == gene_id
def <API key>(populated_db):
"""Test for OMIM coverage"""
# GIVEN a database populated with two samples
assert Sample.query.count() == 2
sample_ids = ('sample', 'sample2')
gene_ids = (14825, 28706)
# WHEN calculating coverage for sample 'sample' on gene 14825
query = populated_db.sample_coverage(sample_ids=sample_ids, genes=gene_ids)
# THEN query should be a dict with samples as keys, where each sample
# is a dict with keys mean_coverage and mean completeness
assert set(query.keys()) == set(sample_ids)
for _, value in query.items():
assert set(value.keys()) == set(['mean_coverage', 'mean_completeness']) |
'use strict'
/*!
* imports.
*/
var curry2 = require('curry2')
var selectn = require('selectn')
/*!
* imports (local).
*/
var expressions = require('./lib/expressions')
/*!
* exports.
*/
module.exports = curry2(filter)
/**
* Curried function deriving a new array containing items from given array for which predicate returns true.
* Supports unary function, RegExp, dot/bracket-notation string path, and compound query object as predicate.
*
* @param {Function|RegExp|String|Object} predicate
* Unary function, RegExp, dot/bracket-notation string path, and compound query object.
*
* @param {Array} list
* Array to evaluate.
*
* @return {Array}
* New array containing items from given array for which predicate returns true.
*/
function filter (predicate, list) {
var end = list.length
var idx = -1
var out = []
while (++idx < end) {
if (matchall(expressions(predicate, list[idx]))) out.push(list[idx])
}
return out
}
/**
* Whether all given expressions evaluate to true.
*
* @param {Array} expressions
* Expressions to evaluate.
*
* @return {Boolean}
* Whether all given expressions evaluate to true.
*/
function matchall (expressions) {
var end = expressions.length
var idx = -1
var out = false
while (++idx < end) {
var expression = expressions[idx]
if (({}).toString.call(expression.predicate) === '[object Function]') {
out = !!expression.predicate(expression.element)
} else if (({}).toString.call(expression.predicate) === '[object RegExp]') {
out = !!expression.predicate.exec(expression.element)
} else if (expression.compare) {
out = expression.predicate === expression.element
} else {
out = selectn(expression.predicate, expression.element)
}
if (out === false) {
return out
}
}
return out
} |
var FormDropzone = function () {
return {
//main function to initiate the module
init: function () {
var form = $('form.create-album-form');
Dropzone.options.myDropzone = {
init: function() {
FormDropzone.handleEvents(this, form);
FormDropzone.formActions(this, form);
}
}
},
/**
* Handle dropZone event
*
* @param form
*/
handleEvents: function(dropZone, form) {
dropZone.on("addedfile", function(file) {
// Create the remove button
var removeButton = Dropzone.createElement("<button class='btn btn-sm btn-block'>Remove file</button>");
// Capture the Dropzone instance as closure.
var _this = this;
// Listen to the click event
removeButton.addEventListener("click", function(e) {
// Make sure the button click doesn't submit the form:
e.preventDefault();
e.stopPropagation();
// Remove the file preview.
_this.removeFile(file);
// remove in form
$('input[name=images]', form).filter(function() {
return this.value == $(file.previewElement).attr('data-route');
}).remove();
// If you want to the delete the file on the server as well,
// you can do the AJAX request here.
});
// Add the button to the file preview element.
file.previewElement.appendChild(removeButton);
});
dropZone.on('success', function(file, data) {
form.prepend($('<input type="hidden" name="images" value="'+data+'">'));
$(file.previewElement).attr('data-route', data);
});
},
/**
* Submit form
*
* @param form
*/
formActions: function(dropZone, form) {
form.ajaxForm({
beforeSubmit: function() {
$('button[type=submit]', form).button('loading');
},
success: function(data) {
$('button[type=submit]', form).button('reset');
if (data === true) {
bootbox.alert('Successful. Check in album list.');
dropZone.removeAllFiles();
$('input.image-item', form).remove();
$('input[name=name]', form).val('');
$('textarea[name=description]', form).val('');
} else {
bootbox.alert('Have something wrong.');
}
}
});
},
/**
* Load images exist in dropZone
* @param dropZone
*/
loadImages: function(dropZone, removeCallback) {
var previewTemplate = "<div class=\"dz-preview dz-file-preview\">\n <div class=\"dz-details\">\n <div class=\"dz-filename\"><span data-dz-name></span></div>\n <div class=\"dz-size\" data-dz-size></div>\n <img data-dz-thumbnail style='display: block;'/>\n </div>\n <div class=\"dz-progress\"><span class=\"dz-upload\" <API key>></span></div>\n <div class=\"dz-success-mark\"><span></span></div>\n <div class=\"dz-error-mark\"><span></span></div>\n <div class=\"dz-error-message\"><span <API key>></span></div>\n</div>"
var images = $('input[name=images]', dropZone);
if (images.length > 0) {
images.each(function() {
var image = $(this);
var template = $(previewTemplate).clone();
var removeButton = Dropzone.createElement("<button class='btn btn-sm btn-block'>Remove file</button>");
removeButton.addEventListener('click', function(e) {
e.preventDefault();
e.stopPropagation();
FormDropzone.removeImage(template, image.val());
if (typeof removeCallback !== 'undefined') {
removeCallback();
}
});
template.append(removeButton);
$('.dz-details > img', template).attr('src', 'uploads/' + image.val());
dropZone.append(template);
});
}
},
removeImage: function(template, imageUrl) {
// remove in form
$('input[name=images]', 'form.<API key>').filter(function() {
return this.value == imageUrl;
}).remove();
template.remove();
}
};
}();
$(document).ready(function() {
FormDropzone.init();
}); |
// Bobomb.h
// Bobomb
#import <UIKit/UIKit.h>
//! Project version number for Bobomb.
FOUNDATION_EXPORT double BobombVersionNumber;
//! Project version string for Bobomb.
FOUNDATION_EXPORT const unsigned char BobombVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <Bobomb/PublicHeader.h> |
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Light.DataCore
{
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1>
where T : class
where T1 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1> Where (Expression<Func<T, T1, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1> WhereWithAnd (Expression<Func<T, T1, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1> WhereWithOr (Expression<Func<T, T1, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1> OrderByCatch<TKey> (Expression<Func<T, T1, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1> <API key><TKey> (Expression<Func<T, T1, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1> OrderBy<TKey> (Expression<Func<T, T1, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1> OrderByDescending<TKey> (Expression<Func<T, T1, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> Join<T2> (Expression<Func<T2, bool>> queryExpression, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> Join<T2> (Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> LeftJoin<T2> (Expression<Func<T2, bool>> queryExpression, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> LeftJoin<T2> (Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> RightJoin<T2> (Expression<Func<T2, bool>> queryExpression, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> RightJoin<T2> (Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> Join<T2> (IQuery<T2> query, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> LeftJoin<T2> (IQuery<T2> query, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> RightJoin<T2> (IQuery<T2> query, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> Join<T2> (IAggregate<T2> aggregate, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> LeftJoin<T2> (IAggregate<T2> aggregate, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> RightJoin<T2> (IAggregate<T2> aggregate, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> Join<T2> (ISelect<T2> select, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> LeftJoin<T2> (ISelect<T2> select, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2> RightJoin<T2> (ISelect<T2> select, Expression<Func<T, T1, T2, bool>> onExpression) where T2 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2>
where T : class
where T1 : class
where T2 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2> Where (Expression<Func<T, T1, T2, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2> WhereWithAnd (Expression<Func<T, T1, T2, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2> WhereWithOr (Expression<Func<T, T1, T2, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2> OrderByCatch<TKey> (Expression<Func<T, T1, T2, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2> <API key><TKey> (Expression<Func<T, T1, T2, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2> OrderBy<TKey> (Expression<Func<T, T1, T2, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2> OrderByDescending<TKey> (Expression<Func<T, T1, T2, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> Join<T3> (Expression<Func<T3, bool>> queryExpression, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> Join<T3> (Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> LeftJoin<T3> (Expression<Func<T3, bool>> queryExpression, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> LeftJoin<T3> (Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> RightJoin<T3> (Expression<Func<T3, bool>> queryExpression, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> RightJoin<T3> (Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> Join<T3> (IQuery<T3> query, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> LeftJoin<T3> (IQuery<T3> query, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> RightJoin<T3> (IQuery<T3> query, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> Join<T3> (IAggregate<T3> aggregate, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> LeftJoin<T3> (IAggregate<T3> aggregate, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> RightJoin<T3> (IAggregate<T3> aggregate, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> Join<T3> (ISelect<T3> select, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> LeftJoin<T3> (ISelect<T3> select, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3> RightJoin<T3> (ISelect<T3> select, Expression<Func<T, T1, T2, T3, bool>> onExpression) where T3 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3>
where T : class
where T1 : class
where T2 : class
where T3 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3> Where (Expression<Func<T, T1, T2, T3, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3> WhereWithAnd (Expression<Func<T, T1, T2, T3, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3> WhereWithOr (Expression<Func<T, T1, T2, T3, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3> <API key><TKey> (Expression<Func<T, T1, T2, T3, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> Join<T4> (Expression<Func<T4, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> Join<T4> (Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> LeftJoin<T4> (Expression<Func<T4, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> LeftJoin<T4> (Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> RightJoin<T4> (Expression<Func<T4, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> RightJoin<T4> (Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> Join<T4> (IQuery<T4> query, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> LeftJoin<T4> (IQuery<T4> query, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> RightJoin<T4> (IQuery<T4> query, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> Join<T4> (IAggregate<T4> aggregate, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> LeftJoin<T4> (IAggregate<T4> aggregate, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> RightJoin<T4> (IAggregate<T4> aggregate, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> Join<T4> (ISelect<T4> select, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> LeftJoin<T4> (ISelect<T4> select, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4> RightJoin<T4> (ISelect<T4> select, Expression<Func<T, T1, T2, T3, T4, bool>> onExpression) where T4 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4> Where (Expression<Func<T, T1, T2, T3, T4, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Join<T5> (Expression<Func<T5, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Join<T5> (Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> LeftJoin<T5> (Expression<Func<T5, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> LeftJoin<T5> (Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> RightJoin<T5> (Expression<Func<T5, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> RightJoin<T5> (Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Join<T5> (IQuery<T5> query, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> LeftJoin<T5> (IQuery<T5> query, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> RightJoin<T5> (IQuery<T5> query, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Join<T5> (IAggregate<T5> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> LeftJoin<T5> (IAggregate<T5> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> RightJoin<T5> (IAggregate<T5> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Join<T5> (ISelect<T5> select, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> LeftJoin<T5> (ISelect<T5> select, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> RightJoin<T5> (ISelect<T5> select, Expression<Func<T, T1, T2, T3, T4, T5, bool>> onExpression) where T5 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4, T5>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
where T5 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4, T5> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Where (Expression<Func<T, T1, T2, T3, T4, T5, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, T5, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, T5, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, T5, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4, T5> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4, T5> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, T5, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, T5, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Join<T6> (Expression<Func<T6, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Join<T6> (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> LeftJoin<T6> (Expression<Func<T6, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> LeftJoin<T6> (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RightJoin<T6> (Expression<Func<T6, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RightJoin<T6> (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Join<T6> (IQuery<T6> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> LeftJoin<T6> (IQuery<T6> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RightJoin<T6> (IQuery<T6> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Join<T6> (IAggregate<T6> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> LeftJoin<T6> (IAggregate<T6> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RightJoin<T6> (IAggregate<T6> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Join<T6> (ISelect<T6> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> LeftJoin<T6> (ISelect<T6> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RightJoin<T6> (ISelect<T6> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> onExpression) where T6 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4, T5, T6>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
where T5 : class
where T6 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Where (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, T5, T6, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Join<T7> (Expression<Func<T7, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Join<T7> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> LeftJoin<T7> (Expression<Func<T7, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> LeftJoin<T7> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RightJoin<T7> (Expression<Func<T7, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RightJoin<T7> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Join<T7> (IQuery<T7> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> LeftJoin<T7> (IQuery<T7> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RightJoin<T7> (IQuery<T7> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Join<T7> (IAggregate<T7> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> LeftJoin<T7> (IAggregate<T7> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RightJoin<T7> (IAggregate<T7> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Join<T7> (ISelect<T7> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> LeftJoin<T7> (ISelect<T7> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RightJoin<T7> (ISelect<T7> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> onExpression) where T7 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4, T5, T6, T7>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
where T5 : class
where T6 : class
where T7 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Where (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Join<T8> (Expression<Func<T8, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Join<T8> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> LeftJoin<T8> (Expression<Func<T8, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> LeftJoin<T8> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RightJoin<T8> (Expression<Func<T8, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RightJoin<T8> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Join<T8> (IQuery<T8> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> LeftJoin<T8> (IQuery<T8> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RightJoin<T8> (IQuery<T8> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Join<T8> (IAggregate<T8> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> LeftJoin<T8> (IAggregate<T8> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RightJoin<T8> (IAggregate<T8> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Join<T8> (ISelect<T8> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> LeftJoin<T8> (ISelect<T8> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RightJoin<T8> (ISelect<T8> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> onExpression) where T8 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
where T5 : class
where T6 : class
where T7 : class
where T8 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Where (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
<summary>
Inner Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Join<T9> (Expression<Func<T9, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Inner Join table with specified specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Join<T9> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Left Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> LeftJoin<T9> (Expression<Func<T9, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Left Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> LeftJoin<T9> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Right Join table with specified queryExpression and onExpression.
</summary>
<param name="queryExpression">Query expression.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RightJoin<T9> (Expression<Func<T9, bool>> queryExpression, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Right Join table with specified onExpression.
</summary>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RightJoin<T9> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Inner Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Join<T9> (IQuery<T9> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Left Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> LeftJoin<T9> (IQuery<T9> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Right Join query data with onExpression.
</summary>
<param name="query">Query.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RightJoin<T9> (IQuery<T9> query, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Inner Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Join<T9> (IAggregate<T9> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Left Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> LeftJoin<T9> (IAggregate<T9> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Right Join aggregate data with onExpression.
</summary>
<param name="aggregate">Aggregate.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RightJoin<T9> (IAggregate<T9> aggregate, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Inner Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Join<T9> (ISelect<T9> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Left Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> LeftJoin<T9> (ISelect<T9> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
<summary>
Right Join select data with onExpression.
</summary>
<param name="select">Select.</param>
<param name="onExpression">On expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RightJoin<T9> (ISelect<T9> select, Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> onExpression) where T9 : class;
}
<summary>
Join table.
</summary>
public interface IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T : class
where T1 : class
where T2 : class
where T3 : class
where T4 : class
where T5 : class
where T6 : class
where T7 : class
where T8 : class
where T9 : class
{
<summary>
Reset the specified where expression
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> WhereReset ();
<summary>
Set the specified where expression.
</summary>T1,
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Where (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> expression);
<summary>
Catch the specified where expression with and.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> WhereWithAnd (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> expression);
<summary>
Catch the specified where expression with or.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> WhereWithOr (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>> expression);
<summary>
Catch the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> OrderByCatch<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, TKey>> expression);
<summary>
Catch the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> <API key><TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, TKey>> expression);
<summary>
Set the specified asc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> OrderBy<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, TKey>> expression);
<summary>
Set the specified desc order by expression.
</summary>
<param name="expression">Expression.</param>
<typeparam name="TKey">The 1st type parameter.</typeparam>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> OrderByDescending<TKey> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, TKey>> expression);
<summary>
Reset the specified order by expression.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> OrderByReset ();
<summary>
Set take datas count.
</summary>
<param name="count">Count.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Take (int count);
<summary>
Set from datas index.
</summary>
<returns>JoinTable.</returns>
<param name="index">Index.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Skip (int index);
<summary>
Set take datas range.
</summary>
<param name="from">From.</param>
<param name="to">To.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> Range (int from, int to);
<summary>
Reset take datas range.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> RangeReset ();
<summary>
Sets page size.
</summary>
<param name="page">Page.</param>
<param name="size">Size.</param>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> PageSize (int page, int size);
<summary>
Set the SafeLevel.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> SafeMode (SafeLevel level);
<summary>
Sets the distinct.
</summary>
IJoinTable<T, T1, T2, T3, T4, T5, T6, T7, T8, T9> SetDistinct (bool distinct);
<summary>
Create Selector.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
ISelectJoin<K> Select<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, K>> expression) where K : class;
<summary>
Select fields data insert to the specified table K.
</summary>
<param name="expression">Expression.</param>
<typeparam name="K">The 1st type parameter.</typeparam>
int SelectInsert<K> (Expression<Func<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, K>> expression) where K : class, new();
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
int Count {
get;
}
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
long LongCount {
get;
}
<summary>
Gets the datas count.
</summary>
<value>The count.</value>
Task<int> CountAsync();
<summary>
Gets the datas long count.
</summary>
<value>The long count.</value>
Task<long> LongCountAsync();
}
} |
/**
* mmap-wx-simple.c
*
* Simpler version of mmap-wx.c
*/
#ifndef _GNU_SOURCE
# define _GNU_SOURCE /* for MAP_ANONYMOUS, ftruncate, mkstemp */
#endif
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
__attribute__ ((noreturn))
static void perror_exit(const char *s)
{
perror(s);
exit(1);
}
int main(void)
{
const char template[] = "./mmap-wx-XXXXXX";
#if defined(__i386__) || defined(__x86_64__)
const uint8_t code[] = { 0x31, 0xc0, 0xc3 };
#elif defined(__arm__)
const uint32_t code[] = { 0xe3a00000, 0xe12fff1e };
#elif defined(__aarch64__)
const uint32_t code[] = { 0xd2800000, 0xd65f03c0 };
#else
# error Unsupported architecture
#endif
char filename[4096];
int fd, result;
void *wptr, *xptr;
memcpy(filename, template, sizeof(template));
fd = mkstemp(filename);
if (fd == -1)
perror_exit("mkstemp");
if (unlink(filename) < 0)
perror_exit("unlink");
if (ftruncate(fd, sizeof(code)) < 0)
perror_exit("ftruncate");
wptr = mmap(NULL, sizeof(code), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (wptr == MAP_FAILED)
perror_exit("mmap(RW)");
xptr = mmap(NULL, sizeof(code), PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0);
if (xptr == MAP_FAILED)
perror_exit("mmap(RX)");
printf("RW+RX mmap succeeded at %p and %p in %s\n", wptr, xptr, filename);
memcpy(wptr, code, sizeof(code));
if (memcmp(code, xptr, sizeof(code))) {
fprintf(stderr, "RW and RX mmaps don't share the same data\n");
return 1;
}
result = ((int (*)(void))(uintptr_t)xptr) ();
if (result != 0) {
fprintf(stderr, "Unexpected result: %d\n", result);
return 1;
} else {
printf("Code successfully executed\n");
}
if (munmap(xptr, sizeof(code)) < 0)
perror_exit("munmap(RX)");
if (munmap(wptr, sizeof(code)) < 0)
perror_exit("munmap(RW)");
if (close(fd) < 0)
perror_exit("close");
return 0;
} |
<!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_kana_RI` constant in crate `x11_dl`.">
<meta name="keywords" content="rust, rustlang, rust-lang, XK_kana_RI">
<title>x11_dl::keysym::XK_kana_RI - Rust</title>
<link rel="stylesheet" type="text/css" href="../../main.css">
</head>
<body class="rustdoc">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]
<section class="sidebar">
<p class='location'><a href='../index.html'>x11_dl</a>::<wbr><a href='index.html'>keysym</a></p><script>window.sidebarCurrent = {name: 'XK_kana_RI', ty: 'constant', relpath: ''};</script><script defer src="sidebar-items.js"></script>
</section>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press 'S' to search, '?' for more options..."
type="search">
</div>
</form>
</nav>
<section id='main' class="content constant">
<h1 class='fqn'><span class='in-band'><a href='../index.html'>x11_dl</a>::<wbr><a href='index.html'>keysym</a>::<wbr><a class='constant' href=''>XK_kana_RI</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>−</span>]
</a>
</span><a id='src-4038' class='srclink' href='../../src/x11_dl/keysym.rs.html#545' title='goto source code'>[src]</a></span></h1>
<pre class='rust const'>pub const XK_kana_RI: <a class='type' href='../../libc/types/os/arch/c95/type.c_uint.html' title='libc::types::os::arch::c95::c_uint'>c_uint</a><code> = </code><code>0x4d8</code></pre></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<div id="help" class="hidden">
<div class="shortcuts">
<h1>Keyboard shortcuts</h1>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>⇤</dt>
<dd>Move up in search results</dd>
<dt>⇥</dt>
<dd>Move down in search results</dd>
<dt>⏎</dt>
<dd>Go to active search result</dd>
</dl>
</div>
<div class="infos">
<h1>Search tricks</h1>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>typedef</code> (or
<code>tdef</code>).
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code>)
</p>
</div>
</div>
<script>
window.rootPath = "../../";
window.currentCrate = "x11_dl";
window.playgroundUrl = "";
</script>
<script src="../../jquery.js"></script>
<script src="../../main.js"></script>
<script async src="../../search-index.js"></script>
</body>
</html> |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# modification, are permitted provided that the following conditions are met:
# documentation and/or other materials provided with the distribution.
# contributors may be used to endorse or promote products derived from
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
"""
Wrapper for gdi32.dll in ctypes.
"""
__revision__ = "$Id: gdi32.py 1299 2013-12-20 09:30:55Z qvasimodo $"
from defines import *
from kernel32 import GetLastError, SetLastError
# This is used later on to calculate the list of exported symbols.
_all = None
_all = set(vars().keys())
# GDI object types
OBJ_PEN = 1
OBJ_BRUSH = 2
OBJ_DC = 3
OBJ_METADC = 4
OBJ_PAL = 5
OBJ_FONT = 6
OBJ_BITMAP = 7
OBJ_REGION = 8
OBJ_METAFILE = 9
OBJ_MEMDC = 10
OBJ_EXTPEN = 11
OBJ_ENHMETADC = 12
OBJ_ENHMETAFILE = 13
OBJ_COLORSPACE = 14
GDI_OBJ_LAST = OBJ_COLORSPACE
# Ternary raster operations
SRCCOPY = 0x00CC0020 # dest = source
SRCPAINT = 0x00EE0086 # dest = source OR dest
SRCAND = 0x008800C6 # dest = source AND dest
SRCINVERT = 0x00660046 # dest = source XOR dest
SRCERASE = 0x00440328 # dest = source AND (NOT dest)
NOTSRCCOPY = 0x00330008 # dest = (NOT source)
NOTSRCERASE = 0x001100A6 # dest = (NOT src) AND (NOT dest)
MERGECOPY = 0x00C000CA # dest = (source AND pattern)
MERGEPAINT = 0x00BB0226 # dest = (NOT source) OR dest
PATCOPY = 0x00F00021 # dest = pattern
PATPAINT = 0x00FB0A09 # dest = DPSnoo
PATINVERT = 0x005A0049 # dest = pattern XOR dest
DSTINVERT = 0x00550009 # dest = (NOT dest)
BLACKNESS = 0x00000042 # dest = BLACK
WHITENESS = 0x00FF0062 # dest = WHITE
NOMIRRORBITMAP = 0x80000000 # Do not Mirror the bitmap in this call
CAPTUREBLT = 0x40000000 # Include layered windows
# Region flags
ERROR = 0
NULLREGION = 1
SIMPLEREGION = 2
COMPLEXREGION = 3
RGN_ERROR = ERROR
# CombineRgn() styles
RGN_AND = 1
RGN_OR = 2
RGN_XOR = 3
RGN_DIFF = 4
RGN_COPY = 5
RGN_MIN = RGN_AND
RGN_MAX = RGN_COPY
# StretchBlt() modes
BLACKONWHITE = 1
WHITEONBLACK = 2
COLORONCOLOR = 3
HALFTONE = 4
MAXSTRETCHBLTMODE = 4
STRETCH_ANDSCANS = BLACKONWHITE
STRETCH_ORSCANS = WHITEONBLACK
STRETCH_DELETESCANS = COLORONCOLOR
STRETCH_HALFTONE = HALFTONE
# PolyFill() modes
ALTERNATE = 1
WINDING = 2
POLYFILL_LAST = 2
# Layout orientation options
LAYOUT_RTL = 0x00000001 # Right to left
LAYOUT_BTT = 0x00000002 # Bottom to top
LAYOUT_VBH = 0x00000004 # Vertical before horizontal
<API key> = LAYOUT_RTL + LAYOUT_BTT + LAYOUT_VBH
<API key> = 0x00000008
# Stock objects
WHITE_BRUSH = 0
LTGRAY_BRUSH = 1
GRAY_BRUSH = 2
DKGRAY_BRUSH = 3
BLACK_BRUSH = 4
NULL_BRUSH = 5
HOLLOW_BRUSH = NULL_BRUSH
WHITE_PEN = 6
BLACK_PEN = 7
NULL_PEN = 8
OEM_FIXED_FONT = 10
ANSI_FIXED_FONT = 11
ANSI_VAR_FONT = 12
SYSTEM_FONT = 13
DEVICE_DEFAULT_FONT = 14
DEFAULT_PALETTE = 15
SYSTEM_FIXED_FONT = 16
# Metafile functions
META_SETBKCOLOR = 0x0201
META_SETBKMODE = 0x0102
META_SETMAPMODE = 0x0103
META_SETROP2 = 0x0104
META_SETRELABS = 0x0105
<API key> = 0x0106
<API key> = 0x0107
<API key> = 0x0108
META_SETTEXTCOLOR = 0x0209
<API key> = 0x020A
META_SETWINDOWORG = 0x020B
META_SETWINDOWEXT = 0x020C
META_SETVIEWPORTORG = 0x020D
META_SETVIEWPORTEXT = 0x020E
<API key> = 0x020F
META_SCALEWINDOWEXT = 0x0410
<API key> = 0x0211
<API key> = 0x0412
META_LINETO = 0x0213
META_MOVETO = 0x0214
<API key> = 0x0415
<API key> = 0x0416
META_ARC = 0x0817
META_ELLIPSE = 0x0418
META_FLOODFILL = 0x0419
META_PIE = 0x081A
META_RECTANGLE = 0x041B
META_ROUNDRECT = 0x061C
META_PATBLT = 0x061D
META_SAVEDC = 0x001E
META_SETPIXEL = 0x041F
META_OFFSETCLIPRGN = 0x0220
META_TEXTOUT = 0x0521
META_BITBLT = 0x0922
META_STRETCHBLT = 0x0B23
META_POLYGON = 0x0324
META_POLYLINE = 0x0325
META_ESCAPE = 0x0626
META_RESTOREDC = 0x0127
META_FILLREGION = 0x0228
META_FRAMEREGION = 0x0429
META_INVERTREGION = 0x012A
META_PAINTREGION = 0x012B
<API key> = 0x012C
META_SELECTOBJECT = 0x012D
META_SETTEXTALIGN = 0x012E
META_CHORD = 0x0830
META_SETMAPPERFLAGS = 0x0231
META_EXTTEXTOUT = 0x0a32
META_SETDIBTODEV = 0x0d33
META_SELECTPALETTE = 0x0234
META_REALIZEPALETTE = 0x0035
META_ANIMATEPALETTE = 0x0436
META_SETPALENTRIES = 0x0037
META_POLYPOLYGON = 0x0538
META_RESIZEPALETTE = 0x0139
META_DIBBITBLT = 0x0940
META_DIBSTRETCHBLT = 0x0b41
<API key> = 0x0142
META_STRETCHDIB = 0x0f43
META_EXTFLOODFILL = 0x0548
META_SETLAYOUT = 0x0149
META_DELETEOBJECT = 0x01f0
META_CREATEPALETTE = 0x00f7
<API key> = 0x01F9
<API key> = 0x02FA
<API key> = 0x02FB
<API key> = 0x02FC
META_CREATEREGION = 0x06FF
# Metafile escape codes
NEWFRAME = 1
ABORTDOC = 2
NEXTBAND = 3
SETCOLORTABLE = 4
GETCOLORTABLE = 5
FLUSHOUTPUT = 6
DRAFTMODE = 7
QUERYESCSUPPORT = 8
SETABORTPROC = 9
STARTDOC = 10
ENDDOC = 11
GETPHYSPAGESIZE = 12
GETPRINTINGOFFSET = 13
GETSCALINGFACTOR = 14
MFCOMMENT = 15
GETPENWIDTH = 16
SETCOPYCOUNT = 17
SELECTPAPERSOURCE = 18
DEVICEDATA = 19
PASSTHROUGH = 19
GETTECHNOLGY = 20
GETTECHNOLOGY = 20
SETLINECAP = 21
SETLINEJOIN = 22
SETMITERLIMIT = 23
BANDINFO = 24
DRAWPATTERNRECT = 25
GETVECTORPENSIZE = 26
GETVECTORBRUSHSIZE = 27
ENABLEDUPLEX = 28
GETSETPAPERBINS = 29
GETSETPRINTORIENT = 30
ENUMPAPERBINS = 31
SETDIBSCALING = 32
EPSPRINTING = 33
ENUMPAPERMETRICS = 34
GETSETPAPERMETRICS = 35
POSTSCRIPT_DATA = 37
POSTSCRIPT_IGNORE = 38
MOUSETRAILS = 39
GETDEVICEUNITS = 42
<API key> = 256
GETEXTENTTABLE = 257
GETPAIRKERNTABLE = 258
GETTRACKKERNTABLE = 259
EXTTEXTOUT = 512
GETFACENAME = 513
DOWNLOADFACE = 514
<API key> = 768
ENABLEPAIRKERNING = 769
SETKERNTRACK = 770
SETALLJUSTVALUES = 771
SETCHARSET = 772
STRETCHBLT = 2048
METAFILE_DRIVER = 2049
GETSETSCREENPARAMS = 3072
QUERYDIBSUPPORT = 3073
BEGIN_PATH = 4096
CLIP_TO_PATH = 4097
END_PATH = 4098
EXT_DEVICE_CAPS = 4099
RESTORE_CTM = 4100
SAVE_CTM = 4101
SET_ARC_DIRECTION = 4102
<API key> = 4103
SET_POLY_MODE = 4104
SET_SCREEN_ANGLE = 4105
SET_SPREAD = 4106
TRANSFORM_CTM = 4107
SET_CLIP_BOX = 4108
SET_BOUNDS = 4109
SET_MIRROR_MODE = 4110
OPENCHANNEL = 4110
DOWNLOADHEADER = 4111
CLOSECHANNEL = 4112
<API key> = 4115
<API key> = 4116
POSTSCRIPT_IDENTIFY = 4117
<API key> = 4118
CHECKJPEGFORMAT = 4119
CHECKPNGFORMAT = 4120
<API key> = 4121
GDIPLUS_TS_QUERYVER = 4122
GDIPLUS_TS_RECORD = 4123
SPCLPASSTHROUGH2 = 4568
# typedef struct _RECT {
# LONG left;
# LONG top;
# LONG right;
# LONG bottom;
# }RECT, *PRECT;
class RECT(Structure):
_fields_ = [
('left', LONG),
('top', LONG),
('right', LONG),
('bottom', LONG),
]
PRECT = POINTER(RECT)
LPRECT = PRECT
# typedef struct tagPOINT {
# LONG x;
# LONG y;
# } POINT;
class POINT(Structure):
_fields_ = [
('x', LONG),
('y', LONG),
]
PPOINT = POINTER(POINT)
LPPOINT = PPOINT
# typedef struct tagBITMAP {
# LONG bmType;
# LONG bmWidth;
# LONG bmHeight;
# LONG bmWidthBytes;
# WORD bmPlanes;
# WORD bmBitsPixel;
# LPVOID bmBits;
# } BITMAP, *PBITMAP;
class BITMAP(Structure):
_fields_ = [
("bmType", LONG),
("bmWidth", LONG),
("bmHeight", LONG),
("bmWidthBytes", LONG),
("bmPlanes", WORD),
("bmBitsPixel", WORD),
("bmBits", LPVOID),
]
PBITMAP = POINTER(BITMAP)
LPBITMAP = PBITMAP
# This calculates the list of exported symbols.
_all = set(vars().keys()).difference(_all)
__all__ = [_x for _x in _all if not _x.startswith('_')]
__all__.sort() |
<!-- FOOTER -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="https://web.facebook.com/<API key>/" target="_blank">
<i class="fa fa-facebook-square fa-3x"></i>
</a>
</li>
<li>
<a href="
<i class="fa fa-youtube-square fa-3x"></i>
</a>
</li>
</ul>
<!--<p class="pull-right"><a href="#">Arriba</a></p>-->
<p class="text-center">Copyrigth © 2016 Alejandra Company, Inc.</p>
<p class="text-center">ale.r1611@gmail.com - almanza.danny@gmail.com</p>
</div>
</div>
</div><!-- /.container -->
</footer><!-- footer -->
</body>
</html> |
// SYAlipayDummp.h
// Pods
#import <Foundation/Foundation.h>
@interface SYAlipayDummp : NSObject
@end |
<?php
namespace Eloquent\Schemer\Constraint\ArrayValue;
use Eloquent\Schemer\Constraint\ConstraintInterface;
use Eloquent\Schemer\Constraint\Visitor\<API key>;
class <API key> implements ConstraintInterface
{
/**
* @param boolean $value
*/
public function __construct($value)
{
$this->value = $value;
}
/**
* @return boolean
*/
public function value()
{
return $this->value;
}
/**
* @param <API key> $visitor
*
* @return mixed
*/
public function accept(<API key> $visitor)
{
return $visitor-><API key>($this);
}
private $value;
} |
window.Rendxx = window.Rendxx || {};
window.Rendxx.Game = window.Rendxx.Game || {};
window.Rendxx.Game.Ghost = window.Rendxx.Game.Ghost || {};
window.Rendxx.Game.Ghost.System = window.Rendxx.Game.Ghost.System || {};
/**
* Character: Basic
*/
(function (SYSTEM) {
var Data = SYSTEM.Data;
var _Data = {
objType: 'character',
message: {
cantAppear: "I need more power!"
},
range: {
danger: 12
},
appearingTime: 40,
touchNumer: 20,
hurtNumer: 160
};
var Ghost = function (id, characterPara, characterData, entity) {
SYSTEM.Character.Basic.call(this, id, characterPara, characterData, entity);
// data
this.hidden = true;
this.appearCount = 0;
this.appearing = false;
this.touchList = {};
this.isAction = false;
};
Ghost.prototype = Object.create(SYSTEM.Character.Basic.prototype);
Ghost.prototype.constructor = Ghost;
Ghost.prototype.reset = function (_recoverData) {
if (_recoverData === null || _recoverData === undefined) return;
if (_recoverData[20] != null) this.hidden = _recoverData[20]==0;
SYSTEM.Character.Basic.prototype.reset.call(this, _recoverData);
};
Ghost.prototype.toJSON = function () {
var dat = SYSTEM.Character.Basic.prototype.toJSON.call(this);
dat[20] = this.hidden ? this.appearCount / _Data.appearingTime : 1;
return dat;
};
Ghost.prototype.checkOperation = function (obj) {
var info = obj.check();
switch (obj.objType) {
case SYSTEM.MapObject.Door.Data.ObjType:
// return [SYSTEM.MapObject.Door.Data.Operation.Close];
//return [SYSTEM.MapObject.Door.Data.Operation.Open];
break;
case SYSTEM.MapObject.Furniture.Data.ObjType:
// return [SYSTEM.MapObject.Furniture.Data.Operation.Open];
//return [SYSTEM.MapObject.Furniture.Data.Operation.Close];
break;
case SYSTEM.MapObject.Body.Data.ObjType:
break;
}
return [SYSTEM.MapObject.Basic.Data.Operation.None];
};
Ghost.prototype.getDanger = function (d) {
return 0.3;
};
Ghost.prototype.move = function (direction, directionHead, rush_in, stay_in, headFollow_in) {
if (this.isAction) return;
rush_in = this.hidden;
SYSTEM.Character.Basic.prototype.move.call(this, direction, directionHead, rush_in, stay_in, headFollow_in);
}
Ghost.prototype._move = function (deltaX, deltaY) {
if (!this.hidden) {
SYSTEM.Character.Basic.prototype._move.call(this, deltaX, deltaY);
return;
} else if (this.appearing) {
deltaX /= 4;
deltaY /= 4;
}
var _radius = this.modelData.radius;
var x2 = this.x + deltaX + (deltaX > 0 ? _radius : -_radius),
y2 = this.y + deltaY + (deltaY > 0 ? _radius : -_radius),
x_t = 0,
y_t = 0;
var newX = Math.floor(x2),
newY = Math.floor(y2),
oldX = Math.floor(this.x),
oldY = Math.floor(this.y);
var obj_x = this.entity.interAction.getObject(newX, oldY);
var obj_y = this.entity.interAction.getObject(oldX, newY);
var obj_new = this.entity.interAction.getObject(newX, newY);
var canMove = (obj_new === null || (obj_new.type === SYSTEM.Map.Data.Grid.Door));
if (obj_x === null || (obj_x.type === SYSTEM.Map.Data.Grid.Door))
this.x += deltaX;
else {
x_t = deltaX > 0 ? (newX - _radius) : (newX + 1 + _radius);
if ((deltaX > 0 && x_t > this.x) || (deltaX < 0 && x_t < this.x)) this.x = x_t;
canMove = true;
}
if (obj_y === null || (obj_y.type === SYSTEM.Map.Data.Grid.Door))
this.y += deltaY;
else {
y_t = deltaY > 0 ? (newY - _radius) : (newY + 1 + _radius);
if ((deltaY > 0 && y_t > this.y) || (deltaY < 0 && y_t < this.x)) this.y = y_t;
canMove = true;
}
if (!canMove) {
if (Math.abs(deltaX) > Math.abs(deltaY)) {
y_t = deltaY > 0 ? (newY - _radius) : (newY + 1 + _radius);
if ((deltaY > 0 && y_t > this.y) || (deltaY < 0 && y_t < this.x)) this.y = y_t;
} else {
x_t = deltaX > 0 ? (newX - _radius) : (newX + 1 + _radius);
if ((deltaX > 0 && x_t > this.x) || (deltaX < 0 && x_t < this.x)) this.x = x_t;
}
}
};
Ghost.prototype._updateStatus = function () {
// endurance
if (!this.hidden && this.endurance <= 0) { this.hidden = true; }
if (this.hidden) {
if (this.endurance < this.enduranceMax) {
this.endurance += this.enduranceRecover / 20;
}
this.entity.map.setDanger(Math.floor(this.appearCount * 50 / _Data.appearingTime));
} else {
this.endurance -= this.enduranceMax / 800;
this.entity.map.setDanger(80);
if (this.endurance <= 0) {
this.hidden = true;
}
}
var closest = _Data.range.danger;
for (var i in this.touchList) {
this.touchList[i]
if (this.touchList[i] == 0) {
delete (this.touchList[i]);
this.entity.characterManager.characters[i].warning(false);
}
}
for (var i = 0, l = this.entity.characterManager.characters.length; i < l; i++) {
var c = this.entity.characterManager.characters[i];
if (!c.actived || c.team == this.team) continue;
var r = this.entity.interAction.chracterRange[this.id][c.id];
if (r > _Data.range.danger) continue;
if (r < closest) closest = r;
if (r < 0.5) {
this.touchList[c.id] = _Data.touchNumer;
c.warning(true);
}
}
// danger
this.danger = (_Data.range.danger - closest) / _Data.range.danger;
this.danger = this.danger;
// appear
if (this.appearing) {
if (++this.appearCount >= _Data.appearingTime) {
this.hidden = false;
this.appearCount = 0;
this.appearing = false;
}
} else if (this.appearCount>0) {
this.appearCount
}
};
Ghost.prototype._updateVisible = function () {
for (var i = 0, l = this.entity.characterManager.characters.length; i < l; i++) {
var c = this.entity.characterManager.characters[i];
if (!c.actived || c.team == this.team || this.touchList.hasOwnProperty(c.id)) {
this.visibleCharacter[c.id] = true;
} else if (!this.hidden) {
this.visibleCharacter[c.id] = c.rush || this.entity.interAction.checkVisible(this, c);
this.visibleCharacter[c.id] = c.checkVisible(this, this.visibleCharacter[c.id]);
} else {
this.visibleCharacter[c.id] = false;
}
}
};
Ghost.prototype.checkVisible = function (c, isVisible) {
return (this.hidden && !this.appearing)? false : isVisible;
};
Ghost.prototype.kill = function () {
if (this.isAction || this.hidden) return;
if (this.endurance < this.enduranceMax / 20 && this.isAction) return;
this.actionForce = 'attack';
this.isAction = true;
var that = this;
setTimeout(function () {
that.isAction = false;
that.actionForce = null;
},1600);
this.endurance -= this.enduranceMax / 50;
for (var i = 0, l = this.entity.characterManager.characters.length; i < l; i++) {
var c = this.entity.characterManager.characters[i];
if (!c.actived || c.team == this.team) continue;
var r = this.entity.interAction.chracterRange[this.id][c.id];
if (r < 0.5) {
c.die();
this.touchList[c.id] = _Data.hurtNumer;
} else if (r < 1.5) {
var d = Math.abs(this.currentRotation[0] - this.entity.interAction.chracterAngle[this.id][c.id]);
if (d > 180) d = 360 - d;
if (d < 50) {
c.die();
this.touchList[c.id] = _Data.hurtNumer;
}
}
//console.log(angle);
}
};
Ghost.prototype.startToggle = function () {
if (!this.hidden) {
return;
}
if (this.endurance < this.enduranceMax / 3) {
this.entity.message.send(this.id, _Data.message.cantAppear);
return;
}
this.appearing = true;
};
Ghost.prototype.endToggle = function () {
this.appearing = false;
};
SYSTEM.Character = SYSTEM.Character || {};
SYSTEM.Character.Ghost = SYSTEM.Character.Ghost || {};
SYSTEM.Character.Ghost.Specter = Ghost;
})(window.Rendxx.Game.Ghost.System); |
var _ = require('lodash');
module.exports = function(self, options) {
self.route('post', 'upload', self.middleware.canUpload, self.apos.middleware.files, function(req, res) {
// Must use text/plain for file upload responses in IE <= 9,
// doesn't hurt in other browsers. -Tom
res.header("Content-Type", "text/plain");
// The name attribute could be anything because of how fileupload
// controls work; we don't really care.
var file = _.values(req.files || {})[0];
if (!file) {
return res.send({ status: 'notfound' });
}
return self.accept(req, file, function(err, file) {
if (err) {
console.error(err);
return res.send({ status: 'err' });
}
if(req.query.html) {
res.setHeader('Content-Type', 'text/html');
}
return res.send({ file: file, status: 'ok' });
});
});
// Crop a previously uploaded image, based on the `id` POST parameter
// and the `crop` POST parameter. `id` should refer to an existing
// file in /attachments. `crop` should contain top, left, width and height
// properties.
// This route uploads a new, cropped version of
// the existing image to uploadfs, named:
// /attachments/ID-NAME.top.left.width.height.extension
// The `crop` object is appended to the `crops` array property
// of the file object.
self.route('post', 'crop', self.middleware.canUpload, function(req, res) {
var _id = self.apos.launder.id(req.body._id);
var crop = req.body.crop;
if (typeof(crop) !== 'object') {
return fail();
}
crop = self.sanitizeCrop(crop);
if (!crop) {
return res.send({ status: 'nocrop' });
}
return self.crop(req, _id, crop, function(err) {
res.send({ status: err ? ((typeof(err) === 'string') ? err : 'error') : 'ok'});
});
});
self.route('post', 'crop-editor', self.middleware.canUpload, function(req, res) {
return res.send(self.render(req, 'cropEditor', {}));
});
}; |
package com.radish.master.controller;
import com.cnpc.framework.annotation.RefreshCSRFToken;
import com.cnpc.framework.annotation.VerifyCSRFToken;
import com.cnpc.framework.base.dao.BaseDao;
import com.cnpc.framework.base.entity.Dict;
import com.cnpc.framework.base.entity.Mat;
import com.cnpc.framework.base.entity.User;
import com.cnpc.framework.base.pojo.Result;
import com.cnpc.framework.base.service.BaseService;
import com.cnpc.framework.utils.SecurityUtil;
import com.cnpc.framework.utils.StrUtil;
import com.radish.master.entity.Channel;
import com.radish.master.entity.Materiel;
import com.radish.master.entity.Sign;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.security.auth.Subject;
import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Random;
@Controller
@RequestMapping("/material")
public class MaterialController {
private String prefix="/materialSpace/material/";
@Autowired
private BaseService baseService;
@Autowired
private SessionFactory sessionFactory;
public Session getCurrentSession() {
return this.sessionFactory.getCurrentSession();
}
@RequestMapping(value="/index",method = RequestMethod.GET)
public String index(){
return prefix+"materiel_list" ;
}
@RefreshCSRFToken
@RequestMapping(value="/add",method = RequestMethod.GET)
public String add(){
return prefix+"materiel_add";
}
@RefreshCSRFToken
@RequestMapping(value="/edit",method = RequestMethod.GET)
public String edit(String id,HttpServletRequest request){
request.setAttribute("id", id);
request.setAttribute("doWhat",request.getParameter("doWhat"));
return prefix+"materiel_edit";
}
@RefreshCSRFToken
@RequestMapping(value="/detail",method = RequestMethod.GET)
public String detail(String id,HttpServletRequest request){
request.setAttribute("id", id);
request.setAttribute("doWhat",request.getParameter("doWhat"));
return prefix+"materiel_edit";
}
@RefreshCSRFToken
@RequestMapping(value="/detail_his",method = RequestMethod.GET)
public String detail_his(String id,HttpServletRequest request){
request.setAttribute("id", id);
return prefix+"materiel_his";
}
@RequestMapping(value="/getFl",method = RequestMethod.POST)
@ResponseBody
public Result getFl(HttpServletRequest request){
List<Mat> m = new ArrayList<Mat>();
String parent_id = request.getParameter("p_id");
String sql ="";
if(parent_id==null){
m = baseService.findBySql("select * from tbl_dic_mat where parent_id is null", Mat.class);
sql = " select * from tbl_dic_mat where parent_id='"+m.get(0).getId()+"'";
}else{
sql = " select * from tbl_dic_mat where parent_id='"+parent_id+"'";
}
List<Mat> list= baseService.findBySql(sql, Mat.class);
Result r = new Result();
r.setData(list);
return r;
}
@VerifyCSRFToken
@RequestMapping(value="/save",method = RequestMethod.POST)
@ResponseBody
public Result save(HttpServletRequest request,Materiel materiel){
String ss1 = request.getParameter("ss1");
String ss2 = request.getParameter("ss2");
String ss3 = request.getParameter("ss3");
String ss4 = request.getParameter("ss4");
if(ss1!=null){
materiel.setParent_ID(ss1);
}
if(ss2!=null){
materiel.setParent_ID(ss2);
}
if(ss3!=null){
materiel.setParent_ID(ss3);
}
if(ss4!=null){
materiel.setParent_ID(ss4);
}
materiel.setCreate_time(new Date());
String mat_id = materiel.getParent_ID();
Mat m = baseService.get(Mat.class, mat_id);
String code = m.getCode();
String[] strs = code.split("_");
String str = strs[1];
List<String> list = baseService.find("select max(mat.reserve1) from com.radish.master.entity.Materiel mat");
if(list.isEmpty()||list.get(0)==null){
materiel.setMat_number(str+"100105");
materiel.setReserve1("100105");
}else{
String s= list.get(0);
int i;
if(StrUtil.isEmpty(s)){
i = 100105;
}else{
i = Integer.parseInt(s);
i++;
}
materiel.setMat_number(str+i);
materiel.setReserve1(i+"");
}
/*//
Random ra = new Random();
String s = str+ra.nextInt(10000);
materiel.setMat_number(s);*/
User u = SecurityUtil.getUser();
materiel.setCreate_name(u.getName());
String id = (String)baseService.save(materiel);
Result r = new Result();
r.setSuccess(true);
return r;
}
@RequestMapping(value="/delete/{id}",method = RequestMethod.POST)
@ResponseBody
public Result delete(@PathVariable("id") String id){
Materiel m = baseService.get(Materiel.class, id);
baseService.delete(m);
Result r = new Result();
r.setSuccess(true);
return r;
}
@RequestMapping(value="/get",method = RequestMethod.POST)
@ResponseBody
public Result getById(String id){
Materiel m=baseService.get(Materiel.class, id);
Result r = new Result();
r.setData(m);
return r;
}
@RequestMapping(value="/getSsfl",method = RequestMethod.POST)
@ResponseBody
public Result getSsfl(String parent_id){
String ssfl = "";
Mat d1 = baseService.get(Mat.class, parent_id);
ssfl = d1.getName();
parent_id = d1.getParentId();
while(true){
parent_id = d1.getParentId();
if(parent_id!=null){
d1=baseService.get(Mat.class, parent_id);
parent_id= d1.getParentId();
ssfl = d1.getName()+"-"+ssfl;
}else{
break;
}
}
Result r = new Result();
r.setMessage(ssfl);
return r;
}
@VerifyCSRFToken
@RequestMapping(value="/update",method = RequestMethod.POST)
@ResponseBody
public Result update(HttpServletRequest request,Materiel ma){
String id = ma.getId();
Materiel m=baseService.get(Materiel.class, id);
m.setMat_name(ma.getMat_name());
m.setMat_standard(ma.getMat_standard());
m.setUnit(ma.getUnit());
m.setIsValid(ma.getIsValid());
baseService.update(m);
Result r = new Result();
r.setSuccess(true);
return r;
}
/**
*
* @author wangzhihao
* @ 2018121 10:28:14
* @return
*/
@RequestMapping("/getFh")
public String getFh(){
return prefix+"getFh";
}
@RequestMapping(value="/getFhBtn",method = RequestMethod.POST)
@ResponseBody
public Result getFhBtn(HttpServletRequest request){
List<Sign> m = new ArrayList<Sign>();
String sql =" select * from tbl_sign ";
List<Sign> list= baseService.findBySql(sql, Sign.class);
Result r = new Result();
r.setData(list);
return r;
}
/**
*
* @author wangzhihao
* @ 201831 8:17:43
* @return
*/
@RequestMapping(value="/saveInStock",method = RequestMethod.POST)
@ResponseBody
public Result saveInStock(HttpServletRequest request,Materiel materiel,Channel c){
String ss1 = request.getParameter("ss1");
String ss2 = request.getParameter("ss2");
String ss3 = request.getParameter("ss3");
String ss4 = request.getParameter("ss4");
if(ss1!=null){
materiel.setParent_ID(ss1);
}
if(ss2!=null){
materiel.setParent_ID(ss2);
}
if(ss3!=null){
materiel.setParent_ID(ss3);
}
if(ss4!=null){
materiel.setParent_ID(ss4);
}
materiel.setCreate_time(new Date());
String mat_id = materiel.getParent_ID();
Mat m = baseService.get(Mat.class, mat_id);
String code = m.getCode();
String[] strs = code.split("_");
String str = strs[1];
List<String> list = baseService.find("select max(mat.reserve1) from com.radish.master.entity.Materiel mat");
if(list.isEmpty()||list.get(0)==null){
materiel.setMat_number(str+"100105");
materiel.setReserve1("100105");
}else{
String s= list.get(0);
int i;
if(StrUtil.isEmpty(s)){
i = 100105;
}else{
i = Integer.parseInt(s);
i++;
}
materiel.setMat_number(str+i);
materiel.setReserve1(i+"");
}
User u = SecurityUtil.getUser();
materiel.setCreate_name(u.getName());
String id = (String)baseService.save(materiel);
c.setId(null);
c.setMat_ID(materiel.getMat_number());
c.setCreate_time(new Date());
Double price = c.getPrice();
c.setPrice(new BigDecimal(price).setScale(6, BigDecimal.ROUND_HALF_UP).doubleValue());
c.setIsValid("1");
baseService.save(c);
Result r = new Result();
r.setSuccess(true);
return r;
}
@RequestMapping(value="/isHaveMat",method = RequestMethod.POST)
@ResponseBody
public Result isHaveMat(HttpServletRequest request,Materiel m){
String name = m.getMat_name();
String unit = m.getUnit();
String gg = m.getMat_standard();
List<Materiel> ms = baseService.findBySql("select * from tbl_materiel where mat_standard='"+gg+"' and mat_name='"+name+"' and unit='"+unit+"'",Materiel.class);
Result r = new Result();
if(ms.size()>0){
r.setMessage("ishave");
}else{
r.setSuccess(true);
}
return r;
}
} |
<?php
//RESULT FORMAT:
// '%y Year %m Month %d Day %h Hours %i Minute %s Seconds' => 1 Year 3 Month 14 Day 11 Hours 49 Minute 36 Seconds
// '%y Year %m Month %d Day' => 1 Year 3 Month 14 Days
// '%m Month %d Day' => 3 Month 14 Day
// '%d Day %h Hours' => 14 Day 11 Hours
// '%d Day' => 14 Days
// '%h Hours %i Minute %s Seconds' => 11 Hours 49 Minute 36 Seconds
// '%i Minute %s Seconds' => 49 Minute 36 Seconds
// '%h Hours => 11 Hours
// '%a Days => 468 Days
function dateDifference($date_1 , $date_2 , $differenceFormat = '%s' )
{
$datetime1 = date_create($date_1);
$datetime2 = date_create($date_2);
$interval = date_diff($datetime1, $datetime2);
return $interval->format($differenceFormat);
}
function removeDc($valores) {
$sum = 0;
foreach ($valores as $key => $val) {
$sum += $val;
}
$media = $sum / count($valores);
$i = 0;
$scale = 2;
foreach ($valores as $key => $val) {
$valoresSemDC[$i] = round(($val - $media), $scale);
$i++;
}
return $valoresSemDC;
}
function converterGrandezaC($VALORSEMDC, $GANHO) {
$i = 0;
$scale = 3;
foreach ($VALORSEMDC as $key => $val) {
$LISTA[$i] = round(($val / $GANHO), $scale, PHP_ROUND_HALF_EVEN);
$i++;
}
return $LISTA;
}
function converterGrandezaT($VALSEMDC,$GANHO, $VALRESISTOR) {
$i = 0;
$scale = 1;
$mode = 'PHP_ROUND_HALF_EVEN';
foreach ($VALSEMDC as $val) {
$LISTA[$i] = round((($val / $GANHO)*$VALRESISTOR), $scale);
$i++;
}
return $LISTA;
}
// Funo para insero dos valores no banco de dados
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString( $theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = <API key>() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("<API key>") ? <API key>($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
?> |
<?php
if (!isset($path))
$path = "";
include($path ."application/models/Default/Functions.class.php"); |
#!/usr/bin/env node
// wie viele Clients sind verbunden?
var numberOfConnections = 0;
// Array aller connections
var connections = [];
var WebSocketServer = require('websocket').server;
var http = require('http');
var server = http.createServer(function(request, response) {
console.log((new Date()) + ' Received request for ' + request.url);
// 404 = Fehlercode = Nicht gefunden
response.writeHead(404);
response.end();
});
// wartet auf Nachrichten an Port 8080
server.listen(8080, function() {
console.log((new Date()) + ' Server is listening on port 8080');
});
var wsServer = new WebSocketServer({
httpServer: server,
<API key>: false // manuelles request.accept (Line 45)
});
function originIsAllowed(origin) {
return true; // momentan: wir lassen alle zu
}
wsServer.on('request', function(request) {
if (!originIsAllowed(request.origin)) {
// wenn Client nicht auf WebSocketServer zugreifen darf
request.reject(); // lehne Verbindung ab
console.log((new Date()) + ' Connection from origin ' + request.origin + ' rejected.'); // logge Datum und <API key>
return; // Funktion wsServer.on('request') verlassen
}
// Verbindung aufbauen/akzeptieren
var connection = request.accept('echo-protocol', request.origin);
numberOfConnections++;
connections.push(connection);
// loggen
console.log((new Date()) + ' Connection accepted.');
// an sich verbindenen Client Accept-Message senden (UTF-8 Zeichenkodierung)
connection.sendUTF("Connection was established");
// immer wenn der Client an den Server Nachricht senden
connection.on('message', function(message) {
if (message.type === 'utf8') {
if (message.utf8Data == '/status') {
connection.sendUTF('Number of open Connections: ' + numberOfConnections);
} else if (message.utf8Data == '/date') {
connection.sendUTF(new Date());
} else if (message.utf8Data == '/serverClose') {
// Verbindung wird vom Server geschlossen
connection.close();
} else if (message.utf8Data == '/humanFirewall') {
for (var i=0; i < connections.length; i++) {
connections[i].close();
}
} else {
// normale <API key>
for (var i=0; i < connections.length; i++) {
if(connection != connections[i]) {
connections[i].sendUTF(message.utf8Data);
}
}
}
}
});
// wird aufgerufen, wenn die Verbindung wie auch immer geschlossen wird
connection.on('close', function(reasonCode, description) {
console.log((new Date()) + ' one Client disconnected.');
numberOfConnections
});
}); |
<?php
declare(strict_types=1);
namespace OpenCFP\Test\Integration\Provider;
use Cartalyst\Sentinel\Sentinel;
use OpenCFP\Test\Integration\WebTestCase;
final class <API key> extends WebTestCase
{
/**
* @test
*/
public function <API key>()
{
/** @var Sentinel $sentinel */
$container = self::$container;
$sentinel = $container->get(Sentinel::class);
$this->assertNotNull($sentinel->getUserRepository());
$this->assertNotNull($sentinel-><API key>());
$this->assertNotNull($sentinel->getRoleRepository());
$this->assertNotNull($sentinel-><API key>());
$this->assertNotNull($sentinel-><API key>());
$this->assertNotNull($sentinel-><API key>());
}
} |
using <API key>;
using System;
using System.Reflection;
using Verse;
namespace CraftingHysteresis
{
class Bootstrap : Def
{
public static FieldInfo ButtonPlus;
public static FieldInfo ButtonMinus;
public string ModName;
static Bootstrap()
{
{
MethodInfo method1 = typeof(RimWorld.BillUtility).GetMethod("MakeNewBill", BindingFlags.Static | BindingFlags.Public);
MethodInfo method2 = typeof(BillUtility_Detour).GetMethod("MakeNewBill", BindingFlags.Static | BindingFlags.Public);
if (!Detours.TryDetourFromTo(method1, method2))
{
return;
}
}
Assembly Assembly_CSharp = Assembly.Load("Assembly-CSharp.dll");
Type Verse_TexButton = Assembly_CSharp.GetType("Verse.TexButton");
ButtonPlus = Verse_TexButton.GetField("Plus", BindingFlags.Static | BindingFlags.Public);
ButtonMinus = Verse_TexButton.GetField("Minus", BindingFlags.Static | BindingFlags.Public);
}
}
} |
const router = require("koa-router")();
const Models = require("../lib/core");
const $User = Models.$User;
const redisUtils = require("../utils/redisUtils");
router.post("/api/registActive", async ctx => {
let code = "1",
message = "";
var { verifyKey } = ctx.request.body;
try {
const activeKey = verifyKey.split("/")[2];
await redisUtils
.getCreateTmpUser(activeKey)
.then(async res => {
/*eslint no-unused-vars: ["error", { "ignoreRestSiblings": true }]*/
let { activeKey, ...user } = res;
await $User.create(user);
})
.then(async () => {
let result = await redisUtils.delCreateTmpUser(activeKey);
if (result === 0) {
code = "-1";
message = "redis";
}
});
} catch (e) {
code = "-2";
message = e.message;
}
ctx.response.body = {
code: code,
message: message
};
});
module.exports = router; |
require_relative 'spec_helper.rb'
feature "a user clicks card in hand" do
before do
create_room("jnmandal")
deal_cards(5)
find('div:nth-child(3) > .card').click
end
scenario "has Draw Card button" do
expect(page).to have_button("Draw Card")
end
scenario "has Pass Card button" do
expect(page).to have_button("Pass")
end
scenario "has Play Card button" do
expect(page).to have_button("Play")
end
scenario "has Discard Card button" do
expect(page).to have_button("Discard")
end
end
feature "a user draws a card" do
before do
create_room("jnmandal")
deal_cards(5)
find('div:nth-child(3) > .card').click
click_button("Draw Card")
end
scenario "card is passed to player's hand" do
page.assert_selector(".card", count: 6)
end
end
feature "a user plays a card" do
before do
<API key>("jnmandal", "bsheridan12")
in_browser(:one) do
deal_cards(5)
click_card(3)
click_button("Play")
end
end
scenario "card is removed from player hand" do
in_browser(:one) do
within "div.player-hand" do
page.assert_selector(".card", count: 4)
end
end
end
scenario "selected card is moved to table" do
in_browser(:one) do
within "div.table-cards" do
page.assert_selector(".card", count: 1)
end
end
end
scenario "card on table is card that was in hand" do
end
scenario "second user can see player card" do
in_browser(:two) do
within "div.table-cards" do
page.assert_selector(".card", count: 1)
end
end
end
end
feature "a user discards a card" do
before do
create_room("jnmandal")
in_browser(:one) do
deal_cards(5)
find('div:nth-child(3) > .card').click
click_button("Discard")
end
end
end |
.logo {
position: absolute;
float: left;
padding-top: 15px;
padding-left: 15px;
} |
package bowhaus
import unfiltered.netty.Http
import scopt.immutable.OptionParser
object Server {
private case class Config(
serverPort: Int = sys.env.getOrElse("BOWHAUS_PORT", "8080").toInt,
redisHost: String = sys.env.getOrElse("BOWHAUS_REDIS", "localhost:6379"),
redisPrefix: String = sys.env.getOrElse("BOWHAUS_NAMESPACE", "testing")) {
def parse(a: Array[String]) =
new OptionParser[Config] {
def options = Seq(
intOpt("p", "port", "port to listen on") {
(p, c) => c.copy(serverPort = p)
},
opt("r", "redis", "redis host") {
(h, c) => c.copy(redisHost = h)
},
opt("n", "namespace", "prefix for redis keys") {
(p, c) => c.copy(redisPrefix = p)
}
)
} parse(a, this)
}
def main(a: Array[String]) {
Config().parse(a).map { conf =>
val stores = new RedisPackageStores(conf.redisHost)
Http(conf.serverPort)
.plan(Endpoints(stores, conf.redisPrefix))
.beforeStop {
stores.shutdown
}
.run()
} getOrElse {
sys.error("invalid args: %s" format a.toList)
}
}
} |
package com.quadirkareem.tryouts;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.List;
import org.apache.commons.io.FileUtils;
public class TestGenWords {
private final static String WORD = "<API key>"
+ "<API key>"
+ "<API key>"
+ "<API key>"
+ "<API key>";
private final static int MAX_LEN = 256;
private final static String PATH = "src/main/resources/";
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
//printPlainEncrypted();
printPlainTextWords();
}
private static void <API key>() throws IOException {
String encrypted = FileUtils.readFileToString(new File(PATH
+ "encrypted.txt"), StandardCharsets.UTF_8);
String[] encryptedWords = encrypted.split("\\s+");
StringBuilder sb = new StringBuilder(50000);
for (int i = 0; i < encryptedWords.length; i++) {
sb.append(encryptedWords[i]);
sb.append("\n");
}
FileUtils.write(new File(PATH + "finalencryptedtext"), sb,
StandardCharsets.UTF_8);
}
private static void massagePlainWords() throws IOException {
String encrypted = FileUtils.readFileToString(new File(PATH + "text"),
StandardCharsets.UTF_8);
String[] encryptedWords = encrypted.split("\\s+");
StringBuilder sb = new StringBuilder(50000);
for (int i = 0; i < encryptedWords.length; i++) {
sb.append(encryptedWords[i]);
sb.append("\n");
}
FileUtils.write(new File(PATH + "finaltext"), sb,
StandardCharsets.UTF_8);
}
private static void printPlainEncrypted() throws IOException {
List<String> plainWords = FileUtils.readLines(new File(PATH
+ "finaltext"), StandardCharsets.UTF_8);
List<String> encryptedWords = FileUtils.readLines(new File(PATH
+ "finalencryptedtext"), StandardCharsets.UTF_8);
StringBuilder sb = new StringBuilder(50000);
for (int i = 0; i < plainWords.size(); i++) {
String p = plainWords.get(i);
String e = encryptedWords.get(i);
sb.append(p);
sb.append(",");
sb.append(e);
sb.append(",");
sb.append(p.length());
sb.append(",");
sb.append(e.length());
sb.append("\n");
}
FileUtils.write(new File(PATH + "final"), sb,
StandardCharsets.UTF_8);
}
private static void printPlainTextWords() throws IOException {
StringBuilder sb = new StringBuilder(50000);
for (int i = 1; i <= MAX_LEN; i++) {
sb.append(WORD.substring(0, i));
sb.append(" ");
}
FileUtils.write(new File(PATH + "text"), sb);
}
} |
<?php
use LTBAuctioneer\Debug\Debug;
use LTBAuctioneer\Init\Environment;
use LTBAuctioneer\Test\Auction\AuctionStateUtil;
use LTBAuctioneer\Test\Auction\AuctionUtil;
use LTBAuctioneer\Test\TestCase\SiteTestCase;
use LTBAuctioneer\Test\XChain\XChainUtil;
use \<API key> as PHPUnit;
use Utipd\CurrencyLib\CurrencyUtil;
class AuctionPayoutTest extends SiteTestCase
{
public function testAuctionPayout() {
$app = Environment::initEnvironment('test');
// install mocks
$xchain_recorder = XChainUtil::<API key>($app, $this);
// run a scenario
$auction = AuctionStateUtil::runAuctionScenario($app, 5);
// payout
$payer = $app['auction.payer'];
$auction = $payer->payoutAuction($auction);
// check receipts
$auction = $auction->reload();
$receipts = $auction['payoutReceipts'];
PHPUnit::assertNotEmpty($receipts);
PHPUnit::assertCount(4, $receipts);
# Debug::trace("\$receipts=\n".json_encode($receipts, 192),__FILE__,__LINE__,$this);
// echo "\$receipts:\n".json_encode($receipts, 192)."\n";
foreach ($receipts as $receipt) {
$first_receipt = $receipt;
break;
}
// amount sent
PHPUnit::assertEquals(1, CurrencyUtil::satoshisToNumber($first_receipt['amountSent']));
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.