answer
stringlengths
15
1.25M
<!--{template @admin/header}--> {~ui('loader')->js('@jquery.hook')} {~ui('loader')->js('#admin/js/sdb.parser')} {~ui('loader')->js('#html/catalog/catalog.mgr.ajax')} <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="7">产品分类管理</td> </tr> <tr class="banner"> <td colspan="7"> 1、是否开启分类功能? <font class="ini" src="catalog.enabled"></font>(点击按钮:绿色开启、灰色关闭) (分类显示顺序:数字小的优先显示ï¼?br/> 2、是否自动隐藏在售产品数ä¸?的分类? <font class="ini" src="catalog.filter.empty.enabled"></font> ] (开启后如果某一分类下在售产品数ä¸?,前台会自动隐藏)<br/> 3ã€?b>短标记和分类名称可直接编辑,编辑完成后系统会自动保存</b><br/> 4、如果某一分类下没有产品显示,请检查您的产品所属城市和当前浏览的城市是否一è‡?br/> 5ã€?font color="red"><b>特别注意:短标记请使用纯字符(字母a到z和数å­?åˆ?ï¼?一定不要使用其他特殊字符!否则分类功能将会失效</b></font> </td> </tr> <tr class="tr_nav"> <td width="5%">显示顺序</td> <td >分类名称</td> <td width="15%">短标记(用于urlï¼?/td> <td width="15%">产品æ•?BR>在售/总计</td> <td width="15%">更新时间</td> <td width="15%">管理</td> </tr> <! {eval if ($topclass['id']==0) continue;} {eval $mclass = $topclass; unset($mclass['subclass']); $topclass['subclass'] || $topclass['subclass'] = array(); array_unshift($topclass['subclass'], $mclass); $topclass['subclass'][0]['master'] = true; $parentID = $mclass['id']; $parent = $mclass['name']; $subclass = $topclass['subclass']; } <!--{loop $topclass['subclass'] $i $class}--> {eval if ($class['id']==0) continue;} <tr> <td style="white-space:nowrap;">{if $class['parent'] == 0}{else}{echo '|—â€?;}{/if}<font class="dbf th2s" src="id:{$class['id']}@catalog/order">{$class['order']}</font></td> <td>{echo $class['master'] ? '' : '|—â€?}<font class="dbf" src="id:{$class['id']}@catalog/name">{$class['name']}</font> {echo next($subclass) === false ? ' / <a href="javascript:;" onclick="__catalog_add('.$parentID.')">添加子分ç±?/a>' : ''}</td> <td><font class="dbf" src="id:{$class['id']}@catalog/flag">{$class['flag']}</font></td> <td>{echo $class['master'] ? ' {if $class[parent] == 0}&nbsp;&nbsp;<a href="admin.php?mod=catalog&code=edit&id={$topclass['id']}">编辑</a>{/if}</td> </tr> <!
// This file manually written from cef/include/internal/cef_types.h. // C API name: <API key>. namespace Xilium.CefGlue; <summary> Policy for how the Referrer HTTP header value will be sent during navigation. If the `--no-referrers` command-line flag is specified then the policy value will be ignored and the Referrer value will never be sent. Must be kept synchronized with net::URLRequest::ReferrerPolicy from Chromium. </summary> public enum CefReferrerPolicy { <summary> Clear the referrer header if the header value is HTTPS but the request destination is HTTP. This is the default behavior. </summary> <API key>, <summary> Default policy (same as <API key>). </summary> Default = <API key>, <summary> A slight variant on <API key>: If the request destination is HTTP, an HTTPS referrer will be cleared. If the request's destination is cross-origin with the referrer (but does not downgrade), the referrer's granularity will be stripped down to an origin rather than a full URL. Same-origin requests will send the full referrer. </summary> <API key>, <summary> Strip the referrer down to an origin when the origin of the referrer is different from the destination's origin. </summary> <API key>, <summary> Never change the referrer. </summary> NeverClearReferrer, <summary> Strip the referrer down to the origin regardless of the redirect location. </summary> Origin, <summary> Clear the referrer when the request's referrer is cross-origin with the request's destination. </summary> <API key>, <summary> Strip the referrer down to the origin, but clear it entirely if the referrer value is HTTPS and the destination is HTTP. </summary> <API key>, <summary> Always clear the referrer regardless of the request destination. </summary> NoReferrer, // Always the last value in this enumeration. LastValue = NoReferrer, }
""" An in-memory implementation of the Kubernetes client interface. """ from json import loads import attr from pyrsistent import InvariantException, PClass, field, pset from zope.interface import Interface, implementer from twisted.python.url import URL from twisted.web.http import CREATED, NOT_FOUND, OK from eliot import start_action from klein import Klein from werkzeug.exceptions import NotFound from treq.testing import <API key> from . import ( IKubernetes, KubernetesError, network_kubernetes, v1_5_model, ) from ._compat import dumps_bytes def memory_kubernetes(): """ Create an in-memory Kubernetes-alike service. This serves as a places to hold state for stateful Kubernetes interactions allowed by ``IKubernetesClient``. Only clients created against the same instance will all share state. :return IKubernetes: The new Kubernetes-alike service. """ return _MemoryKubernetes() @implementer(IKubernetes) class _MemoryKubernetes(object): """ ``_MemoryKubernetes`` maintains state in-memory which approximates the state of a real Kubernetes deployment sufficiently to expose a subset of the external Kubernetes API. :ivar model: All of the Kubernetes model objects as understood by this service. """ def __init__(self): base_url = URL.fromText(u"https://kubernetes.example.invalid./") self.model = v1_5_model self._state = _KubernetesState.for_model(self.model) self._resource = <API key>(self, self.model) self._kubernetes = network_kubernetes( base_url=base_url, agent=<API key>(self._resource), ) def _state_changed(self, state): """ The Kubernetes state has been changed. Record the new version. The state is immutable so any changes must be represented as a brand new object. :param _KubernetesState state: The new state. """ self._state = state def versioned_client(self, *args, **kwargs): """ :return IKubernetesClient: A new client which interacts with this object rather than a real Kubernetes deployment. """ return self._kubernetes.versioned_client(*args, **kwargs) def client(self, *args, **kwargs): """ :return IKubernetesClient: A new client which interacts with this object rather than a real Kubernetes deployment. """ return self._kubernetes.client(*args, **kwargs) def <API key>(memory_service, model): return _Kubernetes(memory_service, model).app.resource() def <API key>(version): if version is None: version = 0 return u"{}".format(int(version) + 1) def _transform_object(obj, *transformation): """ Apply a pyrsistent transformation to an ``IObject``. In addition to the given transformation, the object's resourceVersion will be updated. :param IObject: obj: The object to transform. :param *transformation: Arguments like those to ``PClass.transform``. :return: The transformed object. """ return obj.transform( [u"metadata", u"resourceVersion"], <API key>, *transformation ) def _api_group_for_type(cls): """ Determine which Kubernetes API group a particular PClass is likely to belong with. This is basically nonsense. The question being asked is wrong. An abstraction has failed somewhere. Fixing that will get rid of the need for this. """ _groups = { (u"v1beta1", u"Deployment"): u"extensions", (u"v1beta1", u"DeploymentList"): u"extensions", (u"v1beta1", u"ReplicaSet"): u"extensions", (u"v1beta1", u"ReplicaSetList"): u"extensions", } key = ( cls.apiVersion, cls.__name__.rsplit(u".")[-1], ) group = _groups.get(key, None) return group class IAgency(Interface): """ An ``IAgency`` implementation can impress certain additional behaviors upon a ``_KubernetesState``. The latter shall use methods of the former during state changes to give the former an opportunity to influence the outcome of the state change. """ def before_create(state, obj): """ This is called before an object is created. :param _KubernetesState state: The state in which the object is being created. :param IObject obj: A description of the object to be created. :return IObject: The object to really create. Typically this is some transformation of ``obj`` (for example, with default values populated). """ def after_create(state, obj): """ This is called after an object has been created. :param _KubernetesState state: The state in which the object is being created. :param IObject obj: A description of the object created. Regardless of the implementation of this method, this is the description which will be returned in the response to the create operation. :return IObject: The object to store in the state. Typically this is some transformation of ``obj`` (for example, with an observed status attached)l. """ def before_replace(state, old, new): """ This is called before an existing object is replaced by a new one. :param _KubernetesState state: The state in which the object is being replaced. :param IObject old: A description of the object being replaced. :param IObject new: A description of the object to replace ``old``. :raise: Some exception to prevent the replacement from taking place. :return: ``None`` """ @implementer(IAgency) class NullAgency(object): """ ``NullAgency`` does nothing. """ def before_create(self, state, obj): return obj def after_create(self, state, obj): return obj def before_replace(self, state, old, new): pass @implementer(IAgency) @attr.s(frozen=True) class AdHocAgency(object): """ ``AdHocAgency`` implements some object changes which I observed to happen on a real Kubernetes server while I was working on various parts of txkube. No attempt at completeness attempted. The system for selecting changes to implement is to run into important inconsistencies between this and a real Kubernetes while developing other features and then fix those inconsistencies. Perhaps in the future this will be replaced by something with less of an ad hoc nature. """ model = attr.ib() def before_create(self, state, obj): return obj.fill_defaults() def after_create(self, state, obj): if isinstance(obj, self.model.v1beta1.Deployment): obj = _transform_object( obj, [u"metadata", u"annotations", u"deployment.kubernetes.io/revision"], u"1", [u"status"], {}, [u"status", u"observedGeneration"], 1, [u"status", u"unavailableReplicas"], 1, ) return obj def before_replace(self, state, old, new): if old.metadata.resourceVersion != new.metadata.resourceVersion: group = _api_group_for_type(type(old)) details = { u"group": group, u"kind": old.kind, u"name": old.metadata.name, } raise KubernetesError.object_modified(details) class _KubernetesState(PClass): """ ``_KubernetesState`` contains the canonical representation of internal state required to emulate a Kubernetes server. :ivar IAgency agency: Any behavior to apply to transformations of this state. """ agency = field() namespaces = field() configmaps = field() services = field() pods = field() deployments = field() replicasets = field() @classmethod def for_model(cls, model): return cls( agency=AdHocAgency(model=model), namespaces=model.v1.NamespaceList(), configmaps=model.v1.ConfigMapList(), services=model.v1.ServiceList(), pods=model.v1.PodList(), deployments=model.v1beta1.DeploymentList(), replicasets=model.v1beta1.ReplicaSetList(), ) def create(self, collection_name, obj): """ Create a new object in the named collection. :param unicode collection_name: The name of the collection in which to create the object. :param IObject obj: A description of the object to create. :return _KubernetesState: A new state based on the current state but also containing ``obj``. """ obj = self.agency.before_create(self, obj) new = self.agency.after_create(self, obj) updated = self.transform( [collection_name], lambda c: c.add(new), ) return updated def replace(self, collection_name, old, new): """ Replace an existing object with a new version of it. :param unicode collection_name: The name of the collection in which to replace an object. :param IObject old: A description of the object being replaced. :param IObject new: A description of the object to take the place of ``old``. :return _KubernetesState: A new state based on the current state but also containing ``obj``. """ self.agency.before_replace(self, old, new) updated = self.transform( [collection_name], lambda c: c.replace(old, new), ) return updated def delete(self, collection_name, obj): """ Delete an existing object. :param unicode collection_name: The name of the collection from which to delete the object. :param IObject obj: A description of the object to delete. :return _KubernetesState: A new state based on the current state but not containing ``obj``. """ updated = self.transform( [collection_name], lambda c: obj.delete_from(c), ) return updated def response(request, status, obj): """ Generate a response. :param IRequest request: The request being responsed to. :param int status: The response status code to set. :param obj: Something JSON-dumpable to write into the response body. :return bytes: The response body to write out. eg, return this from a *render_* method. """ request.setResponseCode(status) request.responseHeaders.setRawHeaders( u"content-type", [u"application/json"], ) body = dumps_bytes(obj) return body @attr.s(frozen=True) class _Kubernetes(object): """ A place to stick a bunch of Klein definitions. :ivar _MemoryKubernetes service: The Kubernetes-alike holding the in-memory Kubernetes state with which the API will be interacting. :ivar model: All of the Kubernetes model objects as understood by this service. """ service = attr.ib() model = attr.ib() # This could be a property except def _get_state(self): return self.service._state def _set_state(self, value): self.service._state_changed(value) def <API key>(self, collection, namespace): # Unfortunately pset does not support transform. :( Use this more # verbose .set() operation. return collection.set( u"items", pset(obj for obj in collection.items if obj.metadata.namespace == namespace), ) def _collection_by_name(self, collection_name): return getattr(self._get_state(), collection_name) def _list(self, request, namespace, collection_name): with start_action(action_type=u"memory:list", kind=collection_name): collection = self._collection_by_name(collection_name) if namespace is not None: collection = self.<API key>(collection, namespace) return response(request, OK, self.model.iobject_to_raw(collection)) def _get(self, request, collection_name, namespace, name): collection = self._collection_by_name(collection_name) if namespace is not None: collection = self.<API key>(collection, namespace) try: obj = collection.item_by_name(name) except KeyError: raise KubernetesError.not_found({ u"name": name, u"kind": collection_name, u"group": _api_group_for_type(type(collection)) }) return response(request, OK, self.model.iobject_to_raw(obj)) def _create(self, request, collection_name): with start_action(action_type=u"memory:create", kind=collection_name): obj = self.model.iobject_from_raw(loads(request.content.read())) try: state = self._get_state().create(collection_name, obj) except InvariantException: collection = getattr(self._get_state(), collection_name) details = { u"name": obj.metadata.name, u"kind": collection_name, u"group": _api_group_for_type(type(collection)), } raise KubernetesError.already_exists(details) self._set_state(state) return response(request, CREATED, self.model.iobject_to_raw(obj)) def _replace(self, request, collection_name, namespace, name): collection = self._collection_by_name(collection_name) if namespace is not None: collection = self.<API key>(collection, namespace) old = collection.item_by_name(name) new = self.model.iobject_from_raw(loads(request.content.read())) try: state = self._get_state().replace(collection_name, old, new) except KubernetesError as e: return response(request, e.code, self.model.iobject_to_raw(e.status)) self._set_state(state) return response(request, OK, self.model.iobject_to_raw(new)) def _delete(self, request, collection_name, namespace, name): collection = self._collection_by_name(collection_name) if namespace is not None: collection = self.<API key>(collection, namespace) try: obj = collection.item_by_name(name) except KeyError: raise KubernetesError.not_found({ u"group": _api_group_for_type(type(collection)), u"kind": collection_name, u"name": name, }) self._set_state(self._get_state().delete(collection_name, obj)) return response(request, OK, self.model.iobject_to_raw(obj)) app = Klein() @app.handle_errors(NotFound) def not_found(self, request, name): return response( request, NOT_FOUND, self.model.iobject_to_raw(self.model.v1.Status( status=u"Failure", message=u"the server could not find the requested resource", reason=u"NotFound", details={}, metadata={}, code=NOT_FOUND, )), ) @app.handle_errors(KubernetesError) def object_not_found(self, request, reason): exc = reason.value return response(request, exc.code, self.model.iobject_to_raw(exc.status)) @app.route(u"/version", methods=[u"GET"]) def get_version(self, request): """ Get version information about this server. """ return response(request, OK, self.model.version.serialize()) @app.route(u"/swagger.json", methods=[u"GET"]) def get_openapi(self, request): """ Get the OpenAPI specification for this server. """ return response(request, OK, self.model.spec.to_document()) with app.subroute(u"/api/v1") as app: @app.route(u"/namespaces", methods=[u"GET"]) def list_namespaces(self, request): """ Get all existing Namespaces. """ return self._list(request, None, u"namespaces") @app.route(u"/namespaces/<namespace>", methods=[u"GET"]) def get_namespace(self, request, namespace): """ Get one Namespace by name. """ return self._get(request, u"namespaces", None, namespace) @app.route(u"/namespaces/<namespace>", methods=[u"DELETE"]) def delete_namespace(self, request, namespace): """ Delete one Namespace by name. """ return self._delete( request, u"namespaces", None, namespace, ) @app.route(u"/namespaces", methods=[u"POST"]) def create_namespace(self, request): """ Create a new Namespace. """ return self._create(request, u"namespaces") @app.route(u"/namespaces/<namespace>", methods=[u"PUT"]) def replace_namespace(self, request, namespace): """ Replace an existing Namespace. """ return self._replace( request, u"namespaces", None, namespace, ) @app.route(u"/namespaces/<namespace>/pods", methods=[u"POST"]) def create_pod(self, request, namespace): """ Create a new Pod. """ return self._create(request, u"pods") @app.route(u"/namespaces/<namespace>/pods/<pod>", methods=[u"DELETE"]) def delete_pod(self, request, namespace, pod): """ Delete one Pod by name """ return self._delete(request, u"pods", namespace, pod) @app.route(u"/pods", methods=[u"GET"]) def list_pods(self, request): """ Get all existing Pods. """ return self._list(request, None, u"pods") @app.route(u"/namespaces/<namespace>/pods/<pod>", methods=[u"PUT"]) def replace_pod(self, request, namespace, pod): """ Replace an existing Pod. """ return self._replace(request, u"pods", namespace, pod) @app.route(u"/namespaces/<namespace>/pods/<pod>", methods=[u"GET"]) def get_pod(self, request, namespace, pod): """ Get one Pod by name. """ return self._get(request, u"pods", namespace, pod) @app.route(u"/configmaps", methods=[u"GET"]) def list_configmaps(self, request): """ Get all existing ConfigMaps. """ return self._list(request, None, u"configmaps") @app.route(u"/namespaces/<namespace>/configmaps/<configmap>", methods=[u"GET"]) def get_configmap(self, request, namespace, configmap): """ Get one ConfigMap by name. """ return self._get(request, u"configmaps", namespace, configmap) @app.route(u"/namespaces/<namespace>/configmaps", methods=[u"POST"]) def create_configmap(self, request, namespace): """ Create a new ConfigMap. """ return self._create(request, u"configmaps") @app.route(u"/namespaces/<namespace>/configmaps/<configmap>", methods=[u"PUT"]) def replace_configmap(self, request, namespace, configmap): """ Replace an existing ConfigMap. """ return self._replace( request, u"configmaps", namespace, configmap, ) @app.route(u"/namespaces/<namespace>/configmaps/<configmap>", methods=[u"DELETE"]) def delete_configmap(self, request, namespace, configmap): """ Delete one ConfigMap by name. """ return self._delete( request, u"configmaps", namespace, configmap, ) @app.route(u"/namespaces/<namespace>/services", methods=[u"POST"]) def create_service(self, request, namespace): """ Create a new Service. """ return self._create(request, u"services") @app.route(u"/namespaces/<namespace>/services/<service>", methods=[u"PUT"]) def replace_service(self, request, namespace, service): """ Replace an existing Service. """ return self._replace( request, u"services", namespace, service, ) @app.route(u"/services", methods=[u"GET"]) def list_services(self, request): """ Get all existing Services. """ return self._list(request, None, u"services") @app.route(u"/namespaces/<namespace>/services/<service>", methods=[u"GET"]) def get_service(self, request, namespace, service): """ Get one Service by name. """ return self._get( request, u"services", namespace, service, ) @app.route(u"/namespaces/<namespace>/services/<service>", methods=[u"DELETE"]) def delete_service(self, request, namespace, service): """ Delete one Service by name. """ return self._delete( request, u"services", namespace, service, ) with app.subroute(u"/apis/extensions/v1beta1") as app: @app.route(u"/namespaces/<namespace>/deployments", methods=[u"POST"]) def create_deployment(self, request, namespace): """ Create a new Deployment. """ return self._create( request, u"deployments", ) @app.route(u"/namespaces/<namespace>/deployments/<deployment>", methods=[u"PUT"]) def replace_deployment(self, request, namespace, deployment): """ Replace an existing Deployment. """ return self._replace( request, u"deployments", namespace, deployment, ) @app.route(u"/deployments", methods=[u"GET"]) def list_deployments(self, request): """ Get all existing Deployments. """ return self._list(request, None, u"deployments") @app.route(u"/namespaces/<namespace>/deployments/<deployment>", methods=[u"GET"]) def get_deployment(self, request, namespace, deployment): """ Get one Deployment by name. """ return self._get( request, u"deployments", namespace, deployment, ) @app.route(u"/namespaces/<namespace>/deployments/<deployment>", methods=[u"DELETE"]) def delete_deployment(self, request, namespace, deployment): """ Delete one Deployment by name. """ return self._delete( request, u"deployments", namespace, deployment, ) @app.route(u"/namespaces/<namespace>/replicasets", methods=[u"POST"]) def create_replicaset(self, request, namespace): """ Create a new ReplicaSet. """ return self._create( request, u"replicasets", ) @app.route(u"/namespaces/<namespace>/replicasets/<replicaset>", methods=[u"PUT"]) def replace_replicaset(self, request, namespace, replicaset): """ Replace an existing ReplicaSet. """ return self._replace( request, u"replicasets", namespace, replicaset, ) @app.route(u"/replicasets", methods=[u"GET"]) def list_replicasets(self, request): """ Get all existing ReplicaSets. """ return self._list(request, None, u"replicasets") @app.route(u"/namespaces/<namespace>/replicasets/<replicaset>", methods=[u"GET"]) def get_replicaset(self, request, namespace, replicaset): """ Get one ReplicaSet by name. """ return self._get( request, u"replicasets", namespace, replicaset, ) @app.route(u"/namespaces/<namespace>/replicasets/<replicaset>", methods=[u"DELETE"]) def delete_replicaset(self, request, namespace, replicaset): """ Delete one ReplicaSet by name. """ return self._delete( request, u"replicasets", namespace, replicaset, )
# GetOpportunityRoles.rb # Marketo REST API Sample Code # This software may be modified and distributed under the terms require 'rest-client' require 'json' host = "CHANGE ME" client_id = "CHANGE ME" client_secret = "CHANGE ME" def get_token(host, client_id, client_secret) url = "#{host}/identity/oauth/token?grant_type=client_credentials&client_id=#{client_id}&client_secret=#{client_secret}" response = RestClient.get url json = JSON.parse(response) return json["access_token"] end params = { :access_token => get_token(host, client_id, client_secret), :filterType => "<API key>", #field to filter on :filterValues => "Ruby Opportunity 1", #list of values separated by commas :batchSize => 50 } response = RestClient.get "#{host}/rest/v1/opportunities/roles.json", {:params => params} puts response
<!DOCTYPE html> <html xmlns:msxsl="urn:<API key>:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="<API key>">.NET Portability Report</title> <style> /* Body style, for the entire document */ body { background: #F3F3F4; color: #1E1E1F; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; padding: 0; margin: 0; } /* Header1 style, used for the main title */ h1 { padding: 10px 0px 10px 10px; font-size: 21pt; background-color: #E2E2E2; border-bottom: 1px #C1C1C2 solid; color: #201F20; margin: 0; font-weight: normal; } /* Header2 style, used for "Overview" and other sections */ h2 { font-size: 18pt; font-weight: normal; padding: 15px 0 5px 0; margin: 0; } /* Header3 style, used for sub-sections, such as project name */ h3 { font-weight: normal; font-size: 15pt; margin: 0; padding: 15px 0 5px 0; background-color: transparent; } h4 { font-weight: normal; font-size: 12pt; margin: 0; padding: 0 0 0 0; background-color: transparent; } /* Color all hyperlinks one color */ a { color: #1382CE; } /* Paragraph text (for longer informational messages) */ p { font-size: 10pt; } /* Table styles */ table { border-spacing: 0 0; border-collapse: collapse; font-size: 10pt; } table th { background: #E7E7E8; text-align: left; text-decoration: none; font-weight: normal; padding: 3px 6px 3px 6px; } table td { vertical-align: top; padding: 3px 6px 5px 5px; margin: 0px; border: 1px solid #E7E7E8; background: #F7F7F8; } .NoBreakingChanges { color: darkgreen; font-weight:bold; } .FewBreakingChanges { color: orange; font-weight:bold; } .ManyBreakingChanges { color: red; font-weight:bold; } .BreakDetails { margin-left: 30px; } .CompatMessage { font-style: italic; font-size: 10pt; } .GoodMessage { color: darkgreen; } /* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */ .localLink { color: #1E1E1F; background: #EEEEED; text-decoration: none; } .localLink:hover { color: #1382CE; background: #FFFF99; text-decoration: none; } /* Center text, used in the over views cells that contain message level counts */ .textCentered { text-align: center; } /* The message cells in message tables should take up all avaliable space */ .messageCell { width: 100%; } /* Padding around the content after the h1 */ #content { padding: 0px 12px 12px 12px; } /* The overview table expands to width, with a max width of 97% */ #overview table { width: auto; max-width: 75%; } /* The messages tables are always 97% width */ #messages table { width: 97%; } /* All Icons */ .IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded { min-width: 18px; min-height: 18px; background-repeat: no-repeat; background-position: center; } /* Success icon encoded */ .IconSuccessEncoded { /* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */ background-image: url(data:image/png;base64,<API key>/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+<API key>/H5+sHpZwYfxyRjTs+<API key>/13u3Fjrs/EdhsdDFHGB/<API key>+m3tVe/t97D52CB/ziG0nIgD/<API key>/<API key>/<API key>+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==); } /* Information icon encoded */ .IconInfoEncoded { /* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */ background-image: url(data:image/png;base64,<API key>/<API key>+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/<API key>/HF1RsMXq+<API key>/<API key>+<API key>/<API key>=); } /* Warning icon encoded */ .IconWarningEncoded { /* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */ background-image: url(data:image/png;base64,<API key>/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/<API key>+wVDSyyzFoJjfz9NB+pAF+<API key>/<API key>/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/<API key>==); } /* Error icon encoded */ .IconErrorEncoded { /* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */ background-image: url(data:image/png;base64,<API key>/<API key>/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+<API key>/<API key>/<API key>=); } </style> </head> <body> <h1 _locid="PortabilityReport">.NET Portability Report</h1> <div id="content"> <div id="submissionId" style="font-size:8pt;"> <p> <i> Submission Id&nbsp; <API key> </i> </p> </div> <h2 _locid="SummaryTitle"> <a name="Portability Summary"></a>Portability Summary </h2> <div id="summary"> <table> <tbody> <tr> <th>Assembly</th> <th>ASP.NET 5,Version=v1.0</th> <th>Windows,Version=v8.1</th> <th>.NET Framework,Version=v4.6</th> <th>Windows Phone,Version=v8.1</th> </tr> <tr> <td><strong><a href="#Doddle.Reporting">Doddle.Reporting</a></strong></td> <td class="text-center">79.44 %</td> <td class="text-center">75.23 %</td> <td class="text-center">100.00 %</td> <td class="text-center">75.23 %</td> </tr> </tbody> </table> </div> <div id="details"> <a name="Doddle.Reporting"><h3>Doddle.Reporting</h3></a> <table> <tbody> <tr> <th>Target type</th> <th>ASP.NET 5,Version=v1.0</th> <th>Windows,Version=v8.1</th> <th>.NET Framework,Version=v4.6</th> <th>Windows Phone,Version=v8.1</th> <th>Recommended changes</th> </tr> <tr> <td>System.Collections.Specialized.StringCollection</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">Add(System.String)</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">CopyTo(System.String[],System.Int32)</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_Count</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.ComponentModel.TypeConverter</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">ConvertFrom(System.Object)</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor(System.Type)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">get_Item(System.String)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">set_Item(System.String,System.Object)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">BaseAdd(System.Configuration.<API key>)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">BaseAdd(System.Int32,System.Configuration.<API key>)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">BaseGet(System.Int32)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">BaseGet(System.Object)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">BaseGetAllKeys</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">BaseRemoveAt(System.Int32)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">GetSection(System.String)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Remove usage: track configuration via alternate means.</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor(System.String)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Configuration.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use configuration appropriate for your application model. For portable Framework Components, expose API for configuration on type</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.DataColumn</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_ColumnName</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_DataType</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.DataRow</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_Item(System.String)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.DataRowCollection</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.DataTable</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_Columns</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_Rows</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Data.<API key></td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">GetEnumerator</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Drawing.Color</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_Black</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">get_White</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">op_Inequality(System.Drawing.Color,System.Drawing.Color)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Drawing.ColorConverter</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">#ctor</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Drawing.ColorTranslator</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">ToHtml(System.Drawing.Color)</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Reflection.PropertyInfo</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use PropertyInfo.GetMethod property</td> </tr> <tr> <td style="padding-left:2em">GetGetMethod</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>Use PropertyInfo.GetMethod property</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>System.Type</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>.GetTypeInfo().IsEnum</td> </tr> <tr> <td style="padding-left:2em">get_IsEnum</td> <td class="IconErrorEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td>.GetTypeInfo().IsEnum</td> </tr> <tr> <td style="padding-left:2em">GetProperties</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td style="padding-left:2em">GetProperty(System.String)</td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td class="IconSuccessEncoded"></td> <td class="IconErrorEncoded"></td> <td></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> <p> <a href="#Portability Summary">Back to Summary</a> </p> </div> </div> </body> </html>
package kkdt.sample.webboot; import java.util.Observable; import java.util.Timer; import java.util.TimerTask; import org.apache.log4j.Logger; /** * <p> * Counter model that will notify all listeners of the current counter. * </p> * * @author thinh * */ public class CounterModel extends Observable { private static final Logger logger = Logger.getLogger(CounterModel.class.getName()); private static final long period = 2000L; private long counter = 0; private long interval = period; /** * <p> * Simple counter task that will update an internal counter for the specified * interval. * </p> * * @param interval milliseconds. */ public CounterModel(long interval) { this.interval = interval; } public void init() { logger.info("Starting counter model, interval: " + interval); Timer timer = new Timer(CounterModel.class.getSimpleName()); timer.scheduleAtFixedRate(new TimerTask() { @Override public void run() { counter++; logger.debug("Counter updated: " + counter); setChanged(); try { notifyObservers("Current application counter: " + counter); } catch (Exception e) { logger.error(e); } finally { clearChanged(); } } }, period, interval); } /** * <p> * The current counter value. * </p> * * @return the counter. */ public synchronized long getCounter() { return counter; } }
using RFiDGear.DataAccessLayer; using System; namespace RFiDGear.Model { <summary> Description of Checkpoint. </summary> public class Checkpoint { public int UUID { get; set; } public Checkpoint() { Random rnd = new Random(); UUID = rnd.Next(); ErrorLevel = ERROR.Empty; } public ERROR ErrorLevel { get; set; } public string TaskIndex { get; set; } public string Content { get; set; } public string CompareValue { get; set; } public string TemplateField { get; set; } } }
<?php function VKAuthURL() { $cfg = GetConfig(); $engine_config = GetEngineConfig(); $redirect = "http://".$cfg['domain'].$engine_config['social']['vk_redirect']; $url = "http://oauth.vk.com/authorize"; $params = array( "client_id" => $engine_config['social']['vk_app'], "redirect_uri" => $redirect, "scope" => "email", "response_type" => "code", "v" => "5.41", ); $full_url = str_replace("&amp;", "&", $url."?".urldecode(http_build_query($params))); return $full_url; } function GetVKProfile($code) { $cfg = GetConfig(); $engine_config = GetEngineConfig(); $profile = array( "uid" => "", "first_name" => "", "last_name" => "", "photo_max_orig" => "", "email" => "", ); $result = false; $params = array( "client_id" => $engine_config['social']['vk_app'], "client_secret" => $engine_config['social']['vk_secret'], "code" => $code, "redirect_uri" => "http://".$cfg['domain'].$engine_config['social']['vk_redirect'], ); try{ $query_url = "https://oauth.vk.com/access_token?".str_replace("&amp;", "&", urldecode(http_build_query($params))); $content = @file_get_contents($query_url); $token_data = json_decode($content, true); if(isset($token_data['access_token'])) { $params = array( "user_ids" => $token_data['user_id'], "fields" => "uid,first_name,last_name,photo_max_orig", "access_token" => $token_data['access_token'], "lang" => "ru", ); $resp = json_decode(file_get_contents("https://api.vk.com/method/users.get?".str_replace("&amp;", "&", urldecode(http_build_query($params)))), true); if(isset($resp['response'][0]['uid'])) { $profile = MergeArrays($resp['response'][0], $profile); $profile['email'] = isset($token_data['email'])? $token_data['email'] : "change_".$profile['uid']; $result = true; } } } catch(Exception $e){ //echo($e); } return $profile; } ?>
$: << "../lib" require 'configdsl' ConfigDSL.execute do lazy_varaible lazy!{ Time.now } standart_variable Time.now <API key> do lazy_time lazy!{ Time.now } end delta lazy!(Time.now){ |config_reading_time| Time.now.to_i - config_reading_time.to_i } end # We sleep for time to change sleep 2 print "Standart: " p ConfigDSL.standart_variable print "Lazy: " p ConfigDSL.lazy_varaible print "Lazy (another way to get): " p ConfigDSL[:lazy_varaible] print "Lazy (force LazyValue object instead of its content): " p ConfigDSL.original_reader(:lazy_varaible) print "Non-toplevel lazy variables (only evaluated on request): " p ConfigDSL.<API key> print "And this value processed: " p ConfigDSL.<API key>.lazy_time print "Delta between lazy and standart Time.now (should -> 2): " p ConfigDSL.delta
<div class="container"> <div class="row deck"> <div class="col-xs-12 col-md-5"> <!--<h3>Poker hand evaluator</h3>--> <div class="panel panel-default "> <div class="panel-heading">Deck</div> <div class="panel-body"> <button id="new-deck" class="btn btn-primary" (click)="deck()">New deck</button> <button id="clear-deck" [disabled]="!gameStore.deck" class="btn btn-default" (click)="clear()">Clear deck</button> <button id="shuffle-deck" [disabled]="!gameStore.deck" class="btn btn-default" (click)="shuffle()">Shuffle deck</button> </div> </div> </div> <div class="col-xs-12 col-md-7"> <div class="panel panel-default"> <div class="panel-heading">Deal</div> <div class="panel-body"> <button id="deal-evaluate" [disabled]="!gameStore.deck" class="btn btn-primary" (click)="dealAndEvaluate()">Deal and evaluate</button> <button id="just-deal" [disabled]="!gameStore.deck" class="btn btn-default" (click)="deal()">Just deal a hand</button> <button id="just-evaluate" [disabled]="!gameStore.deck || !gameStore.hand" class="btn btn-default" (click)="evaluate()">Just evaluate the hand </button> </div> </div> </div> </div> </div> <div class="container"> <div class="row deck"> <div class="col-xs-12 col-md-12"> <h3>Hand</h3> <div> <br/> <div class="hand" id="hand" style="width:100%;text-align:center;"> <h4 style="text-align: center;font-weight:900;"> <span *ngIf="!gameStore.deck"> Welcome! First, please create a new deck. </span> <span *ngIf="gameStore.deck && !gameStore.hand"> Now, deal a hand. </span> <span *ngIf="gameStore.winningHand"> {{ gameStore.winningHand.toString() }} </span> </h4> <span *ngIf="gameStore.hand"> <div *ngFor="let card of gameStore.hand.cards" class="card-container"> <span [ngClass]="gameStore.winningHand && gameStore.winningHand.isWinningCard(card) ? 'winningCard' : ''"> <img width=90 src="{{ card.getImageFileName() }}" alt="{{ card.toString() }}" title="{{ card.toString() }}"><br/> <span class="card-text">{{ card.toString() }}</span> </span> </div> </span> </div> </div> </div> </div> </div>
<?php return array ( 'id' => '<API key>', 'fallback' => 'htc_evo_3d_ver1', 'capabilities' => array ( 'model_name' => 'PG86100', 'model_extra_info' => 'aka Shooter', 'marketing_name' => 'EVO 3D', ), );
require 'bundler/setup' require 'hanami/router' class Index def call(env) [200, { 'Content-Type' => 'text/plain' }, ['Index'] ] end end class Hello def call(env) [200, { 'Content-Type' => 'text/plain' }, ["Hello #{env['router.params'][:name]}"] ] end end app = Hanami::Router.new do get '/', to: Index.new get '/hello/:name', to: Hello.new end Rack::Server.start app: app
#pragma once #include "i_shader.hpp" // fwd declare (most ever) struct ID3D11Device; struct ID3D11DeviceChild; struct ID3D10Blob; struct ID3D11Buffer; struct <API key>; typedef ID3D10Blob ID3DBlob; struct <API key>; typedef struct <API key> <API key>; struct D3D11_SAMPLER_DESC; typedef struct <API key> <API key>; typedef struct _D3D11_SHADER_DESC D3D11_SHADER_DESC; namespace AGN { class ShaderDX11 : public IShader { public: ShaderDX11(class DeviceDX11& a_deviceReference, const uint16_t a_aId, EShaderType a_type, ID3D11DeviceChild* a_shaderHandle, ID3DBlob* a_shaderBlob); ~ShaderDX11() override; EShaderType getType() override { return m_type; } uint16_t getAId() override { return m_aId; } static std::string getLatestProfile(const AGN::EShaderType a_type, ID3D11Device* a_device); ID3D11DeviceChild* getD3D11Shader() { return m_shaderHandle; } ID3DBlob* getBlob() { return m_shaderBlob; } void <API key>(const char* a_name, void* a_data, size_t a_dataSize); virtual bool hasConstantBuffer(const char* a_name); void getInputLayoutDesc(<API key>*& <API key>, int& out_count); void <API key>(D3D11_SAMPLER_DESC*& <API key>, int& out_count); uint32_t <API key>() { return static_cast<uint32_t>(m_constantBuffers.size()); } struct ConstantBufferDX11* <API key>(const char* a_name); ID3D11Buffer** <API key>() { return &m_bufferHandles[0]; } // makes binding easier static const int MAX_UNIFORM_NAME = 128; private: void <API key>(<API key>*& <API key>, int& out_count); static uint32_t <API key>(<API key>& a_signature); class DeviceDX11& m_deviceReference; const uint16_t m_aId; EShaderType m_type; ID3D11DeviceChild* m_shaderHandle; ID3DBlob* m_shaderBlob; <API key>* m_shaderReflection; D3D11_SHADER_DESC* <API key>; std::vector<ID3D11Buffer*> m_bufferHandles; // makes binding easier std::vector<struct ConstantBufferDX11*> m_constantBuffers; }; struct <API key> { char name[ShaderDX11::MAX_UNIFORM_NAME]; uint32_t size; uint32_t offset; }; struct ConstantBufferDX11 { <API key>* getPropertyByName(const char* a_name); char name[ShaderDX11::MAX_UNIFORM_NAME]; uint32_t size; int32_t bindpoint; ID3D11Buffer* d3dhandle; uint8_t* buffer; std::vector<struct <API key>*> propertyList; }; }
import { Component, <API key> } from '@angular/core'; const EXAMPLE_TAGS = [ 'column-date-basic', 'Cell value is date' ]; @Component({ selector: '<API key>', templateUrl: '<API key>.component.html', styleUrls: ['<API key>.component.scss'], changeDetection: <API key>.OnPush }) export class <API key> { static tags = EXAMPLE_TAGS; title = EXAMPLE_TAGS[1]; rows = [ { 'number': 100.12, 'bool': true, 'date': new Date(2018, 9, 12), 'arr': [new Date(2020, 9, 12), new Date(2020, 9, 10), new Date(2020, 10, 12), new Date(2020, 9, 12)], 'null': null, 'undefined': undefined, 'empty': '', 'text': '2018/3/28', 'maxLength2': 'PI', 'format': new Date(2018, 9, 12), 'customTemplate': new Date(2018, 9, 12) } ]; }
// <API key>.h // RileyLink #import <UIKit/UIKit.h> #import "RileyLinkBLEDevice.h" @interface <API key> : UIViewController @property (nonatomic, strong) RileyLinkBLEDevice *device; @end
""" Not actually tests, but benchmarks. """ from __future__ import print_function from PyOpenWorm.neuron import Neuron from PyOpenWorm.connection import Connection from PyOpenWorm import connect, disconnect def setup(): connect(configFile='tests/data_integrity_test.conf') def teardown(): disconnect() def <API key>(): """ See github issue openworm/PyOpenWorm#90 """ for x in range(10): adal = Neuron("ADAL") post = Neuron() Connection(pre_cell=adal, post_cell=post) tuple(post.load()) def <API key>(): """ See github issue openworm/PyOpenWorm#90 """ for x in range(10): adal = Neuron("ADAL") tuple(adal.connection.get('either')) def <API key>(): for x in range(30): post = Neuron() list(post.receptor()) def test_neuron_load(): list(Neuron().load())
<div class="comments"> <div id="disqus_thread"></div> <button id="disqus_load">ENABLE DISQUS COMMENTS<span>(This will load some third-party cookies from Disqus)</span></button> <script> let disqus_shortname = '{{ site.social.disqus }}'; let disqus_title = '{{ page.title }}'; let disqus_url = '{{ site.production_url }}{{ page.url | replace:'index.html','' }}'; let disqus_load_func = function(){ let dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.<API key>('head')[0] || document.<API key>('body')[0]).appendChild(dsq); }; (function(){ let button = document.querySelector("#disqus_load"); if (button) { button.addEventListener("click", function(){ button.remove(); disqus_load_func(); }); } })(); </script> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> </div>
/** * Test for filesystem wrapper */ 'use strict'; describe('Testing the MicroPython API helper functions', function() { describe('Testing the MicroPython API helper functions', function() { it('Flattens an API object into an array', function() { var api = { 'microbit': { 'Image': ['HEART'], "pin5" : ["read_digital", "write_digital"], "panic" : "", }, "audio" : ["play", "AudioFrame"], } var result = microPythonApi.flattenApi(api); expect(result.sort()).toEqual([ 'microbit', 'microbit.Image', 'microbit.Image.HEART', 'Image.HEART', 'microbit.pin5', 'microbit.pin5.read_digital', 'microbit.pin5.write_digital', 'pin5.read_digital', 'pin5.write_digital', 'microbit.panic', /*'panic',*/ 'audio', 'audio.play', 'audio.AudioFrame' ].sort()) }); }); describe('Testing the Python import detection', function() { it('Basic "import microbit"', function() { var result1 = microPythonApi.detectImports('import microbit'); var result2 = microPythonApi.detectImports('import microbit\n# Some code'); var result3 = microPythonApi.detectImports('import microbit \n# Some code'); var result4 = microPythonApi.detectImports('import\tmicrobit\t\n# Some code'); var result5 = microPythonApi.detectImports('import \t microbit \t \n# Some code'); expect(result1).toEqual({ 'microbit': { 'module-import': null } }); expect(result2).toEqual({ 'microbit': { 'module-import': null } }); expect(result3).toEqual({ 'microbit': { 'module-import': null } }); expect(result4).toEqual({ 'microbit': { 'module-import': null } }); expect(result5).toEqual({ 'microbit': { 'module-import': null } }); }); it('Basic "from microbit import *"', function() { var result1 = microPythonApi.detectImports('from microbit import *'); var result2 = microPythonApi.detectImports('from microbit import *\n# Some code'); var result3 = microPythonApi.detectImports('from microbit import * \n# Some code'); var result4 = microPythonApi.detectImports('from\tmicrobit\timport *\t\n# Some code'); var result5 = microPythonApi.detectImports('from \t microbit \t import * \t \n# Some code'); expect(result1).toEqual({ 'microbit': { '*': { 'module-import': null } } }); expect(result2).toEqual({ 'microbit': { '*': { 'module-import': null } } }); expect(result3).toEqual({ 'microbit': { '*': { 'module-import': null } } }); expect(result4).toEqual({ 'microbit': { '*': { 'module-import': null } } }); expect(result5).toEqual({ 'microbit': { '*': { 'module-import': null } } }); }); it('Comma separated "from x import y, z"', function() { var result1 = microPythonApi.detectImports('from microbit import display,Image,panic'); var result2 = microPythonApi.detectImports('from microbit import display, Image, panic'); var result3 = microPythonApi.detectImports('from microbit import display, Image, panic '); var result4 = microPythonApi.detectImports('from \t microbit \t import \t display, \t Image, \t panic \t '); var result5 = microPythonApi.detectImports('from \t microbit import \t display,Image, panic'); var expected = { 'microbit': { 'display': { 'module-import': null }, 'Image': { 'module-import': null }, 'panic': { 'module-import': null }, } }; expect(result1).toEqual(expected); expect(result2).toEqual(expected); expect(result3).toEqual(expected); expect(result4).toEqual(expected); expect(result5).toEqual(expected); }); it('Import nested packages', function() { var pyCode = 'import top_package.inner_package.other_package.one_more_level'; var result = microPythonApi.detectImports(pyCode); expect(result).toEqual({ 'top_package': { 'module-import': null, 'inner_package': { 'module-import': null, 'other_package': { 'module-import': null, 'one_more_level': { 'module-import': null } } }, } }); }); it('Import relative packages', function() { expect(microPythonApi.detectImports('from . import microbit')).toEqual({ 'microbit': { 'module-import': null } }); expect(microPythonApi.detectImports('import .microbit')).toEqual({ 'microbit': { 'module-import': null } }); expect(microPythonApi.detectImports('import .microbit.display')).toEqual({ 'microbit': { 'module-import': null, 'display': { 'module-import': null } } }); expect(microPythonApi.detectImports('from .microbit.display import show')).toEqual({ 'microbit': { 'display': { 'show': { 'module-import': null }, } } }); expect(microPythonApi.detectImports('from .microbit.display import show, scroll')).toEqual({ 'microbit': { 'display': { 'show': { 'module-import': null }, 'scroll': { 'module-import': null }, } } }); }); it('Import with "as" aliases', function() { expect(microPythonApi.detectImports('from microbit import display as d, Image as i')).toEqual({ 'microbit': { 'display': { 'module-import': null }, 'Image': { 'module-import': null }, }, }); expect(microPythonApi.detectImports('import microbit as d, audio as a')).toEqual({ 'microbit': { 'module-import': null, }, 'audio': {'module-import': null }, }); // This is not properly supported, because Python changes import behaviour based on the "as" expression // expect(microPythonApi.detectImports('import microbit.display as d')).toEqual({ // 'microbit': { 'display': null, } }); it('Most import methods combined in a single script', function() { var pyCode = 'import microbit\n' + 'from microbit import *\n' + 'from microbit import display\n' + 'from microbit import accelerometer as a, magnetometer as m\n' + 'from microbit import display, temperature, panic\n' + 'from .microbit.Image import HAPPY\n' + 'import microbit.uart\n' + 'import .microbit.i2c\n' + 'import radio as r, music as m\n' + // Multi line not yet supported //'from microbit import (display,\n' + //' Image,\n' + //' panic\n' + 'from . import audio'; var result = microPythonApi.detectImports(pyCode); expect(result).toEqual({ 'microbit': { 'module-import': null, '*': { 'module-import': null }, 'display': { 'module-import': null }, 'accelerometer': { 'module-import': null }, 'magnetometer': { 'module-import': null }, 'temperature': { 'module-import': null }, 'panic': { 'module-import': null }, 'Image': { 'HAPPY': { 'module-import': null }, }, 'uart': { 'module-import': null }, 'i2c':{ 'module-import': null }, }, 'audio': { 'module-import': null, }, 'radio': { 'module-import': null, }, 'music': { 'module-import': null, } }); }); }); describe('Detecting use of extra modules', function() { it('from extra import *', function() { var pyCode = 'from microbit import *\n' + 'from microbit import microphone'; var result = microPythonApi.isApiUsedCompatible('9901', pyCode); expect(result).toBeFalsy(); }); it('from extra import *', function() { var pyCode = 'from microbit import *\n' + 'from microbit.microphone import *\n'; var result = microPythonApi.isApiUsedCompatible('9901', pyCode); expect(result).toBeFalsy(); }); it('from extra.nested import something', function() { var pyCode = 'from microbit import *\n' + 'from microbit.microphone import LOUD\n'; var result = microPythonApi.isApiUsedCompatible('9901', pyCode); expect(result).toBeFalsy(); }); it('Common modules are not detected as incompatible', function() { var pyCode = 'import microbit\n' + 'from microbit import *\n' + '# Code'; var result = microPythonApi.isApiUsedCompatible('9901', pyCode); // TODO: This won't work until we fix the API compatibility feature //expect(result).toBeTruthy(); }); it('Naive check for no false positives', function() { var pyCode = 'import microbit\n' + 'from microbit import *\n' + 'from microbit import display\n' + 'from microbit import accelerometer as a, magnetometer as m\n' + 'from microbit import display, temperature, panic\n' + 'from .microbit.Image import HAPPY\n' + 'import microbit.uart\n' + 'import .microbit.i2c\n' + 'import radio as r, music as m\n' + 'from . import audio\n' + '# Code'; var result = microPythonApi.isApiUsedCompatible('9901', pyCode); // TODO: This won't work until we fix the API compatibility feature //expect(result).toBeTruthy(); }); }); });
require "fast_spec_helper" require "app/jobs/buildable" require "app/models/payload" require "app/services/build_runner" require "raven" describe Buildable do class TestJob < ActiveJob::Base include Buildable end describe "perform" do it 'runs build runner' do stub_const("Owner", "foo") build_runner = double(:build_runner, run: nil) payload_data = "some data" payload = double("Payload") allow(Payload).to receive(:new).with(payload_data).and_return(payload) allow(BuildRunner).to receive(:new).and_return(build_runner) allow(Owner).to receive(:upsert) TestJob.perform_now(payload_data) expect(Payload).to have_received(:new).with(payload_data) expect(BuildRunner).to have_received(:new).with(payload) expect(build_runner).to have_received(:run) end it "retries when Resque::TermException is raised" do allow(Payload).to receive(:new).and_raise(Resque::TermException.new(1)) allow(TestJob.queue_adapter).to receive(:enqueue) payload_data = double(:payload_data) job = TestJob.perform_now(payload_data) expect(TestJob.queue_adapter).to have_received(:enqueue).with(job) end it "sends the exception to Sentry with the user_id" do exception = StandardError.new("hola") allow(Payload).to receive(:new).and_raise(exception) allow(Raven).to receive(:capture_exception) payload_data = double("PayloadData") TestJob.perform_now(payload_data) expect(Raven).to have_received(:capture_exception). with(exception, payload: { data: payload_data }) end end def payload_data(github_id: 1234, name: "test") { "repository" => { "owner" => { "id" => github_id, "login" => name, "type" => "Organization" } } } end end
import BlurXShader from "./BlurXShader"; import BlurYShader from "./BlurYShader"; import BufferedShader from "./BufferedShader"; import <API key> from "./<API key>"; import FxaaShader from "./FxaaShader"; import PrimitiveShader from "./PrimitiveShader"; import ReplicateShader from "./ReplicateShader"; import Blur2Shader from "./Blur2Shader"; import CopyImageShader from "./CopyImageShader"; import Primitive2Shader from "./Primitive2Shader"; export { BlurXShader, BlurYShader, BufferedShader, <API key>, FxaaShader, PrimitiveShader, ReplicateShader, Blur2Shader, CopyImageShader, Primitive2Shader };
import '../spec_helper'; import {SuccessAlert, InfoAlert, WarningAlert, ErrorAlert} from 'pui-react-alerts'; describe('Alert Component', () => { let subject; describe('Success Alert', () => { beforeEach(() => { subject = ReactDOM.render(<SuccessAlert>alert body</SuccessAlert>, root); }); it('renders', () => { expect('.alert').not.toBeNull(); }); it('passes down the className, id, and style properties', () => { subject::setProps({className: 'foo', id: 'bar', style: {fontSize: '200px'}}); expect('.alert').toHaveClass('foo'); expect('.alert').toHaveAttr('id', 'bar'); expect('.alert').toHaveCss({'font-size': '200px'}); }); it('renders a sr-only alert description', () => { subject::setProps({withIcon: true}); expect('.sr-only').toHaveText('success alert message,'); }); describe('when dismissable is set to true', () => { beforeEach(() => { subject::setProps({dismissable: true}); }); it('adds the alert-dismissable class', () => { expect('.alert').toHaveClass('alert-dismissable'); }); it('has a close button', () => { expect('.alert button').toHaveLength(1); expect('button:eq(0)').toHaveClass('close'); }); it('has an sr-only close button', () => { expect('.alert button').toHaveLength(1); expect('.alert button:eq(0)').toHaveAttr('aria-label'); }); it('adds the closeLabel to the close button', () => { subject::setProps({dismissable: true, closeLabel: 'click to close the alert'}); expect('.alert button:eq(0)').toHaveAttr('aria-label'); expect($('.alert button:eq(0)').attr('aria-label')).toBe('click to close the alert'); }); it('disappears when close button is clicked', () => { subject::setProps({dismissable: true}); $('.icon-close').simulate('click'); jasmine.clock().tick(1); expect('.alert').not.toExist(); }); describe('when onDismiss is given', () => { let onDismissSpy; beforeEach(() => { onDismissSpy = jasmine.createSpy('dismissable callback'); }); it('calls onDismiss when the close button is clicked', () => { subject::setProps({dismissable: true, onDismiss: onDismissSpy}); $('.icon-close').simulate('click'); expect(onDismissSpy).toHaveBeenCalled(); }); }); describe('when show is true', () => { it('renders the alert even after the close button is clicked', () => { subject::setProps({dismissable: true, show: true}); $('.icon-close').simulate('click'); jasmine.clock().tick(1); expect('.alert').toExist(); }); it('hides the alert when show is set to false', () => { subject::setProps({dismissable: true, show: false}); expect('.alert').not.toExist(); }); }); }); describe('when dismissable is not present', () => { it('does not have a close button', () => { expect('.icon-close').not.toExist(); }); }); describe('when withIcon is set to true', () => { beforeEach(() => { subject::setProps({withIcon: true}); }); it('renders a success alert', () => { expect('.alert').toHaveClass('alert-success'); }); it('renders an icon in the alert', () => { expect('svg').toHaveClass('icon-check_circle'); }); it('has a "success alert" label', () => { expect('.sr-only').toContainText('success'); }); }); }); describe('InfoAlert with Icon', () => { let subject; beforeEach(() => { subject = ReactDOM.render(<InfoAlert {...{withIcon: true}}>alert body</InfoAlert>, root); }); it('renders an info alert', () => { expect('.alert').toHaveClass('alert-info'); }); it('renders an icon in the alert', () => { expect('.alert svg').toExist(); expect('.alert svg').toHaveClass('icon-info'); }); it('has a "info alert" label', () => { expect('.alert .sr-only').toContainText('info'); }); }); describe('WarningAlert with Icon', () => { let subject; beforeEach(() => { subject = ReactDOM.render(<WarningAlert {...{withIcon: true}}>alert body</WarningAlert>, root); }); it('renders an warning alert', () => { expect('.alert').toHaveClass('alert-warning'); }); it('renders an icon in the alert', () => { expect('.alert svg').toHaveClass('icon-warning'); }); it('has a "warning alert" label', () => { expect('.alert .sr-only').toContainText('warning'); }); }); describe('ErrorAlert with Icon', () => { let subject; beforeEach(() => { subject = ReactDOM.render(<ErrorAlert {...{withIcon: true}}>alert body</ErrorAlert>, root); }); it('renders an error alert', () => { expect('.alert').toHaveClass('alert-danger'); }); it('renders an icon in the alert', () => { expect('.alert svg').toHaveClass('icon-warning'); }); it('has a "error alert" label', () => { expect('.alert .sr-only').toContainText('error'); }); }); });
using System; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Marten.Schema; using Marten.Util; namespace Marten.Events.Projections { <summary> Simple aggregation finder that looks for an aggregate document based on the stream key </summary> <typeparam name="T"></typeparam> public class <API key><T>: IAggregationFinder<T> where T : class { private readonly Action<T, string> _setId; public <API key>() { var idMember = DocumentMapping.FindIdMember(typeof(T)); var docParam = Expression.Parameter(typeof(T), "doc"); var keyParam = Expression.Parameter(typeof(string), "key"); var member = Expression.PropertyOrField(docParam, idMember.Name); var assign = Expression.Assign(member, keyParam); var lambda = Expression.Lambda<Action<T, string>>(assign, docParam, keyParam); _setId = ExpressionCompiler.Compile<Action<T, string>>(lambda); } public T Find(EventStream stream, IDocumentSession session) { var returnValue = stream.IsNew ? New<T>.Instance() : session.Load<T>(stream.Key) ?? New<T>.Instance(); _setId(returnValue, stream.Key); return returnValue; } public async Task<T> FindAsync(EventStream stream, IDocumentSession session, CancellationToken token) { var returnValue = stream.IsNew ? New<T>.Instance() : await session.LoadAsync<T>(stream.Key, token).ConfigureAwait(false) ?? New<T>.Instance(); _setId(returnValue, stream.Key); return returnValue; } public async Task FetchAllAggregates(IDocumentSession session, EventStream[] streams, CancellationToken token) { await session.LoadManyAsync<T>(token, streams.Select(x => x.Key).ToArray()).ConfigureAwait(false); } } }
// name : PlayTimeRange.cs // project : Itenso Time Period // created : Jani Giannoudis - 2012.03.07 // language : C // environment: .NET 2.0 using System; using Itenso.TimePeriod; namespace Itenso.TimePeriodDemo.Player { public class PlayTimeRange : TimeRange, IPlayTimeRange { public PlayTimeRange() : this( TimeSpec.MinPeriodDate, TimeSpec.MaxPeriodDate ) { } // PlayTimeRange public PlayTimeRange( DateTime start, DateTime end, PlayDirection direction = PlayDirection.Forward ) : base( start, end ) { this.direction = direction; } // PlayTimeRange public PlayTimeRange( IPlayTimeRange copy ) : base( copy ) { direction = copy.Direction; } // PlayTimeRange public PlayDirection Direction { get { return direction; } set { direction = value; } } // Direction public DateTime PlayStart { get { return Direction == PlayDirection.Forward ? Start : End; } set { if ( Direction == PlayDirection.Forward ) { Start = value; } else { End = value; } } } // PlayStart public DateTime PlayEnd { get { return Direction == PlayDirection.Forward ? End : Start; } set { if ( Direction == PlayDirection.Forward ) { End = value; } else { Start = value; } } } // PlayEnd public void RevertDirection() { direction = direction == PlayDirection.Forward ? PlayDirection.Backward : PlayDirection.Forward; } // RevertDirection public override void Setup( DateTime newStart, DateTime newEnd ) { base.Setup( newStart, newEnd ); Direction = newStart <= newEnd ? PlayDirection.Forward : PlayDirection.Backward; } // Setup public override bool IsSamePeriod( ITimePeriod test ) { IPlayTimeRange playTimeRange = (IPlayTimeRange)test; return base.IsSamePeriod( playTimeRange ) && direction == playTimeRange.Direction; } // IsSamePeriod protected override string Format( ITimeFormatter formatter ) { return string.Format( "{0}{1}", base.Format( formatter ), Direction == PlayDirection.Forward ? ">" : "<" ); } // Format protected override bool IsEqual( object obj ) { return base.IsEqual( obj ) && HasSameData( obj as PlayTimeRange ); } // IsEqual private bool HasSameData( PlayTimeRange comp ) { return direction == comp.direction; } // HasSameData protected override int ComputeHashCode() { return HashTool.ComputeHashCode( base.ComputeHashCode(), direction ); } // ComputeHashCode // members private PlayDirection direction; } // class PlayTimeRange } // namespace Itenso.TimePeriodDemo.Player
# -*- coding: utf-8 -*- import bpy from bpy.types import Operator from bpy.props import StringProperty, BoolProperty from mmd_tools.core.material import FnMaterial from mmd_tools import cycles_converter class <API key>(Operator): bl_idname = 'mmd_tools.<API key>' bl_options = {'PRESET'} bl_label = 'Convert Shaders For Cycles' bl_description = 'Convert materials of selected objects for Cycles.' def execute(self, context): for obj in [x for x in context.selected_objects if x.type == 'MESH']: cycles_converter.<API key>(obj) return {'FINISHED'} class _OpenTextureBase(object): """ Create a texture for mmd model material. """ bl_options = {'PRESET'} filepath = StringProperty( name="File Path", description="Filepath used for importing the file", maxlen=1024, subtype='FILE_PATH', ) use_filter_image = BoolProperty( default=True, options={'HIDDEN'}, ) def invoke(self, context, event): context.window_manager.fileselect_add(self) return {'RUNNING_MODAL'} class OpenTexture(Operator, _OpenTextureBase): bl_idname = 'mmd_tools.<API key>' bl_label = 'Open Texture' bl_description = '' def execute(self, context): mat = context.active_object.active_material fnMat = FnMaterial(mat) fnMat.create_texture(self.filepath) return {'FINISHED'} class RemoveTexture(Operator): """ Create a texture for mmd model material. """ bl_idname = 'mmd_tools.<API key>' bl_label = 'Remove Texture' bl_description = '' bl_options = {'PRESET'} def execute(self, context): mat = context.active_object.active_material fnMat = FnMaterial(mat) fnMat.remove_texture() return {'FINISHED'} class <API key>(Operator, _OpenTextureBase): """ Create a texture for mmd model material. """ bl_idname = 'mmd_tools.<API key>' bl_label = 'Open Sphere Texture' bl_description = '' def execute(self, context): mat = context.active_object.active_material fnMat = FnMaterial(mat) fnMat.<API key>(self.filepath) return {'FINISHED'} class RemoveSphereTexture(Operator): """ Create a texture for mmd model material. """ bl_idname = 'mmd_tools.<API key>' bl_label = 'Remove texture' bl_description = '' bl_options = {'PRESET'} def execute(self, context): mat = context.active_object.active_material fnMat = FnMaterial(mat) fnMat.<API key>() return {'FINISHED'}
"use strict"; var DnsClient = (function () { function DnsClient() { } DnsClient.prototype.DnsQuer = function (domain, dnsServerAddress /*System.Net.IPAddress*/) { throw new Error("DnsClient.ts - DnsQuer<T> : Not implemented."); }; DnsClient.Win32Success = 0; return DnsClient; }()); exports.DnsClient = DnsClient;
<?php namespace daisywheel\querybuilder; use daisywheel\querybuilder\ast\Expr; use daisywheel\querybuilder\ast\commands\alter\AddIndexCommand; use daisywheel\querybuilder\ast\commands\SelectCommand; use daisywheel\querybuilder\ast\parts\<API key>; use daisywheel\querybuilder\ast\parts\OrderByPart; use daisywheel\querybuilder\ast\parts\TablePart; interface BuildSpec { /** * @param mixed $value * * @return string */ public function quote($value); /** * @param string $name * * @return string */ public function quoteIdentifier($name); /** * @param string $name * @param boolean $temporary * * @return string */ public function quoteTable($name, $temporary); /** * @param string $tableName * @param string $constraintName * * @return string */ public function quoteConstraint($tableName, $constraintName); /** * @param string $type * @param Expr[] $operands * * @return string */ public function buildFunctionExpr($type, $operands); /** * @param string $startSql * @param string $partsSql * @param OrderByPart[] $orderByList * @param int|null $limit * @param int|null $offset * * @return string */ public function buildSelectSql($startSql, $partsSql, $orderByList, $limit, $offset); /** * @param string $quotedTable * @param string[] $quotedKeys * @param string[] $quotedColumns * @param array<array<string>> $quotedValues * * @return string[] */ public function <API key>($quotedTable, $quotedKeys, $quotedColumns, $quotedValues); /** * @param string $quotedTable * @param string[] $quotedKeys * @param string[] $quotedColumns * @param array<array<string>> $quotedValues * * @return string[] */ public function <API key>($quotedTable, $quotedKeys, $quotedColumns, $quotedValues); /** * @param string $quotedTable * @param boolean $temporary * @param string $partsSql * @param AddIndexCommand[] $indexList * * @return string[] */ public function <API key>($quotedTable, $temporary, $partsSql, $indexList); /** * @param string $quotedTable * @param boolean $temporary * @param SelectCommand $select * * @return string[] */ public function <API key>($quotedTable, $temporary, $select); /** * @param string $quotedName * @param string $type * @param int[] $options * @param boolean $isNotNull * @param string|null $quotedDefaultValue * * @return string */ public function buildDataTypePart($quotedName, $type, $options, $isNotNull, $quotedDefaultValue); /** * @param string $startSql * @param string $onDeleteOption * @param string $onUpdateOption * * @return string */ public function <API key>($startSql, $onDeleteOption, $onUpdateOption); /** * @param string $quotedTable * @param boolean $temporary * * @return string[] */ public function <API key>($quotedTable, $temporary); /** * @param string $quotedTable * @param string $tableName * * @return string[] */ public function <API key>($quotedTable, $tableName); /** * @param TablePart $table * @param string $constraintSql * * @return string[] */ public function <API key>($table, $constraintSql); /** * @param TablePart $table * @param string $newName * * @return string[] */ public function <API key>($table, $newName); /** * @param TablePart $table * @param <API key> $foreignKeyPart * * @return string[] */ public function <API key>($table, $foreignKeyPart); }
# Makefile for Sphinx documentation # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = .build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext help: @echo "Please use \`make <target>' where <target> is one of" @echo " html to make standalone HTML files" @echo " dirhtml to make HTML files named index.html in directories" @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" @echo " htmlhelp to make HTML files and a HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " devhelp to make HTML files and a Devhelp project" @echo " epub to make an epub" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " latexpdf to make LaTeX files and run them through pdflatex" @echo " text to make text files" @echo " man to make manual pages" @echo " texinfo to make Texinfo files" @echo " info to make Texinfo files and run them through makeinfo" @echo " gettext to make PO message catalogs" @echo " changes to make an overview of all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean:
#!/bin/sh # CYBERWATCH SAS - 2017 # Security fix for DLA-278-2 # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # - cacti:0.8.7g-1+squeeze8 # Last versions recommanded by security team: # - cacti:0.8.7g-1+squeeze9+deb6u14 # CVE List: # More details: sudo apt-get install --only-upgrade cacti=0.8.7g-1+squeeze9+deb6u14 -y
import { mask_config } from '@core/api/config'; import { <API key> } from '@core/renderer/exports'; import { Module } from '@core/feature/modules/exports'; UTest({ $teardown () { mask_config('getFile', null); mask_config('getScript', null); }, async 'should load mask' () { mask_config('getFile', assert.await(async path => { has_(path, 'controls/Foo.mask'); var template = 'define Foo { h3 > "FooTest" }'; return template; })); let dom = await <API key>(` import Foo from controls is mask; Foo; `); return UTest.domtest(dom, ` find('h3') > text FooTest; `); }, async 'should load script' () { Module.cfg('ext.script', 'es6'); mask_config('getScript', assert.await(async path => { has_(path, 'services/Foo.es6'); var service = { getName () { return 'FooServiceTest' } }; return service; })); let dom = await <API key>(` import Foo from services; h5 > '~[Foo.getName()]'; `); return UTest.domtest(dom, ` find('h5') > text FooServiceTest; `); } });
using System.Threading.Tasks; namespace RDS.CaraBus { interface ICaraBusStopAsync { Task StopAsync(); } }
#ifndef <API key> #define <API key> #include "<API key>.h" #include <View.h> #include <TextControl.h> #include <StringView.h> #include <ListView.h> enum { CT_WITHPARENT, CT_WITHOUTPARENT, }; enum SETTING { SETTING_SHOWICON = 0, <API key>, <API key>, }; const uint32 MSG_ENTER = 'MENT'; const uint32 MSG_SPACE = 'MSPC'; const uint32 MSG_VIEW = 'MVIW'; const uint32 MSG_EDIT = 'MVED'; const uint32 MSG_COPY = 'MCPY'; const uint32 MSG_MOVE = 'MMOV'; const uint32 MSG_RENAME = 'MRNM'; const uint32 MSG_MAKEDIR = 'MMKD'; const uint32 MSG_DELETE = 'MDEL'; const uint32 MSG_QUIT = 'MQUT'; const uint32 MSG_FILE_SEEK = 'MPOP'; class CustomListView : public BListView { public: CustomListView(BRect frame, const char *name, void *pv); ~CustomListView(); // Hook functions... // virtual void FrameResized(float width, float height); virtual void AttachedToWindow(); // virtual void Draw(BRect r); virtual void KeyDown(const char *bytes, int32 numBytes); // virtual void SelectionChanged(); virtual void MakeFocus(bool focusState = true); virtual void MouseDown(BPoint point); virtual void MessageReceived(BMessage* message); void DoSortList(void); int CountEntries(int mode); int <API key>(int mode); CustomListItem *GetSelectedEntry(int n); void SetSelectionColor(uint8 red, uint8 green, uint8 blue); uint64 GetCurrentTotalSize(void); uint64 <API key>(void); CustomListItem *<API key>(BString filePath, BString fileName); CustomListItem *FindItemByNodeRef(node_ref noderef); void AddSortedItem(CustomListItem *item); int <API key>(void); bool GetBoolSetting(SETTING n); // Double-click bigtime_t m_Now,m_LastClicked; bigtime_t m_ClickSpeed; int m_LastClickedItem; rgb_color SelectionColor; rgb_color DirectoryColor; rgb_color SymLinkColor; void *m_PV; private: static int CompareFunc( const void *first, const void *second); static int CompareFunc( CustomListItem *first, CustomListItem *second); }; #endif
# Cliffs [![CI Status](http: [![Version](https: [![License](https: [![Platform](https: ## Overview Cliffs is a library that makes managing and tagging summary-style analytics events easy. What is a summary event? A summary event is an analytics event that captures information on how a user interacts with a particular section of your app or an entire app usage session (e.g. between foreground and background). For example, suppose you have a social app that contains a feed of posts. Instead of (or in addition to) tagging a separate event for each post that is liked or shared, a summary event could tag a single event with attributes "Number of Posts Liked", "Number of Posts Shared", and/or "Number of Posts Viewed" when the user leaves that particular view or backgrounds the app. This allows you to more easily answer questions like "On average how many posts are liked by users within a given session" without having to look through thousands of individual "like" events. ## Philosophy Generally, iOS apps separate user objectives into different `UIViewController` classes. With Cliffs each `UIViewController` can report it's own summary event by extending the `CFUIViewController` class. For example, suppose you have a sports app that contains a `GamesViewController`, a `TeamViewController`, and a `<API key>`. As the user interacts with and leaves each `UIViewController`, Cliffs can automatically report "Game Viewed", "Team Viewed", and "Favorites Viewed" events containing specific information for what the user did in each view. `UIViewController` summaries can be "simple reporting". This means the summary event will be automatically tagged when the user leaves the view (i.e. `viewDidDisappear`) or when the users backgrounds the app. Summaries that start in a particular `UIViewController` but end in a different `UIViewController` or another future moment, such as an onboarding flow, will need to be manually reported. `UIViewController` summaries also support screen tagging, which are different than event tags in some analytics providers. Via the automated screen tagging in Cliffs, a "Previous Screen" attribute will be included in the summary event so you can easily understand users' previous state before starting a particular objective. Cliffs also supports summaries not tied to any particular `UIViewController`, such as a session summary. These can be created and reported as necessary. ## Summary Event Class Summary events are created by extending the `CFTrackingSummary` class. This class supports several different property types. * Identifier: Unique identifier only included for storing the summary in an `NSDictionary` - not included in the final event attributes. * Name: The name of the event that will be tagged. * Flags: `YES` and `NO` values - default to `NO`. * Counters: `NSInteger` values that can be incremented and decremented. * Timers: `CFTimer` values that keep time in seconds. Each summary automatically contains a "Time Spent (Seconds)" timer. * Attributes: Arbitrary key/values. Each `CFTrackingSummary` subclass must override the `<API key>` method. If this method returns `NO`, you must make sure to report the summary at an appropriate time in the future. ## UIViewController class Each `CFUIViewController` subclass must override the following methods: # `- (BOOL)cf_isSimpleSummary;` If this method returns `YES`, the summary event will be automatically tagged when the user leaves the view (i.e. `viewDidDisappear`) or when the user backgrounds the app. If the method returns `NO`, you must make sure to report the summary event for this `UIViewController` at an appropriate time in the future. # `- (NSString *)cf_screenName;` Return the screen name to be associated with this `UIViewController`. # `- (CFTrackingSummary *)cf_createSummary;` Create an instance of the `CFTrackingSummary` subclass associated with this `UIViewController`. ## Integration 1. For each summary event that you want to report, create a `CFTrackingSummary` subclass. Be sure to initialize all flags, counters, timers, and attributes to a default state at initialization. 2. Subclass `CFUIViewController` in each of your `UIViewControllers` and override the methods described above. For non-simple summaries, be sure to report them when necessary. 3. Create and report any other non-`UIViewController` summaries as needed. 4. In your `<API key>` `application:<API key>:` method, initialize Cliffs with a `CFAnalytics` delegate. The `CFAnalytics` protocol connects Cliffs to your analytics providers. ## Example To run the example project, clone the repo, and run `pod install` from the Example directory first. ## Installation Cliffs is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: ruby pod "Cliffs" ## Author DeRon Brown, dmbrown2010@gmail.com Cliffs is available under the MIT license. See the LICENSE file for more info.
# v1.8.2 * Original : [Release electron v1.8.2-beta.1 - electron/electron](https://github.com/electron/electron/releases/tag/v1.8.2-beta.1) Note: This is a beta release. Please file new issues for any bugs you find in it. This release is published to npm under the beta tag and can be installed via `npm install electron@beta`, or `npm i electron@1.8.2-beta.1`. > Note: issue > > `beta` [npm](https: ## Bug Fixes * Fixed issues with webRequest API stability. [ * webRequest API * macOS * Fixed to allow dragging of window to screen above menubar. [ * * * Fixed crash when calling `<API key>`. [ * `<API key>` * Touch Bar <key>esc</key> * Fixed notification actions not working on High Sierra [ * High Sierra * * Fixed building Electron with 10.13 or later SDK [ * Electron 10.13 SDK * Sierra API `AvailabilityMacros.h` Windows * Fixed warning message logged when calling `process.getCPUUsage()`. [ * `process.getCPUUsage()` * API * Fixed notification size via font DPI scaling fix. [ * DPI (UI) * UI ## API Changes * Added ability to access logs in `getPath()`. [ * `getPath()` * `app.getPath('logs')` [](https://github.com/electron/electron/pull/10191/files) Windows `%HOMEDRIVE%%HOMEPATH%\\AppData\\Roaming\\APPNAME\\logs` macOS/Linux `~/.config/APPNAME/logs` * Added ability to control BrowserWindow opacity. [ * BrowserWindow * Windows/macOS `win.setOpacity(opacity)` API 0.0 1.0 `win.getOpacity()` * **[SECURITY]** Added warning if loading remote content with `nodeIntegration` enabled. [ * **[SECURITY]** `nodeIntegration` * DevTools `nodeIntegration` * Added error code to `session.<API key>(proc)`. [ * `session.<API key>(proc)` * `error` Chromium `verificationResult` `errorCode` Linux * Added `app.<API key>` support for Linux. [ * Linux `app.<API key>` * Linux * Changed to use real shared library names for symbol files used for crash dumps. [ * * macOS * Added `addTabbedWindow` to `BrowserWindow`. [ * BrowserWindow` `addTabbedWindow` * APImacOS Sierra * Added `mouse-move` event and `click` event `position` for the `Tray` class. [ * `Tray` `mouse-move` `click` () `position` * * Added `nativeImage.<API key>(imageName[, hslShift])` to get a nativeImage from a named NSImage. [ * NSImage nativeImage `nativeImage.<API key>(imageName[, hslShift])` * [NSImageName](https://developer.apple.com/documentation/appkit/nsimagename?language=objc) macOS UI * Added `systemPreferences.removeUserDefault(key)`. [ * `systemPreferences.removeUserDefault(key)` * macOS iOS `NSUserDefaults` API key ## Other changes * Documentation fixes. [ * * API issue * Translated documentation. [ * * * Updates to default app and cli usage. [ * CLI * Electron * No longer require bootstrap to be run for doc changes. [ * (Electron ) * [electron/docs](https://github.com/electron/electron/tree/master/docs)
.banner a { display: block; } .banner img { display: block; width: 100%; height: 6.15625rem; } .brief { padding: 0 1.40625rem; line-height: 1.09375rem; font-size: 0.625rem; color: #222; } .brief h3 { font-size: 0.75rem; padding-top: 1.0625rem; padding-bottom: 0.875rem; text-align: center; } .brief p { text-indent: 1.25rem; }
<template name="login"> <body class="login-page"> <div class="login-box"> <div class="login-logo"> <a href="#"><b></b>CMS</a> </div><!-- /.login-logo --> <div class="login-box-body"> <p class="login-box-msg">Please Login</p> <form action="." method="post"> <div class="form-group has-feedback"> <input name="username" type="text" class="form-control" placeholder="Username"/> <span class="glyphicon glyphicon-user <API key>"></span> </div> <div class="form-group has-feedback"> <input name="password" type="password" class="form-control" placeholder="Password"/> <span class="glyphicon glyphicon-lock <API key>"></span> </div> <div class="row"> <!-- <div class="col-xs-8"> <div class="checkbox icheck"> <label> <input id="remenber-me" type="checkbox"> Remember me </label> </div> </div> <div class="col-xs-8"> <div class="checkbox"> <label> <input type="checkbox" id="remember-me"> Remember Me </label> </div> </div> <div class="col-xs-4"> <button type="submit" id="login" class="btn btn-primary btn-block btn-flat">Login</button> </div><!-- /.col --> </div> </form> <div> <span> <a href="{{pathFor 'forgetPassword'}}">Forget Password</a> <a href="{{pathFor 'register'}}" class="text-center" style="float: right">Register</a> </span> </div> </div><!-- /.login-box-body --> </div><!-- /.login-box --> </body> </template>
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; namespace Hopnscotch.Portal.Web.Areas.HelpPage { <summary> A custom <see cref="<API key>"/> that reads the API documentation from an XML documentation file. </summary> public class <API key> : <API key> { private XPathNavigator _documentNavigator; private const string TypeExpression = "/doc/members/member[@name='T:{0}']"; private const string MethodExpression = "/doc/members/member[@name='M:{0}']"; private const string ParameterExpression = "param[@name='{0}']"; <summary> Initializes a new instance of the <see cref="<API key>"/> class. </summary> <param name="documentPath">The physical path to XML document.</param> public <API key>(string documentPath) { if (documentPath == null) { throw new <API key>("documentPath"); } XPathDocument xpath = new XPathDocument(documentPath); _documentNavigator = xpath.CreateNavigator(); } public string GetDocumentation(<API key> <API key>) { XPathNavigator typeNode = GetTypeNode(<API key>); return GetTagValue(typeNode, "summary"); } public virtual string GetDocumentation(<API key> actionDescriptor) { XPathNavigator methodNode = GetMethodNode(actionDescriptor); return GetTagValue(methodNode, "summary"); } public virtual string GetDocumentation(<API key> parameterDescriptor) { <API key> <API key> = parameterDescriptor as <API key>; if (<API key> != null) { XPathNavigator methodNode = GetMethodNode(<API key>.ActionDescriptor); if (methodNode != null) { string parameterName = <API key>.ParameterInfo.Name; XPathNavigator parameterNode = methodNode.SelectSingleNode(String.Format(CultureInfo.InvariantCulture, ParameterExpression, parameterName)); if (parameterNode != null) { return parameterNode.Value.Trim(); } } } return null; } public string <API key>(<API key> actionDescriptor) { XPathNavigator methodNode = GetMethodNode(actionDescriptor); return GetTagValue(methodNode, "returns"); } private XPathNavigator GetMethodNode(<API key> actionDescriptor) { <API key> <API key> = actionDescriptor as <API key>; if (<API key> != null) { string selectExpression = String.Format(CultureInfo.InvariantCulture, MethodExpression, GetMemberName(<API key>.MethodInfo)); return _documentNavigator.SelectSingleNode(selectExpression); } return null; } private static string GetMemberName(MethodInfo method) { string name = String.Format(CultureInfo.InvariantCulture, "{0}.{1}", method.DeclaringType.FullName, method.Name); ParameterInfo[] parameters = method.GetParameters(); if (parameters.Length != 0) { string[] parameterTypeNames = parameters.Select(param => GetTypeName(param.ParameterType)).ToArray(); name += String.Format(CultureInfo.InvariantCulture, "({0})", String.Join(",", parameterTypeNames)); } return name; } private static string GetTagValue(XPathNavigator parentNode, string tagName) { if (parentNode != null) { XPathNavigator node = parentNode.SelectSingleNode(tagName); if (node != null) { return node.Value.Trim(); } } return null; } private static string GetTypeName(Type type) { if (type.IsGenericType) { // Format the generic type name to something like: Generic{System.Int32,System.String} Type genericType = type.<API key>(); Type[] genericArguments = type.GetGenericArguments(); string typeName = genericType.FullName; // Trim the generic parameter counts from the name typeName = typeName.Substring(0, typeName.IndexOf('`')); string[] argumentTypeNames = genericArguments.Select(t => GetTypeName(t)).ToArray(); return String.Format(CultureInfo.InvariantCulture, "{0}{{{1}}}", typeName, String.Join(",", argumentTypeNames)); } return type.FullName; } private XPathNavigator GetTypeNode(<API key> <API key>) { Type controllerType = <API key>.ControllerType; string controllerTypeName = controllerType.FullName; if (controllerType.IsNested) { // Changing the nested type name from OuterType+InnerType to OuterType.InnerType to match the XML documentation syntax. controllerTypeName = controllerTypeName.Replace("+", "."); } string selectExpression = String.Format(CultureInfo.InvariantCulture, TypeExpression, controllerTypeName); return _documentNavigator.SelectSingleNode(selectExpression); } } }
package main import ( "github.com/darkhelmet/env" "github.com/fernet/fernet-go" "time" ) var ( <API key> = 5 * time.Second <API key> = 5 * time.Second <API key> = 5 ConfigDatabaseUrl = env.String("DATABASE_URL") ConfigFernetKeys = fernet.MustDecodeKeys(env.String("FERNET_KEYS")) ConfigFernetTtl = time.Hour * 24 * 365 * 10 <API key> = 20 * time.Minute <API key> = 10000 <API key> = 30 * time.Second ConfigRedisPoolSize = 5 ConfigRedisUrl = env.String("REDIS_URL") <API key> = 10 * time.Second ConfigTestLogs = env.StringDefault("TEST_LOGS", "false") != "true" ConfigWebPort = env.IntDefault("PORT", 5000) ConfigWebTimeout = time.Second * 5 <API key> = time.Second * 10 <API key> = 5 )
import moment from 'moment'; import * as apod from './apod'; import log from './log'; import { text } from './response'; import * as searchers from './search'; import { lookupImChannelId, postMessage } from './slack'; export function help(intent, callback) { lookupImChannelId() .then(id => postMessage(id, ` This is nasabot. I can fetch NASA's Astronomy Picture of the Day for you. Just type 'get today's image' or 'get image'. I can also get the image on a particular date, just type 'show image for 12th July.' or 'show yesterday's image'. I can also lookup images and sounds on the NASA Image/Audio Gallery. Try 'search meteor images' or 'search apollo 11 audio'. `)); callback(null, text('')); } export function getapod(intent, callback) { const key = process.env.NASA_API_KEY; let date = new Date(); const slots = intent.slots; if (slots && slots.date) { date = moment(slots.date); } const p1 = lookupImChannelId(); const p2 = apod.get(key, date); Promise.all([p1, p2]) .then((results) => { const res = results[1]; const imid = results[0]; if (res.code === 400) { throw res; } callback(null, text(apod.message(res))); postMessage(imid, '', apod.attachment(res)); }) .catch((err) => { log.error(err); callback(null, text(err.msg || 'Some Error Occurred')); }); } export function search(intent, callback) { const p1 = lookupImChannelId(); let p2func = searchers.images; const slots = intent.slots; if (slots.type && (slots.type === 'sound' || slots.type === 'sounds' || slots.type === 'audio')) { p2func = searchers.sounds; slots.type = 'audio'; } else { slots.type = 'image'; } const term = slots.query; const p2 = p2func(term); Promise.all([p1, p2]) .then((results) => { const res = results[1]; const imid = results[0]; callback(null, text(`${res.attachments.length ? 'Here' : 'There'} are ${res.attachments.length} ${slots.type} results for ${term}`)); res.attachments.forEach(item => postMessage(imid, '', { attachments: [ item, ], })); }) .catch((err) => { log.error(err); callback(null, text(err.msg || 'Some Error Occurred')); }); }
import { AppPage } from './app.po'; describe('poll App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('Welcome to app!'); }); });
namespace MusicX.Web.Shared.Playlists { using System.Collections.Generic; public class <API key> { public IEnumerable<PlaylistInfo> Playlists { get; set; } } }
// Utrecht University (The Netherlands), // ETH Zurich (Switzerland), // INRIA Sophia-Antipolis (France), // <API key> Saarbruecken (Germany), // or (at your option) any later version. // $URL$ // Authors : Hans Tangelder <hanst@cs.uu.nl>, Michael Hoffmann #ifndef CGAL_ISO_BOX_D_H #define CGAL_ISO_BOX_D_H #include <CGAL/basic.h> #include <CGAL/Handle_for.h> #include <CGAL/representation_tags.h> #include <CGAL/Dimension.h> #include <functional> #include <algorithm> #include <numeric> #include <cstddef> namespace CGAL { namespace Kernel_d { struct Begin {}; struct End {}; struct Cartesian_end {}; } // namespace Kernel_d template < typename Point_, typename Functor_ > struct Cartesian_iterator { typedef Point_ Point; typedef Functor_ Functor; typedef typename Point::<API key> Iterator; typedef Cartesian_iterator<Point,Functor> Self; typedef typename Functor::result_type value_type; typedef value_type& reference; typedef value_type* pointer; typedef std::ptrdiff_t difference_type; typedef std::input_iterator_tag iterator_category; protected: Iterator pb, qb; Functor f; public: Cartesian_iterator(const Point& p, const Point& q, Kernel_d::Begin) : pb(p.cartesian_begin()), qb(q.cartesian_begin()) {} Cartesian_iterator(const Point& p, const Point& q, Kernel_d::End) : pb(p.cartesian_end()), qb(q.cartesian_end()) {} Cartesian_iterator(const Point& p, const Point& q, Kernel_d::Cartesian_end) : pb(p.cartesian_end()), qb(q.cartesian_end()) {} Cartesian_iterator(const Point& p, const Point& q, const Functor& f_, Kernel_d::Begin) : pb(p.cartesian_begin()), qb(q.cartesian_begin()), f(f_) {} Cartesian_iterator(const Point& p, const Point& q, const Functor& f_, Kernel_d::End) : pb(p.cartesian_end()), qb(q.cartesian_end()), f(f_) {} Cartesian_iterator(const Point& p, const Point& q, const Functor& f_, Kernel_d::Cartesian_end) : pb(p.cartesian_end()), qb(q.cartesian_end()), f(f_) {} Self& operator++() { ++pb; ++qb; return *this; } Self operator++(int) { Self tmp(*this); ++(*this); return tmp; } value_type operator*() const { return f(*pb, *qb); } pointer operator->() const { return &(**this); } const Functor& functor() const { return f; } Iterator base_p() const { return pb; } Iterator base_q() const { return qb; } }; template < typename Iterator, typename Functor > inline bool operator==(const Cartesian_iterator<Iterator,Functor>& x, const Cartesian_iterator<Iterator,Functor>& y) { return x.base_p() == y.base_p() && x.base_q() == y.base_q(); } template < typename Iterator, typename Functor > inline bool operator!=(const Cartesian_iterator<Iterator,Functor>& x, const Cartesian_iterator<Iterator,Functor>& y) { return ! (x == y); } template < typename Point_, typename Functor_ > struct <API key> { typedef Point_ Point; typedef Functor_ Functor; typedef typename Point::<API key> Iterator; typedef <API key><Point,Functor> Self; typedef typename Functor::result_type value_type; typedef value_type& reference; typedef value_type* pointer; typedef std::ptrdiff_t difference_type; typedef std::input_iterator_tag iterator_category; protected: Iterator pb, qb; Functor f; typedef typename Kernel_traits<Point>::Kernel::RT RT; RT hp, hq; // homogenizing coordinates public: <API key>(const Point& p, const Point& q, Kernel_d::Begin) : pb(p.homogeneous_begin()), qb(q.homogeneous_begin()), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) {} <API key>(const Point& p, const Point& q, Kernel_d::End) : pb(p.homogeneous_end()), qb(q.homogeneous_end()), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) {} <API key>(const Point& p, const Point& q, Kernel_d::Cartesian_end) : pb(p.homogeneous_end()), qb(q.homogeneous_end()), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) { --pb; --qb; } <API key>(const Point& p, const Point& q, const Functor& f_, Kernel_d::Begin) : pb(p.homogeneous_begin()), qb(q.homogeneous_begin()), f(f_), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) {} <API key>(const Point& p, const Point& q, const Functor& f_, Kernel_d::End) : pb(p.homogeneous_end()), qb(q.homogeneous_end()), f(f_), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) {} <API key>(const Point& p, const Point& q, const Functor& f_, Kernel_d::Cartesian_end) : pb(p.homogeneous_end()), qb(q.homogeneous_end()), f(f_), hp(p.homogeneous(p.dimension())), hq(q.homogeneous(q.dimension())) { --pb; --qb; } Self& operator++() { ++pb; ++qb; return *this; } Self operator++(int) { Self tmp(*this); ++(*this); return tmp; } value_type operator*() const { return f(*pb * hq, *qb * hp); } pointer operator->() const { return &(**this); } const Functor& functor() const { return f; } Iterator base_p() const { return pb; } Iterator base_q() const { return qb; } }; template < typename Iterator, typename Functor > inline bool operator==(const <API key><Iterator,Functor>& x, const <API key><Iterator,Functor>& y) { return x.base_p() == y.base_p() && x.base_q() == y.base_q(); } template < typename Iterator, typename Functor > inline bool operator!=(const <API key><Iterator,Functor>& x, const <API key><Iterator,Functor>& y) { return ! (x == y); } template < typename Kernel_ > class Iso_box_d; namespace Kernel_d { template < typename RepTag > struct Coordinate_iterator; template <> struct Coordinate_iterator<Cartesian_tag> { template < typename Point, typename Functor > struct Iterator { typedef Cartesian_iterator<Point,Functor> type; }; }; template <> struct Coordinate_iterator<Homogeneous_tag> { template < typename Point, typename Functor > struct Iterator { typedef <API key><Point,Functor> type; }; }; template < typename Kernel_ > struct Iso_box_d_rep { typedef Kernel_ Kernel; friend class Iso_box_d<Kernel>; protected: typedef typename Kernel::Point_d Point_d; Point_d lower, upper; public: Iso_box_d_rep() {} template < typename InputIteratorI, typename InputIteratorII > Iso_box_d_rep(int dim, InputIteratorI b1, InputIteratorI e1, InputIteratorII b2, InputIteratorII e2) : lower(dim, b1, e1), upper(dim, b2, e2) {} }; } // namespace Kernel_d template < typename Kernel_ > class Iso_box_d : public Handle_for< Kernel_d::Iso_box_d_rep<Kernel_> > { public: typedef Kernel_ Kernel; typedef Kernel_ R; protected: typedef Kernel_d::Iso_box_d_rep<Kernel> Rep; typedef Handle_for<Rep> Base; typedef Iso_box_d<Kernel> Self; using Base::ptr; typedef typename Kernel::RT RT; typedef typename Kernel::FT FT; typedef typename Kernel::Point_d Point_d; typedef typename Kernel::Rep_tag Rep_tag; typedef CGAL::Kernel_d::Coordinate_iterator<Rep_tag> CIRT; typedef typename CIRT::template Iterator<Point_d,Min<RT> >::type MinIter; typedef typename CIRT::template Iterator<Point_d,Max<RT> >::type MaxIter; typedef Kernel_d::Begin Begin; typedef Kernel_d::End End; typedef Kernel_d::Cartesian_end Cartesian_end; RT volume_nominator() const { typedef typename CIRT::template Iterator<Point_d,std::minus<RT> >::type Iter; Iter b(ptr()->upper, ptr()->lower, Begin()); Iter e(ptr()->upper, ptr()->lower, Cartesian_end()); return std::accumulate(b, e, RT(1), std::multiplies<RT>()); } RT volume_denominator() const { RT den = ptr()->lower.homogeneous(dimension()) * ptr()->upper.homogeneous(dimension()); RT prod = den; for (int i = 1; i < dimension(); ++i) prod *= den; return prod; } FT volume(Homogeneous_tag) const { return FT(volume_nominator(), volume_denominator()); } FT volume(Cartesian_tag) const { return volume_nominator(); } public: typedef CGAL::<API key> Ambient_dimension; typedef CGAL::<API key> Feature_dimension; Iso_box_d() {} Iso_box_d(const Point_d& p, const Point_d& q) : Base(Rep(p.dimension(), MinIter(p, q, Begin()), MinIter(p, q, End()), MaxIter(p, q, Begin()), MaxIter(p, q, End()))) { CGAL_precondition(p.dimension() == q.dimension()); } Bounded_side bounded_side(const Point_d& p) const { CGAL_precondition(p.dimension() == dimension()); typedef typename CIRT::template Iterator<Point_d,Compare<RT> >::type Iter; Iter il(p, ptr()->lower, Begin()); Iter ilend(p, ptr()->lower, Cartesian_end()); Iter iu(p, ptr()->upper, Begin()); CGAL_assertion_code(Iter iuend(p, ptr()->upper, Cartesian_end())); for (; il != ilend; ++il, ++iu) { CGAL_assertion(iu != iuend); Comparison_result low = *il; Comparison_result upp = *iu; if (low == LARGER && upp == SMALLER) continue; if (low == SMALLER || upp == LARGER) return ON_UNBOUNDED_SIDE; return ON_BOUNDARY; } return ON_BOUNDED_SIDE; } bool has_on_bounded_side(const Point_d& p) const { return (bounded_side(p)==ON_BOUNDED_SIDE); } bool <API key>(const Point_d& p) const { return (bounded_side(p)==ON_UNBOUNDED_SIDE); } bool has_on_boundary(const Point_d& p) const { return (bounded_side(p)==ON_BOUNDARY); } int dimension() const { return ptr()->lower.dimension();} // FIXME! FT min_coord(int i) const { return ptr()->lower[i]; } FT max_coord(int i) const { return ptr()->upper[i]; } const Point_d& min <API key> () const { return ptr()->lower; } const Point_d& max <API key> () const { return ptr()->upper; } FT volume() const { return volume(Rep_tag()); } bool is_degenerate() const { typedef typename CIRT:: template Iterator<Point_d,std::equal_to<RT> >::type Iter; // omit homogenizing coordinates Iter e(ptr()->lower, ptr()->upper, Cartesian_end()); return e != std::find(Iter(ptr()->lower, ptr()->upper, Begin()), e, true); } }; // end of class template < typename Kernel > inline bool operator==(const Iso_box_d<Kernel>& b1, const Iso_box_d<Kernel>& b2) { CGAL_precondition(b1.dimension() == b2.dimension()); return (b1.min)() == (b2.min)() && (b1.max)() == (b2.max)(); } template < typename Kernel > inline bool operator!=(const Iso_box_d<Kernel>& b1, const Iso_box_d<Kernel>& b2) { return ! (b1 == b2); } } // namespace CGAL #endif // CGAL_ISO_BOX_D_H
<?xml version="1.0" ?><!DOCTYPE TS><TS language="et" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About 42</source> <translation>42ist</translation> </message> <message> <location line="+39"/> <source>&lt;b&gt;42&lt;/b&gt; version</source> <translation>&lt;b&gt;42i&lt;/b&gt; versioon</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>⏎ See on eksperimentaalne tarkvara.⏎ ⏎ Levitatud MIT/X11 tarkvara litsentsi all, vaata kaasasolevat faili COPYING või http: ⏎ Toode sisaldab OpenSSL Projekti all toodetud tarkvara, mis on kasutamiseks OpenSSL Toolkitis (http: </message> <message> <location filename="../aboutdialog.cpp" line="+14"/> <source>Copyright</source> <translation>Autoriõigus</translation> </message> <message> <location line="+0"/> <source>The 42 developers</source> <translation type="unfinished"/> </message> </context> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>Address Book</source> <translation>Aadressiraamat</translation> </message> <message> <location line="+19"/> <source>Double-click to edit address or label</source> <translation>Topeltklõps aadressi või märgise muutmiseks</translation> </message> <message> <location line="+27"/> <source>Create a new address</source> <translation>Loo uus aadress</translation> </message> <message> <location line="+14"/> <source>Copy the currently selected address to the system clipboard</source> <translation>Kopeeri märgistatud aadress vahemällu</translation> </message> <message> <location line="-11"/> <source>&amp;New Address</source> <translation>&amp;Uus aadress</translation> </message> <message> <location filename="../addressbookpage.cpp" line="+63"/> <source>These are your 42 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>Maksete saamiseks kasutatavad 42i aadressid. Maksjate paremaks jälgimiseks võib igaühele anda erineva.</translation> </message> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>&amp;Copy Address</source> <translation>&amp;Aadressi kopeerimine</translation> </message> <message> <location line="+11"/> <source>Show &amp;QR Code</source> <translation>Kuva %QR kood</translation> </message> <message> <location line="+11"/> <source>Sign a message to prove you own a 42 address</source> <translation>Allkirjasta sõnum, et tõestada Bitconi aadressi olemasolu.</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>Allkirjasta &amp;Sõnum</translation> </message> <message> <location line="+25"/> <source>Delete the currently selected address from the list</source> <translation>Kustuta märgistatud aadress loetelust</translation> </message> <message> <location line="+27"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="-44"/> <source>Verify a message to ensure it was signed with a specified 42 address</source> <translation>Kinnita sõnum tõestamaks selle allkirjastatust määratud 42i aadressiga.</translation> </message> <message> <location line="+3"/> <source>&amp;Verify Message</source> <translation>&amp;Kinnita Sõnum</translation> </message> <message> <location line="+14"/> <source>&amp;Delete</source> <translation>&amp;Kustuta</translation> </message> <message> <location filename="../addressbookpage.cpp" line="-5"/> <source>These are your 42 addresses for sending payments. Always check the amount and the receiving address before sending coins.</source> <translation>Need on sinu 42i aadressid maksete saatmiseks. Müntide saatmisel kontrolli alati summat ning saaja aadressi.</translation> </message> <message> <location line="+13"/> <source>Copy &amp;Label</source> <translation>&amp;Märgise kopeerimine</translation> </message> <message> <location line="+1"/> <source>&amp;Edit</source> <translation>&amp;Muuda</translation> </message> <message> <location line="+1"/> <source>Send &amp;Coins</source> <translation>Saada &amp;Münte</translation> </message> <message> <location line="+260"/> <source>Export Address Book Data</source> <translation>Ekspordi Aadressiraamat</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Komaeraldatud fail (*.csv)</translation> </message> <message> <location line="+13"/> <source>Error exporting</source> <translation>Viga eksportimisel</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Tõrge faili kirjutamisel %1.</translation> </message> </context> <context> <name>AddressTableModel</name> <message> <location filename="../addresstablemodel.cpp" line="+144"/> <source>Label</source> <translation>Silt</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Aadress</translation> </message> <message> <location line="+36"/> <source>(no label)</source> <translation>(silti pole)</translation> </message> </context> <context> <name>AskPassphraseDialog</name> <message> <location filename="../forms/askpassphrasedialog.ui" line="+26"/> <source>Passphrase Dialog</source> <translation>Salafraasi dialoog</translation> </message> <message> <location line="+21"/> <source>Enter passphrase</source> <translation>Sisesta salafraas</translation> </message> <message> <location line="+14"/> <source>New passphrase</source> <translation>Uus salafraas</translation> </message> <message> <location line="+14"/> <source>Repeat new passphrase</source> <translation>Korda salafraasi</translation> </message> <message> <location filename="../askpassphrasedialog.cpp" line="+33"/> <source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;10 or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source> <translation>Sisesta rahakotile uus salafraas.&lt;br/&gt;Palun kasuta salafraasina &lt;b&gt;vähemalt 10 tähte/numbrit/sümbolit&lt;/b&gt;, või &lt;b&gt;vähemalt 8 sõna&lt;/b&gt;.</translation> </message> <message> <location line="+1"/> <source>Encrypt wallet</source> <translation>Krüpteeri rahakott</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to unlock the wallet.</source> <translation>See toiming nõuab sinu rahakoti salafraasi.</translation> </message> <message> <location line="+5"/> <source>Unlock wallet</source> <translation>Tee rahakott lukust lahti.</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to decrypt the wallet.</source> <translation>See toiming nõuab sinu rahakoti salafraasi.</translation> </message> <message> <location line="+5"/> <source>Decrypt wallet</source> <translation>Dekrüpteeri rahakott.</translation> </message> <message> <location line="+3"/> <source>Change passphrase</source> <translation>Muuda salafraasi</translation> </message> <message> <location line="+1"/> <source>Enter the old and new passphrase to the wallet.</source> <translation>Sisesta rahakoti vana ning uus salafraas.</translation> </message> <message> <location line="+46"/> <source>Confirm wallet encryption</source> <translation>Kinnita rahakoti krüpteering</translation> </message> <message> <location line="+1"/> <source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR 42S&lt;/b&gt;!</source> <translation>Hoiatus: Kui sa kaotad oma, rahakoti krüpteerimisel kasutatud, salafraasi, siis &lt;b&gt;KAOTAD KA KÕIK OMA 42ID&lt;/b&gt;!</translation> </message> <message> <location line="+0"/> <source>Are you sure you wish to encrypt your wallet?</source> <translation>Kas soovid oma rahakoti krüpteerida?</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>TÄHTIS: Kõik varasemad rahakoti varundfailid tuleks üle kirjutada äsja loodud krüpteeritud rahakoti failiga. Turvakaalutlustel tühistatakse krüpteerimata rahakoti failid alates uue, krüpteeritud rahakoti, kasutusele võtust.</translation> </message> <message> <location line="+100"/> <location line="+24"/> <source>Warning: The Caps Lock key is on!</source> <translation>Hoiatus: Caps Lock on sisse lülitatud!</translation> </message> <message> <location line="-130"/> <location line="+58"/> <source>Wallet encrypted</source> <translation>Rahakott krüpteeritud</translation> </message> <message> <location line="-56"/> <source>42 will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your 42s from being stolen by malware infecting your computer.</source> <translation>42 sulgub krüpteeringu lõpetamiseks. Pea meeles, et rahakoti krüpteerimine ei välista 42ide vargust, kui sinu arvuti on nakatunud pahavaraga.</translation> </message> <message> <location line="+13"/> <location line="+7"/> <location line="+42"/> <location line="+6"/> <source>Wallet encryption failed</source> <translation>Tõrge rahakoti krüpteerimisel</translation> </message> <message> <location line="-54"/> <source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source> <translation>Rahakoti krüpteering ebaõnnestus tõrke tõttu. Sinu rahakotti ei krüpteeritud.</translation> </message> <message> <location line="+7"/> <location line="+48"/> <source>The supplied passphrases do not match.</source> <translation>Salafraasid ei kattu.</translation> </message> <message> <location line="-37"/> <source>Wallet unlock failed</source> <translation>Rahakoti avamine ebaõnnestus</translation> </message> <message> <location line="+1"/> <location line="+11"/> <location line="+19"/> <source>The passphrase entered for the wallet decryption was incorrect.</source> <translation>Rahakoti salafraas ei ole õige.</translation> </message> <message> <location line="-20"/> <source>Wallet decryption failed</source> <translation>Rahakoti dekrüpteerimine ei õnnestunud</translation> </message> <message> <location line="+14"/> <source>Wallet passphrase was successfully changed.</source> <translation>Rahakoti salafraasi muutmine õnnestus.</translation> </message> </context> <context> <name>BitcoinGUI</name> <message> <location filename="../bitcoingui.cpp" line="+233"/> <source>Sign &amp;message...</source> <translation>Signeeri &amp;sõnum</translation> </message> <message> <location line="+280"/> <source>Synchronizing with network...</source> <translation>Võrgusünkimine...</translation> </message> <message> <location line="-349"/> <source>&amp;Overview</source> <translation>&amp;Ülevaade</translation> </message> <message> <location line="+1"/> <source>Show general overview of wallet</source> <translation>Kuva rahakoti üld-ülevaade</translation> </message> <message> <location line="+20"/> <source>&amp;Transactions</source> <translation>&amp;Tehingud</translation> </message> <message> <location line="+1"/> <source>Browse transaction history</source> <translation>Sirvi tehingute ajalugu</translation> </message> <message> <location line="+7"/> <source>Edit the list of stored addresses and labels</source> <translation>Salvestatud aadresside ja märgiste loetelu muutmine</translation> </message> <message> <location line="-14"/> <source>Show the list of addresses for receiving payments</source> <translation>Kuva saadud maksete aadresside loetelu</translation> </message> <message> <location line="+31"/> <source>E&amp;xit</source> <translation>V&amp;älju</translation> </message> <message> <location line="+1"/> <source>Quit application</source> <translation>Väljumine</translation> </message> <message> <location line="+4"/> <source>Show information about 42</source> <translation>Kuva info 42i kohta</translation> </message> <message> <location line="+2"/> <source>About &amp;Qt</source> <translation>Teave &amp;Qt kohta</translation> </message> <message> <location line="+1"/> <source>Show information about Qt</source> <translation>Kuva Qt kohta käiv info</translation> </message> <message> <location line="+2"/> <source>&amp;Options...</source> <translation>&amp;Valikud...</translation> </message> <message> <location line="+6"/> <source>&amp;Encrypt Wallet...</source> <translation>&amp;Krüpteeri Rahakott</translation> </message> <message> <location line="+3"/> <source>&amp;Backup Wallet...</source> <translation>&amp;Varunda Rahakott</translation> </message> <message> <location line="+2"/> <source>&amp;Change Passphrase...</source> <translation>&amp;Salafraasi muutmine</translation> </message> <message> <location line="+285"/> <source>Importing blocks from disk...</source> <translation>Impordi blokid kettalt...</translation> </message> <message> <location line="+3"/> <source>Reindexing blocks on disk...</source> <translation>Kettal olevate blokkide re-indekseerimine...</translation> </message> <message> <location line="-347"/> <source>Send coins to a 42 address</source> <translation>Saada münte 42i aadressile</translation> </message> <message> <location line="+49"/> <source>Modify configuration options for 42</source> <translation>Muuda 42i seadeid</translation> </message> <message> <location line="+9"/> <source>Backup wallet to another location</source> <translation>Varunda rahakott teise asukohta</translation> </message> <message> <location line="+2"/> <source>Change the passphrase used for wallet encryption</source> <translation>Rahakoti krüpteerimise salafraasi muutmine</translation> </message> <message> <location line="+6"/> <source>&amp;Debug window</source> <translation>&amp;Debugimise aken</translation> </message> <message> <location line="+1"/> <source>Open debugging and diagnostic console</source> <translation>Ava debugimise ja diagnostika konsool</translation> </message> <message> <location line="-4"/> <source>&amp;Verify message...</source> <translation>&amp;Kontrolli sõnumit...</translation> </message> <message> <location line="-165"/> <location line="+530"/> <source>42</source> <translation>42</translation> </message> <message> <location line="-530"/> <source>Wallet</source> <translation>Rahakott</translation> </message> <message> <location line="+101"/> <source>&amp;Send</source> <translation>&amp;Saada</translation> </message> <message> <location line="+7"/> <source>&amp;Receive</source> <translation>&amp;Saama</translation> </message> <message> <location line="+14"/> <source>&amp;Addresses</source> <translation>&amp;Aadressid</translation> </message> <message> <location line="+22"/> <source>&amp;About 42</source> <translation>%42ist</translation> </message> <message> <location line="+9"/> <source>&amp;Show / Hide</source> <translation>&amp;Näita / Peida</translation> </message> <message> <location line="+1"/> <source>Show or hide the main Window</source> <translation>Näita või peida peaaken</translation> </message> <message> <location line="+3"/> <source>Encrypt the private keys that belong to your wallet</source> <translation>Krüpteeri oma rahakoti privaatvõtmed</translation> </message> <message> <location line="+7"/> <source>Sign messages with your 42 addresses to prove you own them</source> <translation>Omandi tõestamiseks allkirjasta sõnumid oma 42i aadressiga</translation> </message> <message> <location line="+2"/> <source>Verify messages to ensure they were signed with specified 42 addresses</source> <translation>Kinnita sõnumid kindlustamaks et need allkirjastati määratud 42i aadressiga</translation> </message> <message> <location line="+28"/> <source>&amp;File</source> <translation>&amp;Fail</translation> </message> <message> <location line="+7"/> <source>&amp;Settings</source> <translation>&amp;Seaded</translation> </message> <message> <location line="+6"/> <source>&amp;Help</source> <translation>&amp;Abi</translation> </message> <message> <location line="+9"/> <source>Tabs toolbar</source> <translation>Vahelehe tööriistariba</translation> </message> <message> <location line="+17"/> <location line="+10"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> <message> <location line="+47"/> <source>42 client</source> <translation>42i klient</translation> </message> <message numerus="yes"> <location line="+141"/> <source>%n active connection(s) to 42 network</source> <translation><numerusform>%n aktiivne ühendus 42i võrku</numerusform><numerusform>%n aktiivset ühendust 42i võrku</numerusform></translation> </message> <message> <location line="+22"/> <source>No block source available...</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Processed %1 of %2 (estimated) blocks of transaction history.</source> <translation>Protsessitud %1 (arvutuslikult) tehingu ajaloo blokki %2-st.</translation> </message> <message> <location line="+4"/> <source>Processed %1 blocks of transaction history.</source> <translation>Protsessitud %1 tehingute ajaloo blokki.</translation> </message> <message numerus="yes"> <location line="+20"/> <source>%n hour(s)</source> <translation><numerusform>%n tund</numerusform><numerusform>%n tundi</numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n day(s)</source> <translation><numerusform>%n päev</numerusform><numerusform>%n päeva</numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n week(s)</source> <translation><numerusform>%n nädal</numerusform><numerusform>%n nädalat</numerusform></translation> </message> <message> <location line="+4"/> <source>%1 behind</source> <translation>%1 maas</translation> </message> <message> <location line="+14"/> <source>Last received block was generated %1 ago.</source> <translation>Viimane saabunud blokk loodi %1 tagasi.</translation> </message> <message> <location line="+2"/> <source>Transactions after this will not yet be visible.</source> <translation>Peale seda ei ole tehingud veel nähtavad.</translation> </message> <message> <location line="+22"/> <source>Error</source> <translation>Tõrge</translation> </message> <message> <location line="+3"/> <source>Warning</source> <translation>Hoiatus</translation> </message> <message> <location line="+3"/> <source>Information</source> <translation>Informatsioon</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>See tehing ületab mahupiirangu. Saatmine on võimalik %1, node&apos;idele ning võrgustiku toetuseks, makstava lisatasu eest. Kas nõustud lisatasuga?</translation> </message> <message> <location line="-140"/> <source>Up to date</source> <translation>Ajakohane</translation> </message> <message> <location line="+31"/> <source>Catching up...</source> <translation>Jõuan...</translation> </message> <message> <location line="+113"/> <source>Confirm transaction fee</source> <translation>Kinnita tehingu tasu</translation> </message> <message> <location line="+8"/> <source>Sent transaction</source> <translation>Saadetud tehing</translation> </message> <message> <location line="+0"/> <source>Incoming transaction</source> <translation>Sisenev tehing</translation> </message> <message> <location line="+1"/> <source>Date: %1 Amount: %2 Type: %3 Address: %4 </source> <translation>Kuupäev: %1⏎ Summa: %2⏎ Tüüp: %3⏎ Aadress: %4⏎</translation> </message> <message> <location line="+33"/> <location line="+23"/> <source>URI handling</source> <translation>URI käsitsemine</translation> </message> <message> <location line="-23"/> <location line="+23"/> <source>URI can not be parsed! This can be caused by an invalid 42 address or malformed URI parameters.</source> <translation>URI ei suudeta parsida. Põhjuseks võib olla kehtetu 42i aadress või vigased URI parameetrid.</translation> </message> <message> <location line="+17"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source> <translation>Rahakott on &lt;b&gt;krüpteeritud&lt;/b&gt; ning hetkel &lt;b&gt;avatud&lt;/b&gt;</translation> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source> <translation>Rahakott on &lt;b&gt;krüpteeritud&lt;/b&gt; ning hetkel &lt;b&gt;suletud&lt;/b&gt;</translation> </message> <message> <location filename="../bitcoin.cpp" line="+111"/> <source>A fatal error occurred. 42 can no longer continue safely and will quit.</source> <translation>Ilmnes kriitiline tõrge. 42 suletakse turvakaalutluste tõttu.</translation> </message> </context> <context> <name>ClientModel</name> <message> <location filename="../clientmodel.cpp" line="+104"/> <source>Network Alert</source> <translation>Võrgu Häire</translation> </message> </context> <context> <name>EditAddressDialog</name> <message> <location filename="../forms/editaddressdialog.ui" line="+14"/> <source>Edit Address</source> <translation>Muuda aadressi</translation> </message> <message> <location line="+11"/> <source>&amp;Label</source> <translation>&amp;Märgis</translation> </message> <message> <location line="+10"/> <source>The label associated with this address book entry</source> <translation>Selle aadressiraamatu kirjega seotud märgis</translation> </message> <message> <location line="+7"/> <source>&amp;Address</source> <translation>&amp;Aadress</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>Selle aadressiraamatu kirjega seotud aadress. Võimalik muuta ainult aadresside saatmiseks.</translation> </message> <message> <location filename="../editaddressdialog.cpp" line="+21"/> <source>New receiving address</source> <translation>Uus sissetulev aadress</translation> </message> <message> <location line="+4"/> <source>New sending address</source> <translation>Uus väljaminev aadress</translation> </message> <message> <location line="+3"/> <source>Edit receiving address</source> <translation>Sissetulevate aadresside muutmine</translation> </message> <message> <location line="+4"/> <source>Edit sending address</source> <translation>Väljaminevate aadresside muutmine</translation> </message> <message> <location line="+76"/> <source>The entered address &quot;%1&quot; is already in the address book.</source> <translation>Selline aadress on juba olemas: &quot;%1&quot;</translation> </message> <message> <location line="-5"/> <source>The entered address &quot;%1&quot; is not a valid 42 address.</source> <translation>Sisestatud aadress &quot;%1&quot; ei ole 42is kehtiv.</translation> </message> <message> <location line="+10"/> <source>Could not unlock wallet.</source> <translation>Rahakotti ei avatud</translation> </message> <message> <location line="+5"/> <source>New key generation failed.</source> <translation>Tõrge uue võtme loomisel.</translation> </message> </context> <context> <name>GUIUtil::HelpMessageBox</name> <message> <location filename="../guiutil.cpp" line="+424"/> <location line="+12"/> <source>42-Qt</source> <translation>42i-Qt</translation> </message> <message> <location line="-12"/> <source>version</source> <translation>versioon</translation> </message> <message> <location line="+2"/> <source>Usage:</source> <translation>Kasutus:</translation> </message> <message> <location line="+1"/> <source>command-line options</source> <translation>käsurea valikud</translation> </message> <message> <location line="+4"/> <source>UI options</source> <translation>UI valikud</translation> </message> <message> <location line="+1"/> <source>Set language, for example &quot;de_DE&quot; (default: system locale)</source> <translation>Keele valik, nt &quot;ee_ET&quot; (vaikeväärtus: system locale)</translation> </message> <message> <location line="+1"/> <source>Start minimized</source> <translation>Käivitu tegumiribale</translation> </message> <message> <location line="+1"/> <source>Show splash screen on startup (default: 1)</source> <translation>Käivitamisel teabeakna kuvamine (vaikeväärtus: 1)</translation> </message> </context> <context> <name>OptionsDialog</name> <message> <location filename="../forms/optionsdialog.ui" line="+14"/> <source>Options</source> <translation>Valikud</translation> </message> <message> <location line="+16"/> <source>&amp;Main</source> <translation>%Peamine</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 type="unfinished"/> </message> <message> <location line="+15"/> <source>Pay transaction &amp;fee</source> <translation>Tasu tehingu &amp;fee</translation> </message> <message> <location line="+31"/> <source>Automatically start 42 after logging in to the system.</source> <translation>Käivita 42 süsteemi logimisel.</translation> </message> <message> <location line="+3"/> <source>&amp;Start 42 on system login</source> <translation>&amp;Start 42 sisselogimisel</translation> </message> <message> <location line="+35"/> <source>Reset all client options to default.</source> <translation>Taasta kõik klientprogrammi seadete vaikeväärtused.</translation> </message> <message> <location line="+3"/> <source>&amp;Reset Options</source> <translation>&amp;Lähtesta valikud</translation> </message> <message> <location line="+13"/> <source>&amp;Network</source> <translation>&amp;Võrk</translation> </message> <message> <location line="+6"/> <source>Automatically open the 42 client port on the router. This only works when your router supports UPnP and it is enabled.</source> <translation>42i kliendi pordi automaatne avamine ruuteris. Toimib, kui sinu ruuter aktsepteerib UPnP ühendust.</translation> </message> <message> <location line="+3"/> <source>Map port using &amp;UPnP</source> <translation>Suuna port &amp;UPnP kaudu</translation> </message> <message> <location line="+7"/> <source>Connect to the 42 network through a SOCKS proxy (e.g. when connecting through Tor).</source> <translation>Kasuta 42i võrgustikku ühendumiseks SOCKS turva proxy&apos;t (nt Tor&apos;i kasutamisel).</translation> </message> <message> <location line="+3"/> <source>&amp;Connect through SOCKS proxy:</source> <translation>%Connect läbi turva proxi:</translation> </message> <message> <location line="+9"/> <source>Proxy &amp;IP:</source> <translation>Proxi &amp;IP:</translation> </message> <message> <location line="+19"/> <source>IP address of the proxy (e.g. 127.0.0.1)</source> <translation>Proxi IP (nt 127.0.0.1)</translation> </message> <message> <location line="+7"/> <source>&amp;Port:</source> <translation>&amp;Port:</translation> </message> <message> <location line="+19"/> <source>Port of the proxy (e.g. 9050)</source> <translation>Proxi port (nt 9050)</translation> </message> <message> <location line="+7"/> <source>SOCKS &amp;Version:</source> <translation>Turva proxi SOCKS &amp;Version:</translation> </message> <message> <location line="+13"/> <source>SOCKS version of the proxy (e.g. 5)</source> <translation>Turva proxi SOCKS versioon (nt 5)</translation> </message> <message> <location line="+36"/> <source>&amp;Window</source> <translation>&amp;Aken</translation> </message> <message> <location line="+6"/> <source>Show only a tray icon after minimizing the window.</source> <translation>Minimeeri systray alale.</translation> </message> <message> <location line="+3"/> <source>&amp;Minimize to the tray instead of the taskbar</source> <translation>&amp;Minimeeri systray alale</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>Sulgemise asemel minimeeri aken. Selle valiku tegemisel suletakse programm Menüüst &quot;Välju&quot; käsuga.</translation> </message> <message> <location line="+3"/> <source>M&amp;inimize on close</source> <translation>M&amp;inimeeri sulgemisel</translation> </message> <message> <location line="+21"/> <source>&amp;Display</source> <translation>&amp;Kuva</translation> </message> <message> <location line="+8"/> <source>User Interface &amp;language:</source> <translation>Kasutajaliidese &amp;keel:</translation> </message> <message> <location line="+13"/> <source>The user interface language can be set here. This setting will take effect after restarting 42.</source> <translation>Kasutajaliidese keele valimise koht. Valik rakendub 42i käivitamisel.</translation> </message> <message> <location line="+11"/> <source>&amp;Unit to show amounts in:</source> <translation>Summade kuvamise &amp;Unit:</translation> </message> <message> <location line="+13"/> <source>Choose the default subdivision unit to show in the interface and when sending coins.</source> <translation>Vali liideses ning müntide saatmisel kuvatav vaikimisi alajaotus.</translation> </message> <message> <location line="+9"/> <source>Whether to show 42 addresses in the transaction list or not.</source> <translation>Kuvada 42i aadress tehingute loetelus või mitte.</translation> </message> <message> <location line="+3"/> <source>&amp;Display addresses in transaction list</source> <translation>Tehingute loetelu &amp;Display aadress</translation> </message> <message> <location line="+71"/> <source>&amp;OK</source> <translation>&amp;OK</translation> </message> <message> <location line="+7"/> <source>&amp;Cancel</source> <translation>&amp;Katkesta</translation> </message> <message> <location line="+10"/> <source>&amp;Apply</source> <translation>&amp;Rakenda</translation> </message> <message> <location filename="../optionsdialog.cpp" line="+53"/> <source>default</source> <translation>vaikeväärtus</translation> </message> <message> <location line="+130"/> <source>Confirm options reset</source> <translation>Kinnita valikute algseadistamine</translation> </message> <message> <location line="+1"/> <source>Some settings may require a client restart to take effect.</source> <translation>Mõned seadete muudatused rakenduvad programmi käivitumisel.</translation> </message> <message> <location line="+0"/> <source>Do you want to proceed?</source> <translation>Kas soovid jätkata?</translation> </message> <message> <location line="+42"/> <location line="+9"/> <source>Warning</source> <translation>Hoiatus</translation> </message> <message> <location line="-9"/> <location line="+9"/> <source>This setting will take effect after restarting 42.</source> <translation>Tehtud valik rakendub 42i käivitamisel.</translation> </message> <message> <location line="+29"/> <source>The supplied proxy address is invalid.</source> <translation>Sisestatud kehtetu proxy aadress.</translation> </message> </context> <context> <name>OverviewPage</name> <message> <location filename="../forms/overviewpage.ui" line="+14"/> <source>Form</source> <translation>Vorm</translation> </message> <message> <location line="+50"/> <location line="+166"/> <source>The displayed information may be out of date. Your wallet automatically synchronizes with the 42 network after a connection is established, but this process has not completed yet.</source> <translation>Kuvatav info ei pruugi olla ajakohane. Ühenduse loomisel süngitakse sinu rahakott automaatselt Bitconi võrgustikuga, kuid see toiming on hetkel lõpetamata.</translation> </message> <message> <location line="-124"/> <source>Balance:</source> <translation>Jääk:</translation> </message> <message> <location line="+29"/> <source>Unconfirmed:</source> <translation>Kinnitamata:</translation> </message> <message> <location line="-78"/> <source>Wallet</source> <translation>Rahakott</translation> </message> <message> <location line="+107"/> <source>Immature:</source> <translation>Ebaküps:</translation> </message> <message> <location line="+13"/> <source>Mined balance that has not yet matured</source> <translation>Mitte aegunud mine&apos;itud jääk</translation> </message> <message> <location line="+46"/> <source>&lt;b&gt;Recent transactions&lt;/b&gt;</source> <translation>&lt;b&gt;Uuesti saadetud tehingud&lt;/b&gt;</translation> </message> <message> <location line="-101"/> <source>Your current balance</source> <translation>Sinu jääk hetkel</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>Kinnitamata tehingud kokku. Ei kajastu hetke jäägis</translation> </message> <message> <location filename="../overviewpage.cpp" line="+116"/> <location line="+1"/> <source>out of sync</source> <translation>sünkimata</translation> </message> </context> <context> <name>PaymentServer</name> <message> <location filename="../paymentserver.cpp" line="+107"/> <source>Cannot start 42: click-to-pay handler</source> <translation>42 ei käivitu: vajuta-maksa toiming</translation> </message> </context> <context> <name>QRCodeDialog</name> <message> <location filename="../forms/qrcodedialog.ui" line="+14"/> <source>QR Code Dialog</source> <translation>QR koodi dialoog</translation> </message> <message> <location line="+59"/> <source>Request Payment</source> <translation>Makse taotlus</translation> </message> <message> <location line="+56"/> <source>Amount:</source> <translation>Summa:</translation> </message> <message> <location line="-44"/> <source>Label:</source> <translation>Märgis:</translation> </message> <message> <location line="+19"/> <source>Message:</source> <translation>Sõnum:</translation> </message> <message> <location line="+71"/> <source>&amp;Save As...</source> <translation>&amp;Salvesta nimega...</translation> </message> <message> <location filename="../qrcodedialog.cpp" line="+62"/> <source>Error encoding URI into QR Code.</source> <translation>Tõrge URI&apos;st QR koodi loomisel</translation> </message> <message> <location line="+40"/> <source>The entered amount is invalid, please check.</source> <translation>Sisestatud summa on vale, palun kontrolli.</translation> </message> <message> <location line="+23"/> <source>Resulting URI too long, try to reduce the text for label / message.</source> <translation>Tulemuseks on liiga pikk URL, püüa lühendada märgise/teate teksti.</translation> </message> <message> <location line="+25"/> <source>Save QR Code</source> <translation>Salvesta QR kood</translation> </message> <message> <location line="+0"/> <source>PNG Images (*.png)</source> <translation>PNG pildifail (*.png)</translation> </message> </context> <context> <name>RPCConsole</name> <message> <location filename="../forms/rpcconsole.ui" line="+46"/> <source>Client name</source> <translation>Kliendi nimi</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/A</translation> </message> <message> <location line="-217"/> <source>Client version</source> <translation>Kliendi versioon</translation> </message> <message> <location line="-45"/> <source>&amp;Information</source> <translation>&amp;Informatsioon</translation> </message> <message> <location line="+68"/> <source>Using OpenSSL version</source> <translation>Kasutan OpenSSL versiooni</translation> </message> <message> <location line="+49"/> <source>Startup time</source> <translation>Käivitamise hetk</translation> </message> <message> <location line="+29"/> <source>Network</source> <translation>Võrgustik</translation> </message> <message> <location line="+7"/> <source>Number of connections</source> <translation>Ühenduste arv</translation> </message> <message> <location line="+23"/> <source>On testnet</source> <translation>Testnetis</translation> </message> <message> <location line="+23"/> <source>Block chain</source> <translation>Ploki jada</translation> </message> <message> <location line="+7"/> <source>Current number of blocks</source> <translation>Plokkide hetkearv</translation> </message> <message> <location line="+23"/> <source>Estimated total blocks</source> <translation>Ligikaudne plokkide kogus</translation> </message> <message> <location line="+23"/> <source>Last block time</source> <translation>Viimane ploki aeg</translation> </message> <message> <location line="+52"/> <source>&amp;Open</source> <translation>&amp;Ava</translation> </message> <message> <location line="+16"/> <source>Command-line options</source> <translation>Käsurea valikud</translation> </message> <message> <location line="+7"/> <source>Show the 42-Qt help message to get a list with possible 42 command-line options.</source> <translation>Näita kehtivate käsurea valikute kuvamiseks 42i-Qt abiteksti</translation> </message> <message> <location line="+3"/> <source>&amp;Show</source> <translation>&amp;Kuva</translation> </message> <message> <location line="+24"/> <source>&amp;Console</source> <translation>&amp;Konsool</translation> </message> <message> <location line="-260"/> <source>Build date</source> <translation>Valmistusaeg</translation> </message> <message> <location line="-104"/> <source>42 - Debug window</source> <translation>42 - debugimise aken</translation> </message> <message> <location line="+25"/> <source>42 Core</source> <translation>42i tuumik</translation> </message> <message> <location line="+279"/> <source>Debug log file</source> <translation>Debugimise logifail</translation> </message> <message> <location line="+7"/> <source>Open the 42 debug log file from the current data directory. This can take a few seconds for large log files.</source> <translation>Ava 42i logifail praegusest andmekaustast. Toiminguks võib kuluda kuni mõni sekund.</translation> </message> <message> <location line="+102"/> <source>Clear console</source> <translation>Puhasta konsool</translation> </message> <message> <location filename="../rpcconsole.cpp" line="-30"/> <source>Welcome to the 42 RPC console.</source> <translation>Teretulemast 42i RPC konsooli.</translation> </message> <message> <location line="+1"/> <source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source> <translation>Ajaloo sirvimiseks kasuta üles ja alla nooli, ekraani puhastamiseks &lt;b&gt;Ctrl-L&lt;/b&gt;.</translation> </message> <message> <location line="+1"/> <source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source> <translation>Ülevaateks võimalikest käsklustest trüki &lt;b&gt;help&lt;/b&gt;.</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>Müntide saatmine</translation> </message> <message> <location line="+50"/> <source>Send to multiple recipients at once</source> <translation>Saatmine mitmele korraga</translation> </message> <message> <location line="+3"/> <source>Add &amp;Recipient</source> <translation>Lisa &amp;Saaja</translation> </message> <message> <location line="+20"/> <source>Remove all transaction fields</source> <translation>Eemalda kõik tehingu väljad</translation> </message> <message> <location line="+3"/> <source>Clear &amp;All</source> <translation>Puhasta &amp;Kõik</translation> </message> <message> <location line="+22"/> <source>Balance:</source> <translation>Jääk:</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>Saatmise kinnitamine</translation> </message> <message> <location line="+3"/> <source>S&amp;end</source> <translation>S&amp;aada</translation> </message> <message> <location filename="../sendcoinsdialog.cpp" line="-59"/> <source>&lt;b&gt;%1&lt;/b&gt; to %2 (%3)</source> <translation>&lt;b&gt;%1&lt;/b&gt; kuni %2 (%3)</translation> </message> <message> <location line="+5"/> <source>Confirm send coins</source> <translation>Müntide saatmise kinnitamine</translation> </message> <message> <location line="+1"/> <source>Are you sure you want to send %1?</source> <translation>Soovid kindlasti saata %1?</translation> </message> <message> <location line="+0"/> <source> and </source> <translation>ja</translation> </message> <message> <location line="+23"/> <source>The recipient address is not valid, please recheck.</source> <translation>Saaja aadress ei ole kehtiv, palun kontrolli.</translation> </message> <message> <location line="+5"/> <source>The amount to pay must be larger than 0.</source> <translation>Makstav summa peab olema suurem kui 0.</translation> </message> <message> <location line="+5"/> <source>The amount exceeds your balance.</source> <translation>Summa ületab jäägi.</translation> </message> <message> <location line="+5"/> <source>The total exceeds your balance when the %1 transaction fee is included.</source> <translation>Summa koos tehingu tasuga %1 ületab sinu jääki.</translation> </message> <message> <location line="+6"/> <source>Duplicate address found, can only send to each address once per send operation.</source> <translation>Ühe saatmisega topelt-adressaati olla ei tohi.</translation> </message> <message> <location line="+5"/> <source>Error: Transaction creation failed!</source> <translation>Tõrge: Tehingu loomine ebaõnnestus!</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>Viga: Tehingust keelduti. Nt rahakoti koopia kasutamisel võivad selle põhjustada juba kulutatud mündid.</translation> </message> </context> <context> <name>SendCoinsEntry</name> <message> <location filename="../forms/sendcoinsentry.ui" line="+14"/> <source>Form</source> <translation>Vorm</translation> </message> <message> <location line="+15"/> <source>A&amp;mount:</source> <translation>S&amp;umma:</translation> </message> <message> <location line="+13"/> <source>Pay &amp;To:</source> <translation>Maksa &amp;:</translation> </message> <message> <location line="+34"/> <source>The address to send the payment to (e.g. <API key>)</source> <translation>Tehingu saaja aadress (nt: <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>Aadressiraamatusse sisestamiseks märgista aadress</translation> </message> <message> <location line="-78"/> <source>&amp;Label:</source> <translation>&amp;Märgis</translation> </message> <message> <location line="+28"/> <source>Choose address from address book</source> <translation>Vali saaja aadressiraamatust</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>Kleebi aadress vahemälust</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>Saaja eemaldamine</translation> </message> <message> <location filename="../sendcoinsentry.cpp" line="+1"/> <source>Enter a 42 address (e.g. <API key>)</source> <translation>Sisesta 42i aadress (nt: <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>Signatuurid - Allkirjasta / Kinnita Sõnum</translation> </message> <message> <location line="+13"/> <source>&amp;Sign Message</source> <translation>&amp;Allkirjastamise teade</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>Omandiõigsuse tõestamiseks saad sõnumeid allkirjastada oma aadressiga. Ettevaatust petturitega, kes üritavad saada sinu allkirja endale saada. Allkirjasta ainult korralikult täidetud avaldusi, millega nõustud.</translation> </message> <message> <location line="+18"/> <source>The address to sign the message with (e.g. <API key>)</source> <translation>Sõnumi signeerimise aadress (nt: <API key>)</translation> </message> <message> <location line="+10"/> <location line="+213"/> <source>Choose an address from the address book</source> <translation>Vali aadress aadressiraamatust</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>Kleebi aadress vahemälust</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>Sisesta siia allkirjastamise sõnum</translation> </message> <message> <location line="+7"/> <source>Signature</source> <translation>Signatuur</translation> </message> <message> <location line="+27"/> <source>Copy the current signature to the system clipboard</source> <translation>Kopeeri praegune signatuur vahemällu</translation> </message> <message> <location line="+21"/> <source>Sign the message to prove you own this 42 address</source> <translation>Allkirjasta sõnum 42i aadressi sulle kuulumise tõestamiseks</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>Allkirjasta &amp;Sõnum</translation> </message> <message> <location line="+14"/> <source>Reset all sign message fields</source> <translation>Tühjenda kõik sõnumi allkirjastamise väljad</translation> </message> <message> <location line="+3"/> <location line="+146"/> <source>Clear &amp;All</source> <translation>Puhasta &amp;Kõik</translation> </message> <message> <location line="-87"/> <source>&amp;Verify Message</source> <translation>&amp;Kinnita Sõnum</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>Kinnitamiseks sisesta allkirjastamise aadress, sõnum (kindlasti kopeeri täpselt ka reavahetused, tühikud, tabulaatorid jms) ning allolev signatuur.</translation> </message> <message> <location line="+21"/> <source>The address the message was signed with (e.g. <API key>)</source> <translation>Aadress, millega sõnum allkirjastati (nt: <API key>)</translation> </message> <message> <location line="+40"/> <source>Verify the message to ensure it was signed with the specified 42 address</source> <translation>Kinnita sõnum tõestamaks selle allkirjastatust määratud 42i aadressiga.</translation> </message> <message> <location line="+3"/> <source>Verify &amp;Message</source> <translation>Kinnita &amp;Sõnum</translation> </message> <message> <location line="+14"/> <source>Reset all verify message fields</source> <translation>Tühjenda kõik sõnumi kinnitamise väljad</translation> </message> <message> <location filename="../<API key>.cpp" line="+27"/> <location line="+3"/> <source>Enter a 42 address (e.g. <API key>)</source> <translation>Sisesta 42i aadress (nt: <API key>)</translation> </message> <message> <location line="-2"/> <source>Click &quot;Sign Message&quot; to generate signature</source> <translation>Signatuuri genereerimiseks vajuta &quot;Allkirjasta Sõnum&quot;</translation> </message> <message> <location line="+3"/> <source>Enter 42 signature</source> <translation>Sisesta 42i allkiri</translation> </message> <message> <location line="+82"/> <location line="+81"/> <source>The entered address is invalid.</source> <translation>Sisestatud aadress ei kehti.</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>Palun kontrolli aadressi ning proovi uuesti.</translation> </message> <message> <location line="-81"/> <location line="+81"/> <source>The entered address does not refer to a key.</source> <translation>Sisestatud aadress ei viita võtmele.</translation> </message> <message> <location line="-73"/> <source>Wallet unlock was cancelled.</source> <translation>Rahakoti avamine katkestati.</translation> </message> <message> <location line="+8"/> <source>Private key for the entered address is not available.</source> <translation>Sisestatud aadressi privaatvõti ei ole saadaval.</translation> </message> <message> <location line="+12"/> <source>Message signing failed.</source> <translation>Sõnumi signeerimine ebaõnnestus.</translation> </message> <message> <location line="+5"/> <source>Message signed.</source> <translation>Sõnum signeeritud.</translation> </message> <message> <location line="+59"/> <source>The signature could not be decoded.</source> <translation>Signatuuri ei õnnestunud dekodeerida.</translation> </message> <message> <location line="+0"/> <location line="+13"/> <source>Please check the signature and try again.</source> <translation>Palun kontrolli signatuuri ning proovi uuesti.</translation> </message> <message> <location line="+0"/> <source>The signature did not match the message digest.</source> <translation>Signatuur ei kattunud sõnumi kokkuvõttega.</translation> </message> <message> <location line="+7"/> <source>Message verification failed.</source> <translation>Sõnumi kontroll ebaõnnestus.</translation> </message> <message> <location line="+5"/> <source>Message verified.</source> <translation>Sõnum kontrollitud.</translation> </message> </context> <context> <name>SplashScreen</name> <message> <location filename="../splashscreen.cpp" line="+22"/> <source>The 42 developers</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>[testnet]</source> <translation type="unfinished"/> </message> </context> <context> <name>TransactionDesc</name> <message> <location filename="../transactiondesc.cpp" line="+20"/> <source>Open until %1</source> <translation>Avatud kuni %1</translation> </message> <message> <location line="+6"/> <source>%1/offline</source> <translation>%/1offline&apos;is</translation> </message> <message> <location line="+2"/> <source>%1/unconfirmed</source> <translation>%1/kinnitamata</translation> </message> <message> <location line="+2"/> <source>%1 confirmations</source> <translation>%1 kinnitust</translation> </message> <message> <location line="+18"/> <source>Status</source> <translation>Staatus</translation> </message> <message numerus="yes"> <location line="+7"/> <source>, broadcast through %n node(s)</source> <translation><numerusform>, levita läbi %n node&apos;i</numerusform><numerusform>, levita läbi %n node&apos;i</numerusform></translation> </message> <message> <location line="+4"/> <source>Date</source> <translation>Kuupäev</translation> </message> <message> <location line="+7"/> <source>Source</source> <translation>Allikas</translation> </message> <message> <location line="+0"/> <source>Generated</source> <translation>Genereeritud</translation> </message> <message> <location line="+5"/> <location line="+17"/> <source>From</source> <translation>Saatja</translation> </message> <message> <location line="+1"/> <location line="+22"/> <location line="+58"/> <source>To</source> <translation>Saaja</translation> </message> <message> <location line="-77"/> <location line="+2"/> <source>own address</source> <translation>oma aadress</translation> </message> <message> <location line="-2"/> <source>label</source> <translation>märgis</translation> </message> <message> <location line="+37"/> <location line="+12"/> <location line="+45"/> <location line="+17"/> <location line="+30"/> <source>Credit</source> <translation>Krediit</translation> </message> <message numerus="yes"> <location line="-102"/> <source>matures in %n more block(s)</source> <translation><numerusform>aegub %n bloki pärast</numerusform><numerusform>aegub %n bloki pärast</numerusform></translation> </message> <message> <location line="+2"/> <source>not accepted</source> <translation>mitte aktsepteeritud</translation> </message> <message> <location line="+44"/> <location line="+8"/> <location line="+15"/> <location line="+30"/> <source>Debit</source> <translation>Deebet</translation> </message> <message> <location line="-39"/> <source>Transaction fee</source> <translation>Tehingu tasu</translation> </message> <message> <location line="+16"/> <source>Net amount</source> <translation>Neto summa</translation> </message> <message> <location line="+6"/> <source>Message</source> <translation>Sõnum</translation> </message> <message> <location line="+2"/> <source>Comment</source> <translation>Kommentaar</translation> </message> <message> <location line="+2"/> <source>Transaction ID</source> <translation>Tehingu 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 &quot;not accepted&quot; and it won&apos;t be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source> <translation>Enne, kui loodud münte saab kulutama asuda, peavad need läbima 120 blokki. Kui sina selle bloki lõid, levitati see, bloki jadasse ühendamiseks, võrgustikku. Kui jadasse ühendamine ei õnnestu, muudetakse tema staatus &quot;keeldutud&quot; olekusse ning seda ei saa kulutada. Selline olukord võib juhtuda, kui mõni teine node loob bloki sinuga samal ajal.</translation> </message> <message> <location line="+7"/> <source>Debug information</source> <translation>Debug&apos;imise info</translation> </message> <message> <location line="+8"/> <source>Transaction</source> <translation>Tehing</translation> </message> <message> <location line="+3"/> <source>Inputs</source> <translation>Sisendid</translation> </message> <message> <location line="+23"/> <source>Amount</source> <translation>Kogus</translation> </message> <message> <location line="+1"/> <source>true</source> <translation>õige</translation> </message> <message> <location line="+0"/> <source>false</source> <translation>vale</translation> </message> <message> <location line="-209"/> <source>, has not been successfully broadcast yet</source> <translation>, veel esitlemata</translation> </message> <message numerus="yes"> <location line="-35"/> <source>Open for %n more block(s)</source> <translation><numerusform>Avaneb %n bloki pärast</numerusform><numerusform>Avaneb %n bloki pärast</numerusform></translation> </message> <message> <location line="+70"/> <source>unknown</source> <translation>tundmatu</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../forms/<API key>.ui" line="+14"/> <source>Transaction details</source> <translation>Tehingu üksikasjad</translation> </message> <message> <location line="+6"/> <source>This pane shows a detailed description of the transaction</source> <translation>Paan kuvab tehingu detailid</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../<API key>.cpp" line="+225"/> <source>Date</source> <translation>Kuupäev</translation> </message> <message> <location line="+0"/> <source>Type</source> <translation>Tüüp</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Aadress</translation> </message> <message> <location line="+0"/> <source>Amount</source> <translation>Kogus</translation> </message> <message numerus="yes"> <location line="+57"/> <source>Open for %n more block(s)</source> <translation><numerusform>Avaneb %n bloki pärast</numerusform><numerusform>Avaneb %n bloki pärast</numerusform></translation> </message> <message> <location line="+3"/> <source>Open until %1</source> <translation>Avatud kuni %1</translation> </message> <message> <location line="+3"/> <source>Offline (%1 confirmations)</source> <translation>Ühenduseta (%1 kinnitust)</translation> </message> <message> <location line="+3"/> <source>Unconfirmed (%1 of %2 confirmations)</source> <translation>Kinnitamata (%1/%2 kinnitust)</translation> </message> <message> <location line="+3"/> <source>Confirmed (%1 confirmations)</source> <translation>Kinnitatud (%1 kinnitust)</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>Mine&apos;itud jääk muutub kättesaadavaks %n bloki läbimisel</numerusform><numerusform>Mine&apos;itud jääk muutub kättesaadavaks %n bloki läbimisel</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>Antud klotsi pole saanud ükski osapool ning tõenäoliselt seda ei aktsepteerita!</translation> </message> <message> <location line="+3"/> <source>Generated but not accepted</source> <translation>Loodud, kuid aktsepteerimata</translation> </message> <message> <location line="+43"/> <source>Received with</source> <translation>Saadud koos</translation> </message> <message> <location line="+2"/> <source>Received from</source> <translation>Kellelt saadud</translation> </message> <message> <location line="+3"/> <source>Sent to</source> <translation>Saadetud</translation> </message> <message> <location line="+2"/> <source>Payment to yourself</source> <translation>Makse iseendale</translation> </message> <message> <location line="+2"/> <source>Mined</source> <translation>Mine&apos;itud</translation> </message> <message> <location line="+38"/> <source>(n/a)</source> <translation>(n/a)</translation> </message> <message> <location line="+199"/> <source>Transaction status. Hover over this field to show number of confirmations.</source> <translation>Tehingu staatus. Kinnituste arvu kuvamiseks liigu hiire noolega selle peale.</translation> </message> <message> <location line="+2"/> <source>Date and time that the transaction was received.</source> <translation>Tehingu saamise kuupäev ning kellaaeg.</translation> </message> <message> <location line="+2"/> <source>Type of transaction.</source> <translation>Tehingu tüüp.</translation> </message> <message> <location line="+2"/> <source>Destination address of transaction.</source> <translation>Tehingu saaja aadress.</translation> </message> <message> <location line="+2"/> <source>Amount removed from or added to balance.</source> <translation>Jäägile lisatud või eemaldatud summa.</translation> </message> </context> <context> <name>TransactionView</name> <message> <location filename="../transactionview.cpp" line="+52"/> <location line="+16"/> <source>All</source> <translation>Kõik</translation> </message> <message> <location line="-15"/> <source>Today</source> <translation>Täna</translation> </message> <message> <location line="+1"/> <source>This week</source> <translation>Jooksev nädal</translation> </message> <message> <location line="+1"/> <source>This month</source> <translation>Jooksev kuu</translation> </message> <message> <location line="+1"/> <source>Last month</source> <translation>Eelmine kuu</translation> </message> <message> <location line="+1"/> <source>This year</source> <translation>Jooksev aasta</translation> </message> <message> <location line="+1"/> <source>Range...</source> <translation>Ulatus...</translation> </message> <message> <location line="+11"/> <source>Received with</source> <translation>Saadud koos</translation> </message> <message> <location line="+2"/> <source>Sent to</source> <translation>Saadetud</translation> </message> <message> <location line="+2"/> <source>To yourself</source> <translation>Iseendale</translation> </message> <message> <location line="+1"/> <source>Mined</source> <translation>Mine&apos;itud</translation> </message> <message> <location line="+1"/> <source>Other</source> <translation>Muu</translation> </message> <message> <location line="+7"/> <source>Enter address or label to search</source> <translation>Otsimiseks sisesta märgis või aadress</translation> </message> <message> <location line="+7"/> <source>Min amount</source> <translation>Vähim summa</translation> </message> <message> <location line="+34"/> <source>Copy address</source> <translation>Aadressi kopeerimine</translation> </message> <message> <location line="+1"/> <source>Copy label</source> <translation>Märgise kopeerimine</translation> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation>Kopeeri summa</translation> </message> <message> <location line="+1"/> <source>Copy transaction ID</source> <translation>Kopeeri tehingu ID</translation> </message> <message> <location line="+1"/> <source>Edit label</source> <translation>Märgise muutmine</translation> </message> <message> <location line="+1"/> <source>Show transaction details</source> <translation>Kuva tehingu detailid</translation> </message> <message> <location line="+139"/> <source>Export Transaction Data</source> <translation>Tehinguandmete eksport</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Komaeraldatud fail (*.csv)</translation> </message> <message> <location line="+8"/> <source>Confirmed</source> <translation>Kinnitatud</translation> </message> <message> <location line="+1"/> <source>Date</source> <translation>Kuupäev</translation> </message> <message> <location line="+1"/> <source>Type</source> <translation>Tüüp</translation> </message> <message> <location line="+1"/> <source>Label</source> <translation>Silt</translation> </message> <message> <location line="+1"/> <source>Address</source> <translation>Aadress</translation> </message> <message> <location line="+1"/> <source>Amount</source> <translation>Kogus</translation> </message> <message> <location line="+1"/> <source>ID</source> <translation>ID</translation> </message> <message> <location line="+4"/> <source>Error exporting</source> <translation>Viga eksportimisel</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Tõrge faili kirjutamisel %1.</translation> </message> <message> <location line="+100"/> <source>Range:</source> <translation>Ulatus:</translation> </message> <message> <location line="+8"/> <source>to</source> <translation>saaja</translation> </message> </context> <context> <name>WalletModel</name> <message> <location filename="../walletmodel.cpp" line="+193"/> <source>Send Coins</source> <translation type="unfinished"/> </message> </context> <context> <name>WalletView</name> <message> <location filename="../walletview.cpp" line="+42"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+193"/> <source>Backup Wallet</source> <translation>Varundatud Rahakott</translation> </message> <message> <location line="+0"/> <source>Wallet Data (*.dat)</source> <translation>Rahakoti andmed (*.dat)</translation> </message> <message> <location line="+3"/> <source>Backup Failed</source> <translation>Varundamine nurjus</translation> </message> <message> <location line="+0"/> <source>There was an error trying to save the wallet data to the new location.</source> <translation>Rahakoti andmete uude kohta salvestamine nurjus.</translation> </message> <message> <location line="+4"/> <source>Backup Successful</source> <translation>Varundamine õnnestus</translation> </message> <message> <location line="+0"/> <source>The wallet data was successfully saved to the new location.</source> <translation>Rahakoti andmete uude kohta salvestamine õnnestus.</translation> </message> </context> <context> <name>bitcoin-core</name> <message> <location filename="../bitcoinstrings.cpp" line="+94"/> <source>42 version</source> <translation>42i versioon</translation> </message> <message> <location line="+102"/> <source>Usage:</source> <translation>Kasutus:</translation> </message> <message> <location line="-29"/> <source>Send command to -server or 42d</source> <translation>Saada käsklus -serverile või 42dile</translation> </message> <message> <location line="-23"/> <source>List commands</source> <translation>Käskluste loetelu</translation> </message> <message> <location line="-12"/> <source>Get help for a command</source> <translation>Käskluste abiinfo</translation> </message> <message> <location line="+24"/> <source>Options:</source> <translation>Valikud:</translation> </message> <message> <location line="+24"/> <source>Specify configuration file (default: 42.conf)</source> <translation>Täpsusta sätete fail (vaikimisi: 42.conf)</translation> </message> <message> <location line="+3"/> <source>Specify pid file (default: 42d.pid)</source> <translation>Täpsusta PID fail (vaikimisi: 42.pid)</translation> </message> <message> <location line="-1"/> <source>Specify data directory</source> <translation>Täpsusta andmekataloog</translation> </message> <message> <location line="-9"/> <source>Set database cache size in megabytes (default: 25)</source> <translation>Sea andmebaasi vahemälu suurus MB (vaikeväärtus: 25)</translation> </message> <message> <location line="-28"/> <source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source> <translation>Kuula ühendusi pordil &lt;port&gt; (vaikeväärtus: 9333 või testnet: 19333)</translation> </message> <message> <location line="+5"/> <source>Maintain at most &lt;n&gt; connections to peers (default: 125)</source> <translation>Säilita vähemalt &lt;n&gt; ühendust peeridega (vaikeväärtus: 125)</translation> </message> <message> <location line="-48"/> <source>Connect to a node to retrieve peer addresses, and disconnect</source> <translation>Peeri aadressi saamiseks ühendu korraks node&apos;iga</translation> </message> <message> <location line="+82"/> <source>Specify your own public address</source> <translation>Täpsusta enda avalik aadress</translation> </message> <message> <location line="+3"/> <source>Threshold for disconnecting misbehaving peers (default: 100)</source> <translation>Ulakate peeride valulävi (vaikeväärtus: 100)</translation> </message> <message> <location line="-134"/> <source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source> <translation>Mitme sekundi pärast ulakad peerid tagasi võivad tulla (vaikeväärtus: 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>RPC pordi %u kuulamiseks seadistamisel ilmnes viga IPv4&apos;l: %s</translation> </message> <message> <location line="+27"/> <source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source> <translation>Kuula JSON-RPC ühendusel seda porti &lt;port&gt; (vaikeväärtus: 9332 või testnet: 19332)</translation> </message> <message> <location line="+37"/> <source>Accept command line and JSON-RPC commands</source> <translation>Luba käsurea ning JSON-RPC käsklusi</translation> </message> <message> <location line="+76"/> <source>Run in the background as a daemon and accept commands</source> <translation>Tööta taustal ning aktsepteeri käsklusi</translation> </message> <message> <location line="+37"/> <source>Use the test network</source> <translation>Testvõrgu kasutamine</translation> </message> <message> <location line="-112"/> <source>Accept connections from outside (default: 1 if no -proxy or -connect)</source> <translation>Luba välisühendusi (vaikeväärtus: 1 kui puudub -proxy või -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=42rpc 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 &quot;42 Alert&quot; admin@foo.com </source> <translation>%s, sul tuleb rpcpassword määrata seadete failis: %s Soovitatav on kasutada järgmist juhuslikku parooli: rpcuser=42rpc rpcpassword=%s (seda parooli ei pea meeles pidama) Kasutajanimi ning parool EI TOHI kattuda. Kui faili ei leita, loo see <API key> failiõigustes . Soovitatav on seadistada tõrgete puhul teavitus; nt: alertnotify=echo %%s | email -s &quot;42 Alert&quot; 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>RPC pordi %u kuulamiseks seadistamisel ilmnes viga IPv6&apos;l, lülitumine tagasi IPv4&apos;le : %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>Määratud aadressiga sidumine ning sellelt kuulamine. IPv6 jaoks kasuta vormingut [host]:port</translation> </message> <message> <location line="+3"/> <source>Cannot obtain a lock on data directory %s. 42 is probably already running.</source> <translation>Ei suuda määrata ainuõigust andmekaustale %s. Tõenäolisel on 42 juba avatud.</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>Tõrge: Tehingust keelduti! Põhjuseks võib olla juba kulutatud mündid, nt kui wallet.dat fail koopias kulutatid mündid, kuid ei märgitud neid siin vastavalt.</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>Tõrge: Selle tehingu jaoks on nõutav lisatasu vähemalt %s. Põhjuseks võib olla summa suurus, keerukus või hiljuti saadud summade kasutamine!</translation> </message> <message> <location line="+3"/> <source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source> <translation>Käivita käsklus, kui saabub tähtis hoiatus (%s cmd&apos;s asendatakse sõnumiga)</translation> </message> <message> <location line="+3"/> <source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source> <translation>Käivita käsklus, kui rahakoti tehing muutub (%s cmd&apos;s muudetakse TxID&apos;ks)</translation> </message> <message> <location line="+11"/> <source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source> <translation>Sea &quot;kõrge tähtsusega&quot;/&quot;madala tehingu lisatasuga&quot; tehingute maksimumsuurus baitides (vaikeväärtus: 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>See on test-versioon - kasutamine omal riisikol - ära kasuta mining&apos;uks ega kaupmeeste programmides</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>Hoiatus: -paytxfee on seatud väga kõrgeks! See on sinu poolt makstav tehingu lisatasu.</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>Hoiatus: Kuvatavad tehingud ei pruugi olla korrektsed! Sina või node&apos;id peate tegema uuenduse.</translation> </message> <message> <location line="+3"/> <source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong 42 will not work properly.</source> <translation>Hoiatus: Palun kontrolli oma arvuti kuupäeva/kellaaega! Kui arvuti kell on vale, siis 42 ei tööta korralikult</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>Hoiatus: ilmnes tõrge wallet.dat faili lugemisel! Võtmed on terved, kuid tehingu andmed või aadressiraamatu kirjed võivad olla kadunud või vigased.</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>Hoiatus: toimus wallet.dat faili andmete päästmine! Originaal wallet.dat nimetati kaustas %s ümber wallet.{ajatempel}.bak&apos;iks, jäägi või tehingute ebakõlade puhul tuleks teha backup&apos;ist taastamine.</translation> </message> <message> <location line="+14"/> <source>Attempt to recover private keys from a corrupt wallet.dat</source> <translation>Püüa vigasest wallet.dat failist taastada turvavõtmed</translation> </message> <message> <location line="+2"/> <source>Block creation options:</source> <translation>Blokeeri loomise valikud:</translation> </message> <message> <location line="+5"/> <source>Connect only to the specified node(s)</source> <translation>Ühendu ainult määratud node&apos;i(de)ga</translation> </message> <message> <location line="+3"/> <source>Corrupted block database detected</source> <translation>Tuvastati vigane bloki andmebaas</translation> </message> <message> <location line="+1"/> <source>Discover own IP address (default: 1 when listening and no -externalip)</source> <translation>Leia oma IP aadress (vaikeväärtus: 1, kui kuulatakse ning puudub -externalip)</translation> </message> <message> <location line="+1"/> <source>Do you want to rebuild the block database now?</source> <translation>Kas soovid bloki andmebaasi taastada?</translation> </message> <message> <location line="+2"/> <source>Error initializing block database</source> <translation>Tõrge bloki andmebaasi käivitamisel</translation> </message> <message> <location line="+1"/> <source>Error initializing wallet database environment %s!</source> <translation>Tõrge rahakoti keskkonna %s käivitamisel!</translation> </message> <message> <location line="+1"/> <source>Error loading block database</source> <translation>Tõrge bloki baasi lugemisel</translation> </message> <message> <location line="+4"/> <source>Error opening block database</source> <translation>Tõrge bloki andmebaasi avamisel</translation> </message> <message> <location line="+2"/> <source>Error: Disk space is low!</source> <translation>Tõrge: liiga vähe kettaruumi!</translation> </message> <message> <location line="+1"/> <source>Error: Wallet locked, unable to create transaction!</source> <translation>Tõrge: Rahakott on lukus, tehingu loomine ei ole võimalik!</translation> </message> <message> <location line="+1"/> <source>Error: system error: </source> <translation>Tõrge: süsteemi tõrge:</translation> </message> <message> <location line="+1"/> <source>Failed to listen on any port. Use -listen=0 if you want this.</source> <translation>Pordi kuulamine nurjus. Soovikorral kasuta -listen=0.</translation> </message> <message> <location line="+1"/> <source>Failed to read block info</source> <translation>Tõrge bloki sisu lugemisel</translation> </message> <message> <location line="+1"/> <source>Failed to read block</source> <translation>Bloki lugemine ebaõnnestus</translation> </message> <message> <location line="+1"/> <source>Failed to sync block index</source> <translation>Bloki indeksi sünkimine ebaõnnestus</translation> </message> <message> <location line="+1"/> <source>Failed to write block index</source> <translation>Bloki indeksi kirjutamine ebaõnnestus</translation> </message> <message> <location line="+1"/> <source>Failed to write block info</source> <translation>Bloki sisu kirjutamine ebaõnnestus</translation> </message> <message> <location line="+1"/> <source>Failed to write block</source> <translation>Tõrge bloki sisu kirjutamisel</translation> </message> <message> <location line="+1"/> <source>Failed to write file info</source> <translation>Tõrge faili info kirjutamisel</translation> </message> <message> <location line="+1"/> <source>Failed to write to coin database</source> <translation>Tõrge mündi andmebaasi kirjutamisel</translation> </message> <message> <location line="+1"/> <source>Failed to write transaction index</source> <translation>Tehingu indeksi kirjutamine ebaõnnestus</translation> </message> <message> <location line="+1"/> <source>Failed to write undo data</source> <translation>Tagasivõtmise andmete kirjutamine ebaõnnestus</translation> </message> <message> <location line="+2"/> <source>Find peers using DNS lookup (default: 1 unless -connect)</source> <translation>Otsi DNS&apos;i lookup&apos;i kastavaid peere (vaikeväärtus: 1, kui mitte -connect)</translation> </message> <message> <location line="+1"/> <source>Generate coins (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>How many blocks to check at startup (default: 288, 0 = all)</source> <translation>Käivitamisel kontrollitavate blokkide arv (vaikeväärtus: 288, 0=kõik)</translation> </message> <message> <location line="+1"/> <source>How thorough the block verification is (0-4, default: 3)</source> <translation>Blokkide kontrollimise põhjalikkus (0-4, vaikeväärtus: 3)</translation> </message> <message> <location line="+19"/> <source>Not enough file descriptors available.</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Rebuild block chain index from current blk000??.dat files</source> <translation>Taasta bloki jada indeks blk000??.dat failist</translation> </message> <message> <location line="+16"/> <source>Set the number of threads to service RPC calls (default: 4)</source> <translation>Määra RPC kõnede haldurite arv (vaikeväärtus: 4)</translation> </message> <message> <location line="+26"/> <source>Verifying blocks...</source> <translation>Kontrollin blokke...</translation> </message> <message> <location line="+1"/> <source>Verifying wallet...</source> <translation>Kontrollin rahakotti...</translation> </message> <message> <location line="-69"/> <source>Imports blocks from external blk000??.dat file</source> <translation>Impordi blokid välisest blk000??.dat failist</translation> </message> <message> <location line="-76"/> <source>Set the number of script verification threads (up to 16, 0 = auto, &lt;0 = leave that many cores free, default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+77"/> <source>Information</source> <translation>Informatsioon</translation> </message> <message> <location line="+3"/> <source>Invalid -tor address: &apos;%s&apos;</source> <translation>Vigane -tor aadress: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount for -minrelaytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount for -mintxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Maintain a full transaction index (default: 0)</source> <translation>Säilita kogu tehingu indeks (vaikeväärtus: 0)</translation> </message> <message> <location line="+2"/> <source>Maximum per-connection receive buffer, &lt;n&gt;*1000 bytes (default: 5000)</source> <translation>Maksimaalne saamise puhver -connection kohta , &lt;n&gt;*1000 baiti (vaikeväärtus: 5000)</translation> </message> <message> <location line="+1"/> <source>Maximum per-connection send buffer, &lt;n&gt;*1000 bytes (default: 1000)</source> <translation>Maksimaalne saatmise puhver -connection kohta , &lt;n&gt;*1000 baiti (vaikeväärtus: 1000)</translation> </message> <message> <location line="+2"/> <source>Only accept block chain matching built-in checkpoints (default: 1)</source> <translation>Tunnusta ainult sisseehitatud turvapunktidele vastavaid bloki jadu (vaikeväärtus: 1)</translation> </message> <message> <location line="+1"/> <source>Only connect to nodes in network &lt;net&gt; (IPv4, IPv6 or Tor)</source> <translation>Ühenda ainult node&apos;idega &lt;net&gt; võrgus (IPv4, IPv6 või Tor)</translation> </message> <message> <location line="+2"/> <source>Output extra debugging information. Implies all other -debug* options</source> <translation>Väljund lisa debug&apos;imise infoks. Tuleneb kõikidest teistest -debug* valikutest</translation> </message> <message> <location line="+1"/> <source>Output extra network debugging information</source> <translation>Lisa võrgu debug&apos;imise info väljund</translation> </message> <message> <location line="+2"/> <source>Prepend debug output with timestamp</source> <translation>Varusta debugi väljund ajatempliga</translation> </message> <message> <location line="+5"/> <source>SSL options: (see the 42 Wiki for SSL setup instructions)</source> <translation>SSL valikud: (vaata 42i Wikist või SSL sätete juhendist)</translation> </message> <message> <location line="+1"/> <source>Select the version of socks proxy to use (4-5, default: 5)</source> <translation>Vali turva proxi SOCKS versioon (4-5, vaikeväärtus: 5)</translation> </message> <message> <location line="+3"/> <source>Send trace/debug info to console instead of debug.log file</source> <translation>Saada jälitus/debug, debug.log faili asemel, konsooli</translation> </message> <message> <location line="+1"/> <source>Send trace/debug info to debugger</source> <translation>Saada jälitus/debug info debuggerile</translation> </message> <message> <location line="+5"/> <source>Set maximum block size in bytes (default: 250000)</source> <translation>Sea maksimaalne bloki suurus baitides (vaikeväärtus: 250000)</translation> </message> <message> <location line="+1"/> <source>Set minimum block size in bytes (default: 0)</source> <translation>Sea minimaalne bloki suurus baitides (vaikeväärtus: 0)</translation> </message> <message> <location line="+2"/> <source>Shrink debug.log file on client startup (default: 1 when no -debug)</source> <translation>Kahanda programmi käivitamisel debug.log faili (vaikeväärtus: 1, kui ei ole -debug)</translation> </message> <message> <location line="+1"/> <source>Signing transaction failed</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Specify connection timeout in milliseconds (default: 5000)</source> <translation>Sea ühenduse timeout millisekundites (vaikeväärtus: 5000)</translation> </message> <message> <location line="+4"/> <source>System error: </source> <translation>Süsteemi tõrge:</translation> </message> <message> <location line="+4"/> <source>Transaction amount too small</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction amounts must be positive</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction too large</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Use UPnP to map the listening port (default: 0)</source> <translation>Kasuta kuulatava pordi määramiseks UPnP ühendust (vaikeväärtus: 0)</translation> </message> <message> <location line="+1"/> <source>Use UPnP to map the listening port (default: 1 when listening)</source> <translation>Kasuta kuulatava pordi määramiseks UPnP ühendust (vaikeväärtus: 1, kui kuulatakse)</translation> </message> <message> <location line="+1"/> <source>Use proxy to reach tor hidden services (default: same as -proxy)</source> <translation>Kasuta varjatud teenustele ligipääsuks proxy&apos;t (vaikeväärtus: sama, mis -proxy)</translation> </message> <message> <location line="+2"/> <source>Username for JSON-RPC connections</source> <translation>JSON-RPC ühenduste kasutajatunnus</translation> </message> <message> <location line="+4"/> <source>Warning</source> <translation>Hoiatus</translation> </message> <message> <location line="+1"/> <source>Warning: This version is obsolete, upgrade required!</source> <translation>Hoiatus: versioon on aegunud, uuendus on nõutav!</translation> </message> <message> <location line="+1"/> <source>You need to rebuild the databases using -reindex to change -txindex</source> <translation>Andmebaas tuleb taastada kasutades -reindex, et muuta -txindex</translation> </message> <message> <location line="+1"/> <source>wallet.dat corrupt, salvage failed</source> <translation>wallet.dat fail on katki, päästmine ebaõnnestus</translation> </message> <message> <location line="-50"/> <source>Password for JSON-RPC connections</source> <translation>JSON-RPC ühenduste salasõna</translation> </message> <message> <location line="-67"/> <source>Allow JSON-RPC connections from specified IP address</source> <translation>JSON-RPC ühenduste lubamine kindla IP pealt</translation> </message> <message> <location line="+76"/> <source>Send commands to node running on &lt;ip&gt; (default: 127.0.0.1)</source> <translation>Saada käsklusi node&apos;ile IP&apos;ga &lt;ip&gt; (vaikeväärtus: 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>Käivita käsklus, kui parim plokk muutub (käskluse %s asendatakse ploki hash&apos;iga)</translation> </message> <message> <location line="+147"/> <source>Upgrade wallet to latest format</source> <translation>Uuenda rahakott uusimasse vormingusse</translation> </message> <message> <location line="-21"/> <source>Set key pool size to &lt;n&gt; (default: 100)</source> <translation>Sea võtmete hulgaks &lt;n&gt; (vaikeväärtus: 100)</translation> </message> <message> <location line="-12"/> <source>Rescan the block chain for missing wallet transactions</source> <translation>Otsi ploki jadast rahakoti kadunud tehinguid</translation> </message> <message> <location line="+35"/> <source>Use OpenSSL (https) for JSON-RPC connections</source> <translation>Kasuta JSON-RPC ühenduste jaoks OpenSSL&apos;i (https)</translation> </message> <message> <location line="-26"/> <source>Server certificate file (default: server.cert)</source> <translation>Serveri sertifikaadifail (vaikeväärtus: server.cert)</translation> </message> <message> <location line="+1"/> <source>Server private key (default: server.pem)</source> <translation>Serveri privaatvõti (vaikeväärtus: server.pem)</translation> </message> <message> <location line="-151"/> <source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source> <translation>Lubatud šiffrid (vaikeväärtus: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation> </message> <message> <location line="+165"/> <source>This help message</source> <translation>Käesolev abitekst</translation> </message> <message> <location line="+6"/> <source>Unable to bind to %s on this computer (bind returned error %d, %s)</source> <translation>Selle arvutiga ei ole võimalik siduda %s külge (katse nurjus %d, %s tõttu)</translation> </message> <message> <location line="-91"/> <source>Connect through socks proxy</source> <translation>Ühendu läbi turva proxi</translation> </message> <message> <location line="-10"/> <source>Allow DNS lookups for -addnode, -seednode and -connect</source> <translation>-addnode, -seednode ja -connect tohivad kasutada DNS lookup&apos;i</translation> </message> <message> <location line="+55"/> <source>Loading addresses...</source> <translation>Aadresside laadimine...</translation> </message> <message> <location line="-35"/> <source>Error loading wallet.dat: Wallet corrupted</source> <translation>Viga wallet.dat käivitamisel. Vigane rahakkott</translation> </message> <message> <location line="+1"/> <source>Error loading wallet.dat: Wallet requires newer version of 42</source> <translation>Viga wallet.dat käivitamisel: Rahakott nõuab 42i uusimat versiooni</translation> </message> <message> <location line="+93"/> <source>Wallet needed to be rewritten: restart 42 to complete</source> <translation>Rahakott tuli ümberkirjutada: toimingu lõpetamiseks taaskäivita 42</translation> </message> <message> <location line="-95"/> <source>Error loading wallet.dat</source> <translation>Viga wallet.dat käivitamisel</translation> </message> <message> <location line="+28"/> <source>Invalid -proxy address: &apos;%s&apos;</source> <translation>Vigane -proxi aadress: &apos;%s&apos;</translation> </message> <message> <location line="+56"/> <source>Unknown network specified in -onlynet: &apos;%s&apos;</source> <translation>Kirjeldatud tundmatu võrgustik -onlynet&apos;is: &apos;%s&apos;</translation> </message> <message> <location line="-1"/> <source>Unknown -socks proxy version requested: %i</source> <translation>Küsitud tundmatu -socks proxi versioon: %i</translation> </message> <message> <location line="-96"/> <source>Cannot resolve -bind address: &apos;%s&apos;</source> <translation>Tundmatu -bind aadress: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Cannot resolve -externalip address: &apos;%s&apos;</source> <translation>Tundmatu -externalip aadress: &apos;%s&apos;</translation> </message> <message> <location line="+44"/> <source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>-paytxfee=&lt;amount&gt; jaoks vigane kogus: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount</source> <translation>Kehtetu summa</translation> </message> <message> <location line="-6"/> <source>Insufficient funds</source> <translation>Liiga suur summa</translation> </message> <message> <location line="+10"/> <source>Loading block index...</source> <translation>Klotside indeksi laadimine...</translation> </message> <message> <location line="-57"/> <source>Add a node to connect to and attempt to keep the connection open</source> <translation>Lisa node ning hoia ühendus avatud</translation> </message> <message> <location line="-25"/> <source>Unable to bind to %s on this computer. 42 is probably already running.</source> <translation>%s&apos;ga ei ole võimalik sellest arvutist siduda. 42 juba töötab.</translation> </message> <message> <location line="+64"/> <source>Fee per KB to add to transactions you send</source> <translation>Minu saadetavate tehingute lisatasu KB kohta</translation> </message> <message> <location line="+19"/> <source>Loading wallet...</source> <translation>Rahakoti laadimine...</translation> </message> <message> <location line="-52"/> <source>Cannot downgrade wallet</source> <translation>Rahakoti vanandamine ebaõnnestus</translation> </message> <message> <location line="+3"/> <source>Cannot write default address</source> <translation>Tõrge vaikimisi aadressi kirjutamisel</translation> </message> <message> <location line="+64"/> <source>Rescanning...</source> <translation>Üleskaneerimine...</translation> </message> <message> <location line="-57"/> <source>Done loading</source> <translation>Laetud</translation> </message> <message> <location line="+82"/> <source>To use the %s option</source> <translation>%s valiku kasutamine</translation> </message> <message> <location line="-74"/> <source>Error</source> <translation>Tõrge</translation> </message> <message> <location line="-31"/> <source>You must set rpcpassword=&lt;password&gt; in the configuration file: %s If the file does not exist, create it with owner-readable-only file permissions.</source> <translation>rpcpassword=&lt;password&gt; peab sätete failis olema seadistatud:⏎ %s⏎ Kui seda faili ei ole, loo see <API key> faili õigustes.</translation> </message> </context> </TS>
<!DOCTYPE html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="keywords" content=" "> <title><API key> | LivePerson Technical Documentation</title> <link rel="stylesheet" href="css/syntax.css"> <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css"> <!--<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">--> <link rel="stylesheet" href="css/modern-business.css"> <link rel="stylesheet" href="css/lavish-bootstrap.css"> <link rel="stylesheet" href="css/customstyles.css"> <link rel="stylesheet" href="css/theme-blue.css"> <!-- <script src="assets/js/jsoneditor.js"></script> --> <script src="assets/js/jquery-3.1.0.min.js"></script> <!-- <link rel='stylesheet' id='theme_stylesheet' href='//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css'> --> <!-- <link rel='stylesheet' id='theme_stylesheet' href='//netdna.bootstrapcdn.com/<TwitterConsumerkey>/2.3.2/css/bootstrap-combined.min.css'> <script src="assets/js/jquery.cookie-1.4.1.min.js"></script> <script src="js/jquery.navgoco.min.js"></script> <script src="assets/js/bootstrap-3.3.4.min.js"></script> <script src="assets/js/anchor-2.0.0.min.js"></script> <script src="js/toc.js"></script> <script src="js/customscripts.js"></script> <link rel="shortcut icon" href="images/favicon.ico"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file: <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif] <link rel="alternate" type="application/rss+xml" title="" href="http://0.0.0.0:4005feed.xml"> <script> $(document).ready(function() { // Initialize navgoco with default options $("#mysidebar").navgoco({ caretHtml: '', accordion: true, openClass: 'active', // open save: false, // leave false or nav highlighting doesn't work right cookie: { name: 'navgoco', expires: false, path: '/' }, slide: { duration: 400, easing: 'swing' } }); $("#collapseAll").click(function(e) { e.preventDefault(); $("#mysidebar").navgoco('toggle', false); }); $("#expandAll").click(function(e) { e.preventDefault(); $("#mysidebar").navgoco('toggle', true); }); }); </script> <script> $(function () { $('[data-toggle="tooltip"]').tooltip() }) </script> </head> <body> <!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container topnavlinks"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#<API key>"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="fa fa-home fa-lg navbar-brand" href="index.html">&nbsp;<span class="projectTitle"> LivePerson Technical Documentation</span></a> </div> <div class="collapse navbar-collapse" id="<API key>"> <ul class="nav navbar-nav navbar-right"> <!-- entries without drop-downs appear here --> <!-- entries with drop-downs appear here --> <!-- conditional logic to control which topnav appears for the audience defined in the configuration file.--> <li><a class="email" title="Submit feedback" href="https://github.com/LivePersonInc/dev-hub/issues" ><i class="fa fa-github"></i> Issues</a><li> <!--comment out this block if you want to hide search <li> <!--start search <div id="<API key>"> <input type="text" id="search-input" placeholder="search..."> <ul id="results-container"></ul> </div> <script src="js/jekyll-search.js" type="text/javascript"></script> <script type="text/javascript"> SimpleJekyllSearch.init({ searchInput: document.getElementById('search-input'), resultsContainer: document.getElementById('results-container'), dataSource: 'search.json', <API key>: '<li><a href="{url}" title="<API key>">{title}</a></li>', noResultsText: 'No results found.', limit: 10, fuzzy: true, }) </script> <!--end search </li> </ul> </div> </div> <!-- /.container --> </nav> <!-- Page Content --> <div class="container"> <div class="col-lg-12">&nbsp;</div> <!-- Content Row --> <div class="row"> <!-- Sidebar Column --> <div class="col-md-3"> <ul id="mysidebar" class="nav"> <li class="sidebarTitle"> </li> <li> <a href="#">Common Guidelines</a> <ul> <li class="subfolders"> <a href="#">Introduction</a> <ul> <li class="thirdlevel"><a href="index.html">Home</a></li> <li class="thirdlevel"><a href="getting-started.html">Getting Started with LiveEngage APIs</a></li> </ul> </li> <li class="subfolders"> <a href="#">Guides</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Customized Chat Windows</a></li> </ul> </li> </ul> <li> <a href="#">Account Configuration</a> <ul> <li class="subfolders"> <a href="#">Predefined Content API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Predefined Content Items</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Predefined Content by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Predefined Content Query Delta</a></li> <li class="thirdlevel"><a href="<API key>.html">Create Predefined Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Update Predefined Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Update Predefined Content Items</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete Predefined Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete Predefined Content Items</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Default Predefined Content Items</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Default Predefined Content by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Automatic Messages API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Automatic Messages</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Automatic Message by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Update an Automatic Message</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> </ul> <li> <a href="#">Administration</a> <ul> <li class="subfolders"> <a href="#">Users API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Get all users</a></li> <li class="thirdlevel"><a href="<API key>.html">Get user by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Create users</a></li> <li class="thirdlevel"><a href="<API key>.html">Update users</a></li> <li class="thirdlevel"><a href="<API key>.html">Update user</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete users</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete user</a></li> <li class="thirdlevel"><a href="<API key>.html">Change user's password</a></li> <li class="thirdlevel"><a href="<API key>.html">Reset user's password</a></li> <li class="thirdlevel"><a href="<API key>.html">User query delta</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Skills API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Get all skills</a></li> <li class="thirdlevel"><a href="<API key>.html">Get skill by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Create skills</a></li> <li class="thirdlevel"><a href="administration.update-skills.html">Update skills</a></li> <li class="thirdlevel"><a href="<API key>.html">Update skill</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete skills</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete skill</a></li> <li class="thirdlevel"><a href="<API key>.html">Skills Query Delta</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Agent Groups API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Get all agent groups</a></li> <li class="thirdlevel"><a href="<API key>.html">Get agent group by ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Create agent groups</a></li> <li class="thirdlevel"><a href="<API key>.html">Update agent groups</a></li> <li class="thirdlevel"><a href="<API key>.html">Update agent group</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete agent groups</a></li> <li class="thirdlevel"><a href="<API key>.html">Delete agent group</a></li> <li class="thirdlevel"><a href="<API key>.html">Get subgroups and members of an agent group</a></li> <li class="thirdlevel"><a href="<API key>.html">Agent Groups Query Delta</a></li> </ul> </li> </ul> <li> <a href="#">Consumer Experience</a> <ul> <li class="subfolders"> <a href="#">JavaScript Chat SDK</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="<API key>.html">Chat States</a></li> <li class="thirdlevel"><a href="<API key>.html">Surveys</a></li> <li class="thirdlevel"><a href="<API key>.html">Creating an Instance</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">getPreChatSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">getEngagement</a></li> <li class="thirdlevel"><a href="<API key>.html">requestChat</a></li> <li class="thirdlevel"><a href="<API key>.html">addLine</a></li> <li class="thirdlevel"><a href="<API key>.html">setVisitorTyping</a></li> <li class="thirdlevel"><a href="<API key>.html">setVisitorName</a></li> <li class="thirdlevel"><a href="<API key>.html">endChat</a></li> <li class="thirdlevel"><a href="<API key>.html">requestTranscript</a></li> <li class="thirdlevel"><a href="<API key>.html">getExitSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">submitExitSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">getOfflineSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">submitOfflineSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">getState</a></li> <li class="thirdlevel"><a href="<API key>.html">getAgentLoginName</a></li> <li class="thirdlevel"><a href="<API key>.html">getVisitorName</a></li> <li class="thirdlevel"><a href="<API key>.html">getAgentId</a></li> <li class="thirdlevel"><a href="<API key>.html">getRtSessionId</a></li> <li class="thirdlevel"><a href="<API key>.html">getSessionKey</a></li> <li class="thirdlevel"><a href="<API key>.html">getAgentTyping</a></li> <li class="thirdlevel"><a href="<API key>.html">Events</a></li> <li class="thirdlevel"><a href="<API key>.html">onLoad</a></li> <li class="thirdlevel"><a href="<API key>.html">onInit</a></li> <li class="thirdlevel"><a href="<API key>.html">onEstimatedWaitTime</a></li> <li class="thirdlevel"><a href="<API key>.html">onEngagement</a></li> <li class="thirdlevel"><a href="<API key>.html">onPreChatSurvey</a></li> <li class="thirdlevel"><a href="<API key>.html">onStart</a></li> <li class="thirdlevel"><a href="<API key>.html">onStop</a></li> <li class="thirdlevel"><a href="<API key>.html">onRequestChat</a></li> <li class="thirdlevel"><a href="<API key>.html">onTranscript</a></li> <li class="thirdlevel"><a href="<API key>.html">onLine</a></li> <li class="thirdlevel"><a href="<API key>.html">onState</a></li> <li class="thirdlevel"><a href="<API key>.html">onInfo</a></li> <li class="thirdlevel"><a href="<API key>.html">onAgentTyping</a></li> <li class="thirdlevel"><a href="<API key>.html">onExitSurvey</a></li> <li class="active thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">Engagement Attributes Body Example</a></li> <li class="thirdlevel"><a href="<API key>.html">Demo App</a></li> </ul> </li> <li class="subfolders"> <a href="#">Server Chat API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Availability</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Available Slots</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Estimated Wait Time</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve an Offline Survey</a></li> <li class="thirdlevel"><a href="<API key>.html">Start a Chat</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Resources, Events and Information</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Events</a></li> <li class="thirdlevel"><a href="<API key>.html">Add Lines / End Chat</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Information</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve the Visitor's Name</a></li> <li class="thirdlevel"><a href="<API key>.html">Set the Visitor's Name</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve the Agent's Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve the Visitor's Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Set the Visitor's Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Exit Survey Structure</a></li> <li class="thirdlevel"><a href="<API key>.html">Submit Survey Data</a></li> <li class="thirdlevel"><a href="<API key>.html">Send a Transcript</a></li> <li class="thirdlevel"><a href="<API key>.html">Sample Postman Collection</a></li> </ul> </li> <li class="subfolders"> <a href="#">Push Service API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>">TLS Authentication</a></li> <li class="thirdlevel"><a href="<API key>">HTTP Response Codes</a></li> <li class="thirdlevel"><a href="<API key>">Configuration of Push Proxy</a></li> </ul> </li> <li class="subfolders"> <a href="#">In-App Messaging SDK iOS (2.0)</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Quick Start</a></li> <li class="thirdlevel"><a href="<API key>.html">Advanced Configurations</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">initialize</a></li> <li class="thirdlevel"><a href="<API key>.html">showConversation</a></li> <li class="thirdlevel"><a href="<API key>.html">removeConversation</a></li> <li class="thirdlevel"><a href="<API key>.html">reconnect</a></li> <li class="thirdlevel"><a href="<API key>.html">toggleChatActions</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">markAsUrgent</a></li> <li class="thirdlevel"><a href="<API key>.html">isUrgent</a></li> <li class="thirdlevel"><a href="<API key>.html">dismissUrgent</a></li> <li class="thirdlevel"><a href="<API key>.html">resolveConversation</a></li> <li class="thirdlevel"><a href="<API key>.html">clearHistory</a></li> <li class="thirdlevel"><a href="<API key>.html">logout</a></li> <li class="thirdlevel"><a href="<API key>.html">destruct</a></li> <li class="thirdlevel"><a href="<API key>.html">handlePush</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">setUserProfile</a></li> <li class="thirdlevel"><a href="<API key>.html">getAssignedAgent</a></li> <li class="thirdlevel"><a href="<API key>.html">subscribeLogEvents</a></li> <li class="thirdlevel"><a href="<API key>.html">getSDKVersion</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">Interface and Class Definitions</a></li> <li class="thirdlevel"><a href="<API key>.html">Callbacks index</a></li> <li class="thirdlevel"><a href="<API key>.html">Configuring the SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Attributes</a></li> <li class="thirdlevel"><a href="<API key>.html">Deprecated Attributes</a></li> <li class="thirdlevel"><a href="<API key>.html">String localization in SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Localization Keys</a></li> <li class="thirdlevel"><a href="<API key>.html">Timestamps Formatting</a></li> <li class="thirdlevel"><a href="<API key>.html">OS Certificate Creation</a></li> <li class="thirdlevel"><a href="<API key>.html">CSAT UI Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Photo Sharing (Beta)</a></li> <li class="thirdlevel"><a href="<API key>.html">Configuring Push Notifications</a></li> <li class="thirdlevel"><a href="<API key>.html">Open Source List</a></li> <li class="thirdlevel"><a href="<API key>.html">Security</a></li> </ul> </li> <li class="subfolders"> <a href="#">In-App Messaging SDK Android (2.0)</a> <ul> <li class="thirdlevel"><a href="android-overview.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Prerequisites</a></li> <li class="thirdlevel"><a href="<API key>.html">Step 1: Download and Unzip the SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Step 2: Configure project settings to connect LiveEngage SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Step 3: Code integration for basic deployment</a></li> <li class="thirdlevel"><a href="<API key>.html">SDK Initialization and Lifecycle</a></li> <li class="thirdlevel"><a href="<API key>.html">Authentication</a></li> <li class="thirdlevel"><a href="<API key>.html">Conversations Lifecycle</a></li> <li class="thirdlevel"><a href="<API key>.html">LivePerson Callbacks Interface</a></li> <li class="thirdlevel"><a href="<API key>.html">Notifications</a></li> <li class="thirdlevel"><a href="android-user-data.html">User Data</a></li> <li class="thirdlevel"><a href="android-logs.html">Logs and Info</a></li> <li class="thirdlevel"><a href="android-methods.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">initialize (Deprecated)</a></li> <li class="thirdlevel"><a href="<API key>.html">initialize (with SDK properties object)</a></li> <li class="thirdlevel"><a href="<API key>.html">showConversation</a></li> <li class="thirdlevel"><a href="<API key>.html">showConversation (with authentication support)</a></li> <li class="thirdlevel"><a href="<API key>.html">hideConversation</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html"><API key> with authentication support</a></li> <li class="thirdlevel"><a href="android-reconnect.html">reconnect</a></li> <li class="thirdlevel"><a href="<API key>.html">setUserProfile</a></li> <li class="thirdlevel"><a href="<API key>.html">setUserProfile (Deprecated)</a></li> <li class="thirdlevel"><a href="<API key>.html">registerLPPusher</a></li> <li class="thirdlevel"><a href="<API key>.html">unregisterLPPusher</a></li> <li class="thirdlevel"><a href="android-handlepush.html">handlePush</a></li> <li class="thirdlevel"><a href="<API key>.html">getSDKVersion</a></li> <li class="thirdlevel"><a href="android-setcallback.html">setCallback</a></li> <li class="thirdlevel"><a href="<API key>.html">removeCallBack</a></li> <li class="thirdlevel"><a href="<API key>.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">checkAgentID</a></li> <li class="thirdlevel"><a href="android-markurgent.html"><API key></a></li> <li class="thirdlevel"><a href="android-marknormal.html"><API key></a></li> <li class="thirdlevel"><a href="android-checkurgent.html"><API key></a></li> <li class="thirdlevel"><a href="<API key>.html">resolveConversation</a></li> <li class="thirdlevel"><a href="android-shutdown.html">shutDown</a></li> <li class="thirdlevel"><a href="<API key>.html">shutDown (Deprecated)</a></li> <li class="thirdlevel"><a href="<API key>.html">clearHistory</a></li> <li class="thirdlevel"><a href="android-logout.html">logOut</a></li> <li class="thirdlevel"><a href="<API key>.html">Callbacks Index</a></li> <li class="thirdlevel"><a href="<API key>.html">Configuring the SDK</a></li> <li class="thirdlevel"><a href="android-attributes.html">Attributes</a></li> <li class="thirdlevel"><a href="<API key>.html">Configuring the message’s EditText</a></li> <li class="thirdlevel"><a href="android-proguard.html">Proguard Configuration</a></li> <li class="thirdlevel"><a href="<API key>.html">Modifying Strings</a></li> <li class="thirdlevel"><a href="<API key>.html">Modifying Resources</a></li> <li class="thirdlevel"><a href="<API key>.html">Plural String Resource Example</a></li> <li class="thirdlevel"><a href="android-timestamps.html">Timestamps Formatting</a></li> <li class="thirdlevel"><a href="android-off-hours.html">Date and Time</a></li> <li class="thirdlevel"><a href="android-bubble.html">Bubble Timestamp</a></li> <li class="thirdlevel"><a href="android-separator.html">Separator Timestamp</a></li> <li class="thirdlevel"><a href="android-resolve.html">Resolve Message</a></li> <li class="thirdlevel"><a href="android-csat.html">CSAT Behavior</a></li> <li class="thirdlevel"><a href="<API key>.html">Photo Sharing - Beta</a></li> <li class="thirdlevel"><a href="<API key>.html">Enable Push Notifications</a></li> <li class="thirdlevel"><a href="android-appendix.html">Appendix</a></li> </ul> </li> </ul> <li> <a href="#">Real-time Interactions</a> <ul> <li class="subfolders"> <a href="#">Visit Information API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Visit Information</a></li> </ul> </li> <li class="subfolders"> <a href="#">App Engagement API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Create Session</a></li> <li class="thirdlevel"><a href="<API key>.html">Update Session</a></li> </ul> </li> <li class="subfolders"> <a href="#">Engagement Attributes</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Engagement Attributes</a></li> </ul> </li> <li class="subfolders"> <a href="#">IVR Engagement API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key> engagement.html">External Engagement</a></li> </ul> </li> <li class="subfolders"> <a href="#">Validate Engagement</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Validate Engagement API</a></li> </ul> </li> <li class="subfolders"> <a href="#">Engagement Trigger API</a> <ul> <li class="thirdlevel"><a href="trigger-overview.html">Overview</a></li> <li class="thirdlevel"><a href="trigger-methods.html">Methods</a></li> <li class="thirdlevel"><a href="trigger-click.html">Click</a></li> <li class="thirdlevel"><a href="trigger-getinfo.html">getEngagementInfo</a></li> <li class="thirdlevel"><a href="trigger-getstate.html">getEngagementState</a></li> </ul> </li> <li class="subfolders"> <a href="#">Engagement Window Widget SDK</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="<API key>.html">Limitations</a></li> <li class="thirdlevel"><a href="<API key>.html">Configuration</a></li> <li class="thirdlevel"><a href="<API key>.html">How to use the SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Code Examples</a></li> <li class="thirdlevel"><a href="<API key>.html">Event Structure</a></li> </ul> </li> </ul> <li> <a href="#">Agent</a> <ul> <li class="subfolders"> <a href="#">Agent Workspace Widget SDK</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="<API key>.html">Limitations</a></li> <li class="thirdlevel"><a href="<API key>.html">How to use the SDK</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Public Model Structure</a></li> <li class="thirdlevel"><a href="<API key>.html">Public Properties</a></li> <li class="thirdlevel"><a href="<API key>.html">Code Examples</a></li> </ul> </li> <li class="subfolders"> <a href="#">LivePerson Domain API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Domain API</a></li> </ul> </li> <li class="subfolders"> <a href="#">Login Service API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="agent-login-methods.html">Methods</a></li> <li class="thirdlevel"><a href="agent-login.html">Login</a></li> <li class="thirdlevel"><a href="agent-refresh.html">Refresh</a></li> <li class="thirdlevel"><a href="agent-refresh.html">Logout</a></li> </ul> </li> <li class="subfolders"> <a href="#">Chat Agent API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Start Agent Session</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Current Availability</a></li> <li class="thirdlevel"><a href="<API key>.html">Set Agent Availability</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Available Agents</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Available Slots</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Agent Information</a></li> <li class="thirdlevel"><a href="<API key>.html">Determine Incoming Chat Requests</a></li> <li class="thirdlevel"><a href="agent-accept-chat.html">Accept a Chat</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Sessions</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Resources, Events and Information</a></li> <li class="thirdlevel"><a href="agent-retrieve-data.html">Retrieve Data for Multiple Chats</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Events</a></li> <li class="thirdlevel"><a href="agent-add-lines.html">Add Lines</a></li> <li class="thirdlevel"><a href="agent-end-chat.html">End Chat</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Chat Information</a></li> <li class="thirdlevel"><a href="">Retrieve Visitor’s Name</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Agent's Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Set Agent’s Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Visitor's Typing Status</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Available Skills</a></li> <li class="thirdlevel"><a href="agent-transfer-chat.html">Transfer a Chat</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Agent Survey Structure</a></li> </ul> </li> <li class="subfolders"> <a href="#">Messaging Agent SDK</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> </ul> </li> </ul> <li> <a href="#">Data</a> <ul> <li class="subfolders"> <a href="#">Data Access API (Beta)</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Architecture</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Base Resource</a></li> <li class="thirdlevel"><a href="<API key>.html">Agent Activity</a></li> <li class="thirdlevel"><a href="<API key>.html">Web Session</a></li> <li class="thirdlevel"><a href="<API key>.html">Engagement</a></li> <li class="thirdlevel"><a href="<API key>.html">Survey</a></li> <li class="thirdlevel"><a href="<API key>.html">Schema</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Messaging Operations API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Messaging Conversation</a></li> <li class="thirdlevel"><a href="<API key>.html">Messaging CSAT Distribution</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Messaging Interactions API (Beta)</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Conversations</a></li> <li class="thirdlevel"><a href="<API key>.html">Get conversation by conversation ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Get Conversations by Consumer ID</a></li> <li class="thirdlevel"><a href="<API key>.html">Sample Code</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Engagement History API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Retrieve Engagement List by Criteria</a></li> <li class="thirdlevel"><a href="<API key>.html">Sample Code</a></li> <li class="thirdlevel"><a href="<API key>.html">Appendix</a></li> </ul> </li> <li class="subfolders"> <a href="#">Operational Real-time API</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Methods</a></li> <li class="thirdlevel"><a href="<API key>.html">Queue Health</a></li> <li class="thirdlevel"><a href="<API key>.html">Engagement Activity</a></li> <li class="thirdlevel"><a href="<API key>.html">Agent Activity</a></li> <li class="thirdlevel"><a href="<API key>.html">Current Queue State</a></li> <li class="thirdlevel"><a href="<API key>.html">SLA Histogram</a></li> <li class="thirdlevel"><a href="<API key>.html">Sample Code</a></li> </ul> </li> </ul> <li> <a href="#">LiveEngage Tag</a> <ul> <li class="subfolders"> <a href="#">LE Tag Events</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">How to use these Events</a></li> <li class="thirdlevel"><a href="<API key>.html">Events</a></li> <li class="thirdlevel"><a href="lp-tag-visitor-flow.html">Visitor Flow Events</a></li> <li class="thirdlevel"><a href="lp-tag-engagement.html">Engagement Events</a></li> <li class="thirdlevel"><a href="<API key>.html">Engagement Window Events</a></li> </ul> </li> </ul> <li> <a href="#">Messaging Window API</a> <ul> <li class="subfolders"> <a href="#">Introduction</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Home</a></li> <li class="thirdlevel"><a href="<API key>.html">Protocol Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Getting Started</a></li> </ul> </li> <li class="subfolders"> <a href="#">Tutorials</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Get Messages</a></li> <li class="thirdlevel"><a href="<API key>.html">Conversation Metadata</a></li> <li class="thirdlevel"><a href="<API key>.html">Read/Accept events</a></li> <li class="thirdlevel"><a href="<API key>.html">Authentication</a></li> <li class="thirdlevel"><a href="<API key>.html">Agent Profile</a></li> <li class="thirdlevel"><a href="<API key>.html">Post Conversation Survey</a></li> <li class="thirdlevel"><a href="<API key>.html">Client Properties</a></li> <li class="thirdlevel"><a href="<API key>.html">Avoid Webqasocket Headers</a></li> </ul> </li> <li class="subfolders"> <a href="#">Samples</a> <ul> <li class="thirdlevel"><a href="<API key>.html">JavaScript Messenger</a></li> </ul> </li> <li class="subfolders"> <a href="#">API Reference</a> <ul> <li class="thirdlevel"><a href="<API key>.html">Overview</a></li> <li class="thirdlevel"><a href="<API key>.html">Request Builder</a></li> <li class="thirdlevel"><a href="<API key>.html">Response Builder</a></li> <li class="thirdlevel"><a href="<API key>.html">Notification Builder</a></li> <li class="thirdlevel"><a href="<API key>.html">New Conversation</a></li> <li class="thirdlevel"><a href="<API key>.html">Close Conversation</a></li> <li class="thirdlevel"><a href="<API key>.html">Urgent Conversation</a></li> <li class="thirdlevel"><a href="<API key>.html">Update CSAT</a></li> <li class="thirdlevel"><a href="<API key>.html">Subscribe Conversations Metadata</a></li> <li class="thirdlevel"><a href="<API key>.html">Unsubscribe Conversations Metadata</a></li> <li class="thirdlevel"><a href="<API key>.html">Publish Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Subscribe Conversation Content</a></li> <li class="thirdlevel"><a href="<API key>.html">Browser Init Connection</a></li> </ul> </li> </ul> <!-- if you aren't using the accordion, uncomment this block: <p class="external"> <a href="#" id="collapseAll">Collapse All</a> | <a href="#" id="expandAll">Expand All</a> </p> </li> </ul> </div> <!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.--> <script>$("li.active").parents('li').toggleClass("active");</script> <!-- Content Column --> <div class="col-md-9"> <div class="post-header"> <h1 class="post-title-main"><API key></h1> </div> <script> (function(i,s,o,g,r,a,m){i['<API key>']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.<API key>(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https: ga('create', 'UA-96175782-1', 'auto'); ga('send', 'pageview'); </script> <div class="post-content"> <p>Triggered in response to the agent transferring the chat to another account.</p> <p>In case of this event you need to create a new instance of the chat API for that account with the parameters you receive in the event (domain and remoteSiteId).</p> <p>You then need to request a chat with the <API key> part of the request.</p> <p><strong>Parameters in event</strong></p> <table> <thead> <tr> <th style="text-align: left">Name</th> <th style="text-align: left">Description</th> <th style="text-align: left">Type</th> </tr> </thead> <tbody> <tr> <td style="text-align: left"><API key></td> <td style="text-align: left">An object with all the parameters you need to pass to the chat request in the new site. These parameters link the two chats together.</td> <td style="text-align: left">object</td> </tr> <tr> <td style="text-align: left">domain</td> <td style="text-align: left">The domain of the site you need to create a chat in.</td> <td style="text-align: left">string</td> </tr> <tr> <td style="text-align: left">remoteSiteId</td> <td style="text-align: left">The identifier of the site you need to create a chat in.</td> <td style="text-align: left">string</td> </tr> </tbody> </table> <p><strong>Event Format Code Sample</strong></p> <div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w"> </span><span class="nt">"<API key>"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nt">"a2aEventId"</span><span class="p">:</span><span class="w"> </span><span class="mi">467</span><span class="p">,</span><span class="w"> </span><span class="nt">"a2aSourceSessionId"</span><span class="p">:</span><span class="w"> </span><span class="mi">8396550</span><span class="p">,</span><span class="w"> </span><span class="nt">"a2aSourceSiteId"</span><span class="p">:</span><span class="w"> </span><span class="mi">81992017</span><span class="p">,</span><span class="w"> </span><span class="nt">"skill"</span><span class="p">:</span><span class="w"> </span><span class="s2">"test"</span><span class="w"> </span><span class="p">},</span><span class="w"> </span><span class="nt">"domain"</span><span class="p">:</span><span class="w"> </span><span class="s2">"base.liveperson.net"</span><span class="p">,</span><span class="w"> </span><span class="nt">"remoteSiteId"</span><span class="p">:</span><span class="w"> </span><span class="mi">70648893</span><span class="w"> </span><span class="p">}</span><span class="w"> </span></code></pre> </div> <div class="tags"> </div> </div> <hr class="shaded"/> <footer> <div class="row"> <div class="col-lg-12 footer"> &copy;2017 LivePerson. All rights reserved.<br />This documentation is subject to change without notice.<br /> Site last generated: Apr 6, 2017 <br /> <p><img src="img/company_logo.png" alt="Company logo"/></p> </div> </div> </footer> </div> <!-- /.row --> </div> <!-- /.container --> </div> </body> </html>
// importcsv.ts import {InfoElement} from './infoelement'; import { ITransformArray, IBaseItem, IItemFactory} from 'infodata'; //declare var Papa:any; import Papa = require('papaparse'); export class CSVImporter extends InfoElement implements ITransformArray { private _factory: IItemFactory; constructor(fact:IItemFactory) { super(); this._factory = fact; } protected get factory():IItemFactory { return (this._factory !== undefined) ? this._factory : null; } public transform_map(oMap: any): IBaseItem { if ((oMap === undefined) || (oMap === null)) { return null; } return this.factory.create(oMap); }// transform_map public transform_file(file: File,stype:string): Promise<any> { let oRet:any = []; if ((file === undefined) || (file === null)) { return Promise.resolve(oRet); } let self = this; return new Promise((resolve, reject) => { Papa.parse(file, { header: true, // default: false dynamicTyping: true, // default: false skipEmptyLines: true, // default: false chunk: (results: ParseResult, parser) => { if ((results !== undefined) && (results !== null)){ if ((results.data !== undefined) && (results.data !== null)){ let maps = results.data; if (maps.length > 0){ for (let x of maps){ x.type = stype; let y = self.transform_map(x); if ((y !== undefined) && (y !== null)){ oRet.push(y); } } } } } }, complete: (results: ParseResult, file?: File) => { resolve(oRet); }, // default: undefined error: (error: ParseError, file?: File) => { reject(new Error(error.message)); }, beforeFirstChunk :(s: string) => { oRet = []; } // default: undefined }); }); }// transform_file }// class CSVImporter
FactoryGirl.define do factory :planet do name "Saturn" star end end
#include "processor.h" Processor::Processor(uint8_t channels, uint32_t samplerate) : _numChannels(channels), _sampleRate(samplerate), _type(INVALID) { }
import { Store } from '@ng-state/store'; import { <API key>, Component, ChangeDetectorRef } from '@angular/core'; import { ComponentState, HasStateActions } from '@ng-state/store'; import { ClearTodoMessage } from './../actions/todo.model'; import { Dispatcher } from '@ng-state/store'; import { <API key> } from '../actions/interpolation-test.actions'; @ComponentState(<API key>) @Component({ selector: 'interpolation-test', changeDetection: <API key>.OnPush, template: ` <div>{{ test() }} - {{ actions.interpolationValue }} <button (click)="changeState()">click</button> <button (click)="updateDocList()">clear</button> <button (click)="updateItem()">update item</button> <button (click)="clearHistory()">Clear History</button> <button (click)="updateSharedValue()">Update Shared Value</button> </div> ` }) export class <API key> extends HasStateActions<<API key>> { constructor(private dispatcher: Dispatcher, cd: ChangeDetectorRef, private store: Store<any>) { super(cd); } test() { return Math.random(); } changeState() { this.actions.update(Math.random()); } updateDocList() { this.dispatcher.publish(new ClearTodoMessage()); } updateItem() { this.dispatcher.publish('update'); } clearHistory() { this.store.reset(); } updateSharedValue() { this.store.select(['shareTest']).update((state) => { state.set('testValue', Math.random()); }); } }
from setuptools import setup, find_packages setup( name='africanspending', version='1.0', description="Mapping the money, across the African continent", long_description='', classifiers=[], keywords='', author='Code for Africa', author_email='friedrich@pudo.org', url='http: license='MIT', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), namespace_packages=[], <API key>=False, zip_safe=False, install_requires=[ "Flask==0.10.1", "Flask-Assets==0.10", "Flask-FlatPages==0.5", "Flask-Script==2.0.5", "Frozen-Flask==0.11", "PyYAML==3.11", "Unidecode==0.04.16", "awscli==1.4.4", "cssmin==0.2.0", "python-dateutil==2.2", "python-slugify==0.0.9", "requests==2.4.3", "gunicorn>=19.0" ], tests_require=[], entry_points="", )
<div class="row"> <div class="col-lg-3"> <div class="thumbnail"> <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNDIiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMjQyIiBoZWlnaHQ9IjIwMCIgZmlsbD0iI2VlZSIvPjx0ZXh0IHRleHQtYW5jaG9yPSJtaWRkbGUiIHg9IjEyMSIgeT0iMTAwIiBzdHlsZT0iZmlsbDojYWFhO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1zaXplOjE1cHg7Zm9udC1mYW1pbHk6QXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+<API key>=" alt="..."> <div class="caption"> <h3>{{user.username}}</h3> <p> <i class="glyphicon glyphicon-envelope"></i> {{user.email}}</p> </div> </div> </div> <div class="col-lg-9"> <div class="row"> <div class="col-lg-12"> <div style="margin:30px 0; border : 1px solid #ccc; padding : 10px;"> <textarea ng-model="newPost.body" class="form-control" placeholder="What's on your Mind"></textarea><br> <button ng-click="addPost();" type="button" class="btn btn-success">Envoyer</button> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <!-- List posts --> <div class="article row" ng-repeat="post in posts | reverse"> <div class="col-lg-1"> <img class="img-responsive" alt="avatar" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+<API key>+PHRleHQgdGV4dC1hbmNob3I9Im1pZGRsZSIgeD0iMzIiIHk9IjMyIiBzdHlsZT0iZmlsbDojYWFhO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1zaXplOjEycHg7Zm9udC1mYW1pbHk6QXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+NjR4NjQ8L3RleHQ+PC9zdmc+"> </div> <div class="col-lg-11"> <div><span class="author">{{post.user.username}}</span> : <time>{{post.timestamp | date:"dd/MM/yyyy @ hh:mm:ss a"}}</time> </div> <div>{{post.body}}</div> </div> </div> </div> </div> </div> </div>
using System; namespace Ceen { <summary> List of supported HTTP status codes </summary> public enum HttpStatusCode { Continue = 100, SwitchingProtocols = 101, Processing = 102, OK = 200, Created = 201, Accepted = 202, NonAuthoritative = 203, NoContent = 204, ResetContent = 205, PartialContent = 206, Multistatus = 207, Alreadyreported = 208, MultipleChoices = 300, MovedPermanently = 301, Found = 302, SeeOther = 303, NotModified = 304, UseProxy = 305, SwitchProxy = 306, TemporaryRedirect = 307, PermanentRedirect = 308, BadRequest = 400, Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, NotAcceptable = 406, Proxy<API key> = 407, RequestTimeout = 408, Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412, PayloadTooLarge = 413, URITooLong = 414, <API key> = 415, RangeNotSatisfiable = 416, ExpectationFailed = 417, MisdirectedRequest = 421, UnprocessableEntity = 422, Locked = 423, FailedDependency = 424, UpgradeRequired = 426, <API key> = 428, TooManyRequests = 429, <API key> = 431, <API key> = 451, InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, <API key> = 505, <API key> = 506, InsufficientStorage = 507, LoopDetected = 508, NotExtended = 510, Network<API key> = 511, } <summary> List of default messags to return for a HTTP status code </summary> public static class HttpStatusMessages { public static string DefaultMessage(HttpStatusCode code) { switch ((int)code) { case 100: return "Continue"; case 101: return "Switching Protocols"; case 102: return "Processing"; case 200: return "OK"; case 201: return "Created"; case 202: return "Accepted"; case 203: return "Non-Authoritative"; case 204: return "No Content"; case 205: return "Reset Content"; case 206: return "Partial Content"; case 207: return "Multi-status"; case 208: return "Already reported"; case 300: return "Multiple Choices"; case 301: return "Moved Permanently"; case 302: return "Found"; case 303: return "See Other"; case 304: return "Not Modified"; case 305: return "Use Proxy"; case 306: return "Switch Proxy"; case 307: return "Temporary Redirect"; case 308: return "Permanent Redirect"; case 400: return "Bad Request"; case 401: return "Unauthorized"; case 402: return "Payment Required"; case 403: return "Forbidden"; case 404: return "Not Found"; case 405: return "Method Not Allowed"; case 406: return "Not Acceptable"; case 407: return "Proxy Authentication Required"; case 408: return "Request Timeout"; case 409: return "Conflict"; case 410: return "Gone"; case 411: return "Length Required"; case 412: return "Precondition Failed"; case 413: return "Payload Too Large"; case 414: return "URI Too Long"; case 415: return "Unsupported Media Type"; case 416: return "Range Not Satisfiable"; case 417: return "Expectation Failed"; case 421: return "Misdirected Request"; case 422: return "Unprocessable Entity"; case 423: return "Locked"; case 424: return "Failed Dependency"; case 426: return "Upgrade Required"; case 428: return "Precondition Required"; case 429: return "Too Many Requests"; case 431: return "Request Header Fields Too Large"; case 451: return "Unavailable For Legal Reasons"; case 500: return "Internal Server Error"; case 501: return "Not Implemented"; case 502: return "Bad Gateway"; case 503: return "Service Unavailable"; case 504: return "Gateway Timeout"; case 505: return "HTTP Version Not Supported"; case 506: return "Variant Also Negotiates"; case 507: return "Insufficient Storage"; case 508: return "Loop Detected"; case 510: return "Not Extended"; case 511: return "Network Authentication Required"; default: return "Unknown status"; } } } }
<!-- ## Code --> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Learning from Science Articles</title> <script src="jquery-1.11.2.min.js"></script> <script src="mmturkey-0.6.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="uptake_style.css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> </head> <body> <!-- The instructions slide. --> <div class="slide" id="instructions"> <br> <img src="images/stanford.png" alt="Stanford University"> <p id='logo-text'>Stanford Language and Cognition Lab</p> <p class="block-text">In this experiment, you will first answer a few questions about your beliefs about parenting and child development, and then you will read two brief articles about science topics, and answer some questions about the articles. If you've already been in a hit of this type ("Child Development Survey" or "Learning from Science Articles"), please don't accept this one.</p> <button type="button" onclick="this.blur(); experiment.next(), experiment.starttime()">Start</button> <p class="block-text"> <br> <b> Note: you won't be able to preview this HIT before accepting it because it's so short. </b></p> <p class="block-text" id="legal">By answering the following questions, you are participating in a study being performed by cognitive scientists in the Stanford Department of Psychology. If you have questions about this research, please contact us at <a href="mailto://languagecoglab@gmail.com.">languagecoglab@gmail.com</a>. You must be at least 18 years old to participate. Your participation in this research is voluntary. You may decline to answer any or all of the following questions. You may decline further participation, at any time, without adverse consequences. Your anonymity is assured; the researchers who have requested your participation will not receive any personal information about you. Note however that we have recently been made aware that your public Amazon.com profile can be accessed via your worker ID if you do not choose to opt out. If you would like to opt out of this feature, you may follow instructions available <a href="https: </div> <!-- Progress Bar --> <div class="progress"> <div id="progress" class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width:0%"> </div> </div> <!-- Questionnaire slide 1 - attitudes --> <div class="slide" id="attitudes_slide"> <br> <div align="center"> <h5>How much do you agree with the following statement with regard to <b>babies and toddlers</b>?</h5><br> </div> <!-- Show sentence from attitudes scale --> <div align="center"> <p id ="attitudes">{{}}</p> </div> <br> <!-- Likert radio buttons --> <table align = "center"><tr> <td align="center"> <tr> <td></td> <td></td> <td>Do Not Agree</td> <td></td> <td></td> <td>Agree Somewhat</td> <td></td> <td></td> <td>Strongly Agree</td> </tr> <tr> <td></td> <td></td> <td><input id ="likert1" type="radio" name="judgment" value = "0"> <label for="likert1">0</label></td> <td><input id ="likert2" type="radio" name="judgment" value = "1"> <label for="likert2">1</label></td> <td><input id ="likert3" type="radio" name="judgment" value = "2"> <label for="likert3">2</label></td> <td><input id ="likert4" type="radio" name="judgment" value = "3"> <label for="likert4">3</label></td> <td><input id ="likert5" type="radio" name="judgment" value = "4"> <label for="likert5">4</label></td> <td><input id ="likert6" type="radio" name="judgment" value = "5"> <label for="likert6">5</label></td> <td><input id ="likert7" type="radio" name="judgment" value = "6"> <label for="likert7">6</label></td> <td>&nbsp;&nbsp;&nbsp;</td> <td></td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"><tr> <td align="center"> <button type="button" id="nextButton_Att" onClick="experiment.log_response_q()"> next</button> </td> <tr><td align="center"> <div id="testMessage_att"> </div> </td></tr> </table> </div> <!-- Reading instructions slide --> <div class="slide" id="<API key>"> <br> <p class="block-text">You will now be asked to read two articles. Please read the text <em>carefully</em> at your own pace. After you finish reading both articles, <em>you will be tested on their content</em>.</p> <table align="center"> <tr> <td align="center"> <button type="button" onClick="this.blur(); experiment.next(); experiment.starttarget()"> Continue</button> </td> <tr> <td align="center"> </td> </tr> </table> </div> <!-- End reading instructions slide --> <!-- Slide 1 Target Article --> <div class="slide" id="reading1"> <br> <div align="center"> <h5>This is the <b>first</b> of two articles you'll be asked to read. Please read the text at your own pace. Once you have finished reading, click "Continue."</h5> <br> </div> <!-- Show parenting article --> <div class="block-text"> <p id="article"> Ours is an age of pedagogy. Anxious parents instruct their children more and more, at younger and younger ages, until they're reading books to babies in the womb. They pressure teachers to make kindergartens and nurseries more like schools. So does the law—the 2001 No Child Left Behind Act explicitly urged more direct instruction in federally funded preschools. <br> <br> There are skeptics, of course, including some parents, many preschool teachers, and even a few policy-makers. Shouldn't very young children be allowed to explore, inquire, play, and discover, they ask? Perhaps direct instruction can help children learn specific facts and skills, but what about curiosity and creativity—abilities that are even more important for learning in the long run? Two forthcoming studies in the journal Cognition—one from a lab at MIT and one from my lab at UC-Berkeley—suggest that the doubters are on to something. While learning from a teacher may help children get to a specific answer more quickly, it also makes them less likely to discover new information about a problem and to create a new and unexpected solution. <br> <br> What do we already know about how teaching affects learning? Not as much as we would like, unfortunately, because it is a very difficult thing to study. You might try to compare different kinds of schools. But the children and the teachers at a Marin County preschool that encourages exploration will be very different from the children and teachers in a direct instruction program in South Side Chicago. And almost any new program with enthusiastic teachers will have good effects, at least to begin with, regardless of content. So comparisons are difficult. Besides, how do you measure learning, anyway? Almost by definition, directed teaching will make children do better on standardized tests, which the government uses to evaluate school performance. Curiosity and creativity are harder to measure. <br> <br> Developmental scientists like me explore the basic science of learning by designing controlled experiments. We might start by saying: Suppose we gave a group of 4-year-olds exactly the same problems and only varied on whether we taught them directly or encouraged them to figure it out for themselves? Would they learn different things and develop different solutions? The two new studies in Cognition are the first to systematically show that they would. <br> <br> In the first study, MIT professor Laura Schulz, her graduate student Elizabeth Bonawitz, and their colleagues looked at how 4-year-olds learned about a new toy with four tubes. Each tube could do something interesting: If you pulled on one tube it squeaked, if you looked inside another tube you found a hidden mirror, and so on. For one group of children, the experimenter said: "I just found this toy!" As she brought out the toy, she pulled the first tube, as if by accident, and it squeaked. She acted surprised ("Huh! Did you see that? Let me try to do that!") and pulled the tube again to make it squeak a second time. With the other children, the experimenter acted more like a teacher. She said, "I'm going to show you how my toy works. Watch this!" and deliberately made the tube squeak. Then she left both groups of children alone to play with the toy. <br> <br> All of the children pulled the first tube to make it squeak. The question was whether they would also learn about the other things the toy could do. The children from the first group played with the toy longer and discovered more of its "hidden" features than those in the second group. In other words, direct instruction made the children less curious and less likely to discover new information. <br> <br> Does direct teaching also make children less likely to draw new conclusions—or, put another way, does it make them less creative? To answer this question, Daphna Buchsbaum, Tom Griffiths, Patrick Shafto, and I gave another group of 4-year-old children a new toy. This time, though, we demonstrated sequences of three actions on the toy, some of which caused the toy to play music, some of which did not. For example, Daphna might start by squishing the toy, then pressing a pad on its top, then pulling a ring on its side, at which point the toy would play music. Then she might try a different series of three actions, and it would play music again. Not every sequence she demonstrated worked, however: Only the ones that ended with the same two actions made the music play. After showing the children five successful sequences interspersed with four unsuccessful ones, she gave them the toy and told them to "make it go." <br> <br> Daphna ran through the same nine sequences with all the children, but with one group, she acted as if she were clueless about the toy. ("Wow, look at this toy. I wonder how it works? Let's try this," she said.) With the other group, she acted like a teacher. ("Here's how my toy works.") When she acted clueless, many of the children figured out the most intelligent way of getting the toy to play music (performing just the two key actions, something Daphna had not demonstrated). But when Daphna acted like a teacher, the children imitated her exactly, rather than discovering the more intelligent and more novel two-action solution. <br> <br> As so often happens in science, two studies from different labs, using different techniques, have simultaneously produced strikingly similar results. They provide scientific support for the intuitions many teachers have had all along: Direct instruction really can limit young children's learning. Teaching is a very effective way to get children to learn something specific—this tube squeaks, say, or a squish then a press then a pull causes the music to play. But it also makes children less likely to discover unexpected information and to draw unexpected conclusions. <br> <br> Why might children behave this way? Adults often assume that most learning is the result of teaching and that exploratory, spontaneous learning is unusual. But actually, spontaneous learning is more fundamental. It's this kind of learning, in fact, that allows kids to learn from teachers in the first place. Patrick Shafto, a machine-learning specialist at the University of Louisville and a co-author of both these studies; Noah Goodman at Stanford; and their colleagues have explored how we could design computers that learn about the world as effectively as young children do. It's this work that inspired these experiments. <br> <br> These experts in machine learning argue that learning from teachers first requires you to learn about teachers. For example, if you know how teachers work, you tend to assume that they are trying to be informative. When the teacher in the tube-toy experiment doesn't go looking for hidden features inside the tubes, the learner unconsciously thinks: "She's a teacher. If there were something interesting in there, she would have showed it to me." These assumptions lead children to narrow in, and to consider just the specific information a teacher provides. Without a teacher present, children look for a much wider range of information and consider a greater range of options. <br> <br> Knowing what to expect from a teacher is a really good thing, of course: It lets you get the right answers more quickly than you would otherwise. Indeed, these studies show that 4-year-olds understand how teaching works and can learn from teachers. But there is an intrinsic trade-off between that kind of learning and the more wide-ranging learning that is so natural for young children. Knowing this, it's more important than ever to give children's remarkable, spontaneous learning abilities free rein. That means a rich, stable, and safe world, with affectionate and supportive grown-ups, and lots of opportunities for exploration and play. Not school for babies. </p> </div> <br> <!-- Next button --> <table align="center"> <tr> <td align="center"> <button type="button" onClick="this.blur(); experiment.next(); experiment.getrttar()"> Continue</button> </td> <tr> <td align="center"> </td> </tr> </table> </div> <!-- end first article slide --> <!-- Slide 2 Control Article --> <div class="slide" id="reading2"> <br> <div align="center"> <h5>This is the <b>second</b> of the articles. Please read the following text at your own pace. Once you have finished reading, click "Continue." </h5> <br> </div> <!-- Show control article --> <div class="block-text"> <p id="article"> Describe a banana. It's yellow, perhaps with some green edges. When peeled, it has a smooth, soft, mushy texture. It tastes sweet, maybe a little creamy. <br> <br> And it smells like... well, it smells like a banana. <br> <br> Every sense has its own “lexical field,” a vast palette of dedicated descriptive words for colors, sounds, tastes, and textures. But smell? In English, there are only three dedicated smell words—stinky, fragrant, and musty—and the first two are more about the smeller's subjective experience than about the smelly thing itself. <br> <br> All of our other scent descriptors are really descriptions of sources: We say that things smell like cinnamon, or roses, or teen spirit, or napalm in the morning. The other senses don't need these linguistic workarounds. We don't need to say that a banana “looks like lemon;” we can just say that it's yellow. Experts who work in perfume or wine-tasting industries may use more metaphorical terms like decadent or unctuous, but good luck explaining them to a non-expert who's not familiar with the jargon. <br> <br> Some scientists have taken this as evidence that humans have relegated smell to the sensory sidelines, while vision has taken center-field. It's a B-list sense, deemed by Darwin to be “of extremely slight service.” Others have suggested that smells are inherently indescribable, and that “olfactory abstraction is impossible.” Kant wrote that “Smell does not allow itself to be described, but only compared through similarity with another sense.” Indeed, when Jean-Baptiste Grenouille, the protagonist of Perfume: The Story of a Murderer can unerringly identify smells, remember them, and mix and match them in his head, he seems disconcerting and supernatural to us, precisely because we suck so badly at those tasks. <br> <br> But not all of us. In Southeast Asia, there are at least two groups of hunter-gatherers who would turn their noses up at this textbook view. Asifa Majid from Radboud University in the Netherlands has found that the Jahai people of Malaysia and the Maniq of Thailand use between 12 and 15 dedicated smell words. <br> <br> “These terms are really very salient to them,” she says. “They turn up all the time. Young children know them. They're basic vocabulary. They're not used for taste, or general ideas of edibility. They're really dedicated to smell.” <br> <br> For example, ltpit describes the smell of a binturong or bearcat—a two-meter-long animal that looks like a shaggy, black-furred otter, and that famously smells of popcorn. But ltpit doesn't mean popcorn—it's not a source-based term. The same word is also used for soap, flowers, and the intense-smelling durian fruit, referring to some fragrant quality that Western noses can’t parse. <br> <br> Another word is used for the smell of petrol, smoke, bat droppings, some species of millipede, the root of wild ginger, the wood of wild mango, and more. One seems specific to roasted foods. And one refers to things like squirrel blood, rodents, crushed head lice, and other “bloody smells that attract tigers.” <br> <br> These terms don't refer to general qualities that are the dominion of other senses, like edibility. “Their meaning is not general over tastes, textures, pain, or any other state; their business is smell,” says Majid. “Just as you would describe a tomato as red, a Jahai speaker would describe the smell of bearcat as ltpit.” <br> <br> Majid first heard about the Jahai through her colleague Niclas Burenhult, who had been working with them for years and had written the only formal grammar of their language. He noticed that they had specific smell words and, in disbelief,she flew out to Malaysia to investigate. <br> <br> She talked to them, got to know their language, and learned about their culture. She tried them on the Brief Smell Identification Test—essentially a standardized scratch-and-sniff test with some fixed smells. She went on jungle walks with them, and asked them to describe the smells of their environment. And through several tests, she showed that they can name smells as consistently, easily, and clearly as English speakers can name colors, with none of the verbal struggles or linguistic somersaults that Westerners go through. The same applies to the Maniq. These two groups clearly show that odors, contrary to popular belief, are not universally ineffable. “This work has changed my views!” says Tim Jacob from Cardiff University. “Smell information translates straight into behavior or mood and evokes whole memories,” he says. “Smell doesn't need language. That is what I thought. But, clearly there are cultures who have developed a smell vocabulary and it is both useful and necessary.” <br> <br> Or, as Majid wrote, “Odors are expressible in language, as long as you speak the right language.” <br> <br> And if you have the right language, it changes the way you perceive the world. Smell is an intrinsic part of Jahai culture in a way that it simply isn't in the west. “When we're there, Niclas and I say that we're brother and sister. Once, we got told off for sitting too close to each other because our smells would mingle, and that's a form of incest,” she says. “There are social taboos that are explained in terms of smells. Some foods can't be cooked in the same fire because their smells would mix.” <br> <br> They're also extraordinarily good at distinguishing smells, and certainly better than Majid was. “We did a jungle walk during wild ginger flowering season,” she recalls. “You'd think it's one object and one smell but it's not. the flower smells different to the stem, and the stem smells different when you press it than when it's broken. I was trying to name the smells and some kids were following me around and laughing. Like: How can you be such a moron?” She is now planning to return to the tribe next year to work out whether they're better at remembering smells. She's also thinking about collecting odor samples of things that they describe with the same words, to see if she can isolate chemicals that are common to them all. And she wants to compare these languages, and those from other Southeast Asian tribes, to understand how these smell words evolved from earlier parent languages. <br> <br> “This work is very important for going beyond the WEIRD subjects,” say Charles Spence from the University of Oxford. By that, he means people from western, educated, industrial, rich, and democratic countries—the ones who make up almost all of psychological research. “Anthropologists have been saying that we should do this for years but psychologists mostly ignore this advice. To have these beautiful examples where smell really is elevated from the bottom of the hierarchy is great.” <br> <br> Jacob also thinks that the Jahai and Maniq could provide clues about the evolution of our olfactory sense. For example, it's obvious why we might be repelled by disgusting smells—they're associated with decaying food, feces, and other things that might carry disease. But why do we like pleasant smells? The Maniq provide a clue: Their bearcat word is also used for medicinal plants with pleasant smells, plants that they wear as perfumes and necklaces. “This is, to me at least, revolutionary,” says Jacob. “Early cultures collected pleasant-smelling plants because they were medicinal, curative, or represented cleanliness and hygiene. Here, at last, is a positive function of pleasant smell that confers adaptive advantage. What's more, it points to the origins of our fascination with perfume.” <br> <br> Indeed, as Majid says, “We spend millions on flavor and scent industries. To think that smell isn't relevant at all for humans is too simplistic.” </p> </div> <br> <!-- Next button--> <table align="center"> <tr> <td align="center"> <button type="button" onClick="this.blur(); experiment.next(); experiment.getrtcontrol()"> Continue</button> </td> <tr> <td align="center"> </td> </tr> </table> </div> <!-- end control article slide --> <!-- Recall instructions slide --> <div class="slide" id="recall_instructions"> <br> <p class="block-text">You will now be asked to answer a few questions about the articles that you just read.</p> <table align="center"> <tr> <td align="center"> <button type="button" onClick="this.blur(); experiment.next()"> Continue</button> </td> <tr> <td align="center"> </td> </tr> </table> </div> <!-- End recall instructions slide --> <!-- Recall 1 slide --> <div class="slide" id="target1"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>Based on <strong>Article 1</strong>, when children see a teacher demonstrate the function of a toy, they: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall1a" type="radio" name="recall" value="a"> <label for="recall1a">a. Explore the toy less because they have become bored by the toy. </label> </td> <td valign="top"> <input id="recall1b" type="radio" name="recall" value="b"> <label for="recall1b">b. Explore the toy less because they assume the teacher has showed them everything there is to know about the toy.</label> </td> <td valign="top"> <input id="recall1c" type="radio" name="recall" value="c"> <label for="recall1c">c. Explore the toy more because they have become more interested in the toy.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r1" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r1"> </div> </td> </tr> </table> </div> <!-- End recall 1 slide --> <!-- Recall 2 slide --> <div class="slide" id="target2"> <br> <!-- Show recall question --> <div align="center"> <img src="images/register.png" width=200px> <p>A teacher and child are playing with the toy cash register above. The teacher says she is an expert at this toy, and presses several different keys followed by the open key. The register opens! Based on <strong>Article 1</strong>, the child is more likely to: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall2a" type="radio" name="recall" value="a"> <label for="recall2a">a. Imitate the teacher by pressing the same set of keys to make the box open. </label> </td> <td valign="top"> <input id="recall2b" type="radio" name="recall" value="b"> <label for="recall2b">b. Understand that only the final key made the box open, and press that key.</label> </td> <td valign="top"> <input id="recall2c" type="radio" name="recall" value="c"> <label for="recall2c">c. Try pressing a different set of keys to figure out how to make the box open.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r2" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r2"> </div> </td> </tr> </table> </div> <!-- End recall 2 slide --> <!-- Recall 3 slide --> <div class="slide" id="target3"> <br> <!-- Show recall question --> <div align="center"> <img src="images/toy.png" width=200px> <p>Based on <strong>Article 1</strong>, when playing with the above toy with a child, is it better to: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall3a" type="radio" name="recall" value="a"> <label for="recall3a">a. Demonstrate for the child where each of the blocks fits into the box before allowing her to play freely. </label> </td> <td valign="top"> <input id="recall3b" type="radio" name="recall" value="b"> <label for="recall3b">b. Let the child play freely with the toy without instruction.</label> </td> <td valign="top"> <input id="recall3c" type="radio" name="recall" value="c"> <label for="recall3c">c. Quiz the child about shapes and colors.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r3" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r3"> </div> </td> </tr> </table> </div> <!-- End recall 3 slide --> <!-- Recall 4 slide --> <div class="slide" id="target4"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>Based on <strong>Article 1</strong>, preschool directors should plan to have: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall4a" type="radio" name="recall" value="a"> <label for="recall4a">a. More time spent memorizing things that will be helpful later, such as the ABCs.</label> </td> <td valign="top"> <input id="recall4b" type="radio" name="recall" value="b"> <label for="recall4b">b. More structured time in which children are taught lessons and skills.</label> </td> <td valign="top"> <input id="recall4c" type="radio" name="recall" value="c"> <label for="recall4c">c. More time for children to play outside and with toys.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r4" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r4"> </div> </td> </tr> </table> </div> <!-- End recall 4 slide --> <!-- Recall 5 slide --> <div class="slide" id="target5"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>Based on <strong>Article 1</strong>, when playing with blocks with a toddler, you should: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall5a" type="radio" name="recall" value="a"> <label for="recall5a">a. Avoid saying anything about the blocks, to avoid interfering with the child’s learning. </label> </td> <td valign="top"> <input id="recall5b" type="radio" name="recall" value="b"> <label for="recall5b">b. Demonstrate for the child how to build a tower and then have her imitate you.</label> </td> <td valign="top"> <input id="recall5c" type="radio" name="recall" value="c"> <label for="recall5c">c. Encourage the child to play with the blocks however she wants.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r5" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r5"> </div> </td> </tr> </table> </div> <!-- End recall 5 slide --> <!-- Recall 6 slide --> <div class="slide" id="target6"> <br> <br> <br> <br> <br> <!-- Show sentence from attitudes scale --> <div align="center"> <p>According to <strong>Article 1</strong>, when an experimenter acted more like a teacher and showed children how to make a toy squeak, children: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall6a" type="radio" name="recall" value="a"> <label for="recall6a">a. Played with the toy more than if the experimenter acted surprised by the toy. </label> </td> <td valign="top"> <input id="recall6b" type="radio" name="recall" value="b"> <label for="recall6b">b. Played with the toy less than if the experimenter acted surprised by the toy.</label> </td> <td valign="top"> <input id="recall6c" type="radio" name="recall" value="c"> <label for="recall6c">c. Played with the toy the same amount whether or not the experimenter acted surprised by the toy.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r6" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r6"> </div> </td> </tr> </table> </div> <!-- End recall 6 slide --> <!-- Recall 7 slide --> <div class="slide" id="target7"> <br> <br> <br> <br> <br> <!-- Show sentence from attitudes scale --> <div align="center"> <p>According to <strong>Article 1</strong>, children explore and discover more when: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall7a" type="radio" name="recall" value="a"> <label for="recall7a">a. Adults let them play freely without instruction. </label> </td> <td valign="top"> <input id="recall7b" type="radio" name="recall" value="b"> <label for="recall7b">b. Adults choose which items children play with.</label> </td> <td valign="top"> <input id="recall7c" type="radio" name="recall" value="c"> <label for="recall7c">c. Adults show them exactly how something works.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r7" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r7"> </div> </td> </tr> </table> </div> <!-- End recall 7 slide --> <!-- Recall 8 slide --> <div class="slide" id="target8"> <br> <br> <br> <br> <br> <!-- Show sentence from attitudes scale --> <div align="center"> <p>According to <strong>Article 1</strong>, children were more likely to find new and better ways to make a toy work when the experimenter: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall8a" type="radio" name="recall" value="a"> <label for="recall8a">a. Pretended to be clueless about how the toy worked when playing with it. </label> </td> <td valign="top"> <input id="recall8b" type="radio" name="recall" value="b"> <label for="recall8b">b. Pretended to be an expert about the toy when playing with it.</label> </td> <td valign="top"> <input id="recall8c" type="radio" name="recall" value="c"> <label for="recall8c">c. Pretended not to care about the toy.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r8" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r8"> </div> </td> </tr> </table> </div> <!-- End recall 8 slide --> <!-- Recall 9 slide --> <div class="slide" id="target9"> <br> <br> <br> <br> <br> <!-- Show sentence from attitudes scale --> <div align="center"> <p>According to <strong>Article 1</strong>, children believe: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall9a" type="radio" name="recall" value="a"> <label for="recall9a">a. That teachers try to be informative. </label> </td> <td valign="top"> <input id="recall9b" type="radio" name="recall" value="b"> <label for="recall9b">b. That teachers don’t know everything.</label> </td> <td valign="top"> <input id="recall9c" type="radio" name="recall" value="c"> <label for="recall9c">c. That teachers will give them incomplete information.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r9" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r9"> </div> </td> </tr> </table> </div> <!-- End recall 9 slide --> <!-- Recall 10 slide --> <div class="slide" id="target10"> <br> <br> <br> <br> <br> <!-- Show sentence from attitudes scale --> <div align="center"> <p>According to <strong>Article 1</strong>: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="recall10a" type="radio" name="recall" value="a"> <label for="recall10a">a. Children cannot learn anything new from a teacher. </label> </td> <td valign="top"> <input id="recall10b" type="radio" name="recall" value="b"> <label for="recall10b">b. Children cannot learn new things without a teacher.</label> </td> <td valign="top"> <input id="recall10c" type="radio" name="recall" value="c"> <label for="recall10c">c. Children can learn new things quickly from a teacher.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_r10" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_r10"> </div> </td> </tr> </table> </div> <!-- End recall 10 slide --> <!-- Control recall 1 slide --> <div class="slide" id="control1"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>According to <strong>Article 2</strong>, how many words does English have dedicated to describing smells? </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="control1a" type="radio" name="recall" value="a"> <label for="control1a">a. 3 </label> </td> <td valign="top"> <input id="control1b" type="radio" name="recall" value="b"> <label for="control1b">b. 13 </label> </td> <td valign="top"> <input id="control1c" type="radio" name="recall" value="c"> <label for="control1c">c. 33 </label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_c1" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_c1"> </div> </td> </tr> </table> </div> <!-- End Control recall 1 slide --> <!-- Control recall 2 slide --> <div class="slide" id="control2"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>According to <strong>Article 2</strong>, which of the following is true: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="control2a" type="radio" name="recall" value="a"> <label for="control2a">a. No languages have more than three words for smells, because most smells are impossible to describe.</label> </td> <td valign="top"> <input id="control2b" type="radio" name="recall" value="b"> <label for="control2b">b. English is the only language that has few words for smells.</label> </td> <td valign="top"> <input id="control2c" type="radio" name="recall" value="c"> <label for="control2c">c. Only a few languages have more than three words for smells.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_c2" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_c2"> </div> </td> </tr> </table> </div> <!-- End Control recall 2 slide --> <!-- Control recall 3 slide --> <div class="slide" id="control3"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>According to <strong>Article 2</strong>, what do the groups known for having many words for smells have in common? </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="control3a" type="radio" name="recall" value="a"> <label for="control3a">a. They train their children to be able to tell the difference between smells.</label> </td> <td valign="top"> <input id="control3b" type="radio" name="recall" value="b"> <label for="control3b">b. They are hunter-gatherers.</label> </td> <td valign="top"> <input id="control3c" type="radio" name="recall" value="c"> <label for="control3c">c. They have unusually good hearing and vision.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_c3" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_c3"> </div> </td> </tr> </table> </div> <!-- End Control recall 3 slide --> <!-- Control recall 4 slide --> <div class="slide" id="control4"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>According to <strong>Article 2</strong>, when a researcher tested the Jahai of Malaysia using smell tests, she found that: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="control4a" type="radio" name="recall" value="a"> <label for="control4a">a. Although they had many words for smells, different people used different words to describe the same smell.</label> </td> <td valign="top"> <input id="control4b" type="radio" name="recall" value="b"> <label for="control4b">b. Most people did not know the meaning of most of the smell words in their language.</label> </td> <td valign="top"> <input id="control4c" type="radio" name="recall" value="c"> <label for="control4c">c. People were highly consistent in their use of smell words- different people had the same words for the same smells.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_c4" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_c4"> </div> </td> </tr> </table> </div> <!-- End Control recall 1 slide --> <!-- Control recall 5 slide --> <div class="slide" id="control5"> <br> <br> <br> <br> <br> <br> <br> <!-- Show recall question --> <div align="center"> <p>According to <strong>Article 2</strong>, before finding the Jahai and Maniq people, researchers previously believed: </p> </div> <br> <!-- Likert radio buttons --> <table align="center" class="likert"> <tr> <td valign="top"> <input id="control5a" type="radio" name="recall" value="a"> <label for="control5a">a. People were better at describing good smells than bad smells. </label> </td> <td valign="top"> <input id="control5b" type="radio" name="recall" value="b"> <label for="control5b">b. Humans were not capable of describing most smells with words.</label> </td> <td valign="top"> <input id="control5c" type="radio" name="recall" value="c"> <label for="control5c">c. People were better at describing bad smells than good smells.</label> </td> </tr> </table> <!-- Next button and "please make a response" message --> <table align="center"> <tr> <td align="center"> <button type="button" id="nextButton_c5" onClick="experiment.log_response()"> next</button> </td> <tr> <td align="center"> <div id="testMessage_c5"> </div> </td> </tr> </table> </div> <!-- End Control recall 5 slide --> <!-- The debriefing slide. --> <div class="slide" id="debriefing"> <form id="demographics" onsubmit="experiment.submitcomments()"> <table width="100%"> <col style="width:30%"> <col style="width:70%"> <tr> <td><img src="images/ladder.png"></td> <td> <p><b>Think of this ladder as representing where people stand in the United states.</b></p> <p>At the top of the ladder are the people who are the best off - those who have the most money, the most education, and the most respected jobs. At the bottom are the people who are the worst off - who have the least money, least education, and the least respected jobs or no job. The higher up you are on this ladder, the closer you are to the people at the very top; the lower you are, the closer you are to the people at the very bottom. </p> <p><b>Where would you place yourself on this ladder?</b></p> <p> <select name="ladder" id="ladder" form="demographics"> <option value="">Choose a rung</option> <option value="10">10 - Top</option> <option value="9">9</option> <option value="8">8</option> <option value="7">7</option> <option value="6">6</option> <option value="5">5</option> <option value="4">4</option> <option value="3">3</option> <option value="2">2</option> <option value="1">1 - Bottom</option> </select> </p> </td> </tr> </table> <br> <p><b>What is your age?</b></p> <p> <select name="age" id="age" form="demographics"> <option value="">Choose an age</option> <option value="0-19">&nbsp;0-19</option> <option value="20-29">20-29</option> <option value="30-39">30-39</option> <option value="40-49">40-49</option> <option value="50-59">50-59</option> <option value="60-69">60-69</option> <option value="70-79">70-79</option> <option value="80-89">80-89</option> <option value="&gt;90">90+</option> </select> </p> <p><b>What is your gender?</b></p> <p> <input type="text" id="gender" name="gender" style="width:40%" value=""> </textarea> </p> <p><b>What is your highest level of education completed?</b></p> <p> <select name="education" id="education" form="demographics"> <option value="">Choose a level</option> <option value="gradeSchool">Grade school</option> <option value="highSchool">High school</option> <option value="someCollege">Some college</option> <option value="4year">4-year college</option> <option value="someGrad">Some graduate school</option> <option value="Grad">Graduate degree</option> </select> </p> <p><b>What is your native/first language (i.e., the language that was primarily spoken at home when you were a child)?</b></p> <p> <input type="text" id="homelang" name="lg" style="width:40%" value=""> </textarea> </p> <p><b>What is your ethnicity?</b></p> <p> <select name="ethnicity" id="ethnicity" form="demographics"> <option value="">Choose an ethnicity</option> <option value="Hispanic">Hispanic or Latino</option> <option value="NonHispanic">Non-Hispanic or Latino</option> <option value="NA">Prefer not to state</option> </select> </p> <p><b>What is your race? Please check all that apply.</b></p> <p> <form> <input type="checkbox" name="race" value="amInd"> American Indian or Alaskan Native <br> <input type="checkbox" name="race" value="asian"> Asian <br> <input type="checkbox" name="race" value="natHaw"> Native Hawaiian or US Pacific Islander <br> <input type="checkbox" name="race" value="black"> Black/African American <br> <input type="checkbox" name="race" value="white"> White <br> <input type="checkbox" name="race" value="other"> Other </form> <p><b>How many children do you have?</b></p> <p> <select name="children" id="children" form="demographics"> <option value="">Choose a number</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="morethan5">More than 5</option> </select> </p> <p><b>If you have children, how old is your <em>oldest</em> child?</b></p> <p> <select name="oldest" id="oldestAge" form="demographics"> <option value="">Choose an age</option> <option value="0to6mo">0-6 months old</option> <option value="7to12mo">7-12 months old</option> <option value="1y">1 year old</option> <option value="2y">2 years old</option> <option value="3y">3 years old</option> <option value="4y">4 years old</option> <option value="5y">5 years old</option> <option value="6y">6 years old</option> <option value="7y">7 years old</option> <option value="8y">8 years old</option> <option value="9y">9 years old</option> <option value="10y">10 years old</option> <option value="olderthan10">More than 10 years old</option> </select> <p><b>If you have children, how old is your <em>youngest</em> child?</b></p> <p> <select name="youngest" id="youngestAge" form="demographics"> <option value="">Choose an age</option> <option value="0to6mo">0-6 months old</option> <option value="7to12mo">7-12 months old</option> <option value="1y">1 year old</option> <option value="2y">2 years old</option> <option value="3y">3 years old</option> <option value="4y">4 years old</option> <option value="5y">5 years old</option> <option value="6y">6 years old</option> <option value="7y">7 years old</option> <option value="8y">8 years old</option> <option value="9y">9 years old</option> <option value="10y">10 years old</option> <option value="olderthan10">More than 10 years old</option> </select> <p><b>What do you think this experiment was about?</b></p> <p> <textarea type="text" id="expthoughts" style="width:100%" name="expaim"></textarea> </p> <p><b>Do you have any comments about the articles you read?</b></p> <p> <textarea type="textarea" id="expcomments" style="width:100%" name="expgen"></textarea> </p> <p><b>Was it easy or difficult to read the <em>first article</em> (about children's learning)?</b></p> <p> <select name="reading_ease_target" id="reading_ease_target" form="demographics"> <option value="">Choose an answer</option> <option value="Very Easy">Very Easy</option> <option value="Somewhat Easy">Somewhat Easy</option> <option value="Somewhat Difficult">Somewhat Difficult</option> <option value="Very Difficult">Very Difficult</option> </select> </p> <p><b>How enjoyable was the <em>first article</em> (about children's learning)?</b></p> <p> <select name="enjoy_target" id="enjoy_target" form="demographics"> <option value="">Choose an answer</option> <option value="Very Enjoyable">Very Enjoyable</option> <option value="Somewhat Enjoyable">Somewhat Enjoyable</option> <option value="Somewhat Unenjoyable">Somewhat Unenjoyable</option> <option value="Very Unenjoyable">Very Unenjoyable</option> </select> </p> <p><b>Was it easy or difficult to read the <em>second article</em> (about smell)?</b></p> <p> <select name="<API key>" id="<API key>" form="demographics"> <option value="">Choose an answer</option> <option value="Very Easy">Very Easy</option> <option value="Somewhat Easy">Somewhat Easy</option> <option value="Somewhat Difficult">Somewhat Difficult</option> <option value="Very Difficult">Very Difficult</option> </select> </p> <p><b>How enjoyable was the <em>second article</em> (about smell)?</b></p> <p> <select name="enjoy_control" id="enjoy_control" form="demographics"> <option value="">Choose an answer</option> <option value="Very Enjoyable">Very Enjoyable</option> <option value="Somewhat Enjoyable">Somewhat Enjoyable</option> <option value="Somewhat Unenjoyable">Somewhat Unenjoyable</option> <option value="Very Unenjoyable">Very Unenjoyable</option> </select> </p> <p><b>Had you read either of the articles before this experiment?</b></p> <p> <select name="prior_exposure" id="prior_exposure" form="demographics"> <option value="">Choose an answer</option> <option value="no">No, neither article.</option> <option value="early_learning">Yes, the article about children's learning.</option> <option value="smell">Yes, the article about smell.</option> <option value="both">Yes, both articles.</option> </select> </p> </form> <div> <p>The articles used in this study were:<br> <br>1. Gopnick, Alison, "Why Preschool Shouldn't Be Like School", Slate.com, March, 2011<br> <br>2. Yong, Ed, "Why Do Most Languages Have So Few Words for Smells?", TheAtlantic.com, November, 2015 </p> <div align="center"> <button type="button" id="debriefsubmit" onClick="experiment.submit_comments()">Submit</button> </div> </div> <!-- The finish slide. --> <div class="slide" id="finished"> You're finished - thanks for participating! Submitting to Mechanical Turk... </div> <script src="uptake_e1.js"></script> </body> </html>
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using IdSharp.Tagging.Harness.Wpf.View; namespace IdSharp.Tagging.Harness.Wpf.Controls { public class ImagePopup : Control { public static readonly DependencyProperty SourceProperty = DependencyProperty.Register("Source", typeof(ImageSource), typeof(ImagePopup)); static ImagePopup() { <API key>.OverrideMetadata(typeof(ImagePopup), new <API key>(typeof(ImagePopup))); } private Image _image; public ImagePopup() { MouseEnter += <API key>; MouseLeave += <API key>; } private void <API key>(object sender, MouseEventArgs e) { Image tmpImage = _image; DoubleAnimation doubleAnimation = new DoubleAnimation(0, new Duration(TimeSpan.FromMilliseconds(100))); doubleAnimation.Completed += delegate { MainWindow mainWindow = (MainWindow)Application.Current.MainWindow; mainWindow.MainCanvas.Children.Remove(tmpImage); }; tmpImage.BeginAnimation(OpacityProperty, doubleAnimation); } private void <API key>(object sender, MouseEventArgs e) { MainWindow mainWindow = (MainWindow)Application.Current.MainWindow; Point point = e.GetPosition(mainWindow.MainCanvas); _image = new Image { Source = Source, Height = 200, Width = 200 }; double y = point.Y; if (y + _image.Height > mainWindow.ActualHeight - 60) { y = mainWindow.ActualHeight - _image.Height - 60; } _image.Margin = new Thickness(point.X, y, 0, 0); _image.Opacity = 0; _image.IsHitTestVisible = false; mainWindow.MainCanvas.Children.Add(_image); DoubleAnimation doubleAnimation = new DoubleAnimation(1, new Duration(TimeSpan.FromMilliseconds(200))); _image.BeginAnimation(OpacityProperty, doubleAnimation); } public ImageSource Source { get { return (ImageSource)GetValue(SourceProperty); } set { SetValue(SourceProperty, value); } } } }
from setuptools import setup version = open('VERSION').read() try: import pypandoc description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): description = open('README.md').read() setup( packages = ['taskloaf'], install_requires = ['uvloop', 'cloudpickle', 'pycapnp', 'attrs', 'structlog', 'pyzmq'], zip_safe = False, <API key> = True, name = 'taskloaf', version = version, description = '', long_description = description, url = 'https://github.com/tbenthompson/taskloaf', author = 'T. Ben Thompson', author_email = 't.ben.thompson@gmail.com', license = 'MIT', platforms = ['any'] )
create table VMS.<API key> (id integer, id_type integer, text varchar2(400) ); CREATE SEQUENCE seq_gonk2_interlin; CREATE OR REPLACE TRIGGER my_trigger BEFORE INSERT ON VMS.<API key> FOR EACH ROW BEGIN SELECT seq_gonk2_interlin.NEXTVAL INTO :NEW.id FROM dual; END; ALTER TABLE VMS.<API key> add primary key (ID); ALTER TABLE VMS.<API key> add IDX varchar2(50); ALTER TABLE VMS.<API key> add SOUND_CODE varchar2(50); ALTER TABLE VMS.<API key> add MPH_CODE varchar2(200);
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). #import <IDEKit/NSObject-Protocol.h> @class NSString, NSURL, NSURLRequest; @protocol <API key> <NSObject> @property(readonly, nonatomic) unsigned long long <API key>; @property(readonly, copy, nonatomic) NSURL *<API key>; @property(readonly, copy, nonatomic) NSString *<API key>; @optional @property(readonly, copy, nonatomic) NSURLRequest *<API key>; @end
#ifndef WRUNNER_H #define WRUNNER_H #include <iostream> #include <cstdio> #include <cstdlib> #include <signal.h> #include <dirent.h> #include <unistd.h> #include <fstream> #include <string> #include <vector> #ifdef __WIN32 #include <windows.h> #else #include <unistd.h> /* for fork */ #include <sys/types.h> /* for pid_t */ #include <sys/wait.h> /* for wait */ #include <sys/stat.h> #include <zip.h> #endif #include "boinc_api.h" #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> #include <boost/<API key>.hpp> #include <boost/lexical_cast.hpp> #include <boost/asio.hpp> #include <boost/thread.hpp> #include <boost/date_time.hpp> #include <boost/interprocess/sync/named_mutex.hpp> #include "resolver.h" #include "parser.h" #include "control.h" #include "socket.h" #include "standalone.h" #define PATH_TO_OCLCONFIG "../../opencl.config" #define PATH_TO_CRACKER "fitoclcrack0" #define FILE_SEARCH_KEY "fitoclcrack" #define KERNELS_ARCHIVE "kernels55.zip" /** * @brief Find cracking tool's execution file in the directory * @param path * @return crackerPath */ std::string find_exec_file(std::string path); /** * @brief Prints parameters of with which is the child run * @param args */ void <API key>(std::vector<char*> args); /** * @brief Creates new directory with privileges 0755 (safely) * @param dir */ static void safe_create_dir(const char *dir); /** * @brief Extracts ZIP archive with OCL kernels * @param archive * @return 0 - when everything when OK * 1 - when there was some reading or opening / closing issue */ int zip_extract(char *archive); /** * @brief Check if file with given name exists. * @param name * @return true - if exists * false - if doesn't */ inline bool file_exists (const std::string& name); /** * @brief Main function of Runner * @param argc * @param argv * @return 0 */ int main(int argc, char **argv); /** * @brief Prepares vector with args for fitcrack based on recieved config. * @param vArgs * @param crackerPath * @param port * @param openclConfig1 * @param openclConfig2 * @param xmlFile */ void prepare_args(std::vector<char*>& vArgs, std::string crackerPath, std::string port, std::string openclConfig1, std::string openclConfig2, std::string xmlFile) ; #ifdef __WIN32 // TODO: I guess this isnt' right is it? //const char *Wrathion_path = "wrathion.exe"; #pragma warning( disable : 4800 ) // stupid warning about bool #define BUFSIZE 4096 HANDLE g_hChildStd_OUT_Rd = NULL; HANDLE g_hChildStd_OUT_Wr = NULL; HANDLE g_hChildStd_ERR_Rd = NULL; HANDLE g_hChildStd_ERR_Wr = NULL; /** * @brief Creates a child process with given process name which uses the previously created pipes * for STDERR and STDOUT * @param proc_name * @return piProcInfo */ PROCESS_INFORMATION CreateChildProcess(std::string procName); /** * @brief Read output from the child process's pipe for STDOUT and write to the parent process's pipe for STDOUT. Stop when there is no more data. * @param piProcInfo * @return out */ std::string read_from_pipe(PROCESS_INFORMATION piProcInfo); // TODO: I guess this isn't right is it? //const char *Wrathion_path = "fitcrack41"; #endif extern bool boinc; #endif /* WRUNNER_H */
package jp.co.acroquest.endosnipe.collector.processor; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeMap; import jp.co.acroquest.endosnipe.collector.JavelinDataLogger; import jp.co.acroquest.endosnipe.collector.notification.AlarmEntry; import jp.co.acroquest.endosnipe.data.dto.SignalDefinitionDto; /** * * @author fujii * */ public class AlarmData { private int alarmLevel_; private Long alarmedTime_; private Map<Integer, Long> <API key> = new TreeMap<Integer, Long>(); private final Map<Integer, Long> recoverTimeMap_ = new TreeMap<Integer, Long>(); private int alarmStatus_; public AlarmData() { this.alarmLevel_ = JavelinDataLogger.STOP_ALARM_LEVEL; } /** * @return alarmLevel */ public int getAlarmLevel() { return this.alarmLevel_; } /** * @param alarmLevel alarmLevel */ public void setAlarmLevel(final int alarmLevel) { this.alarmLevel_ = alarmLevel; } /** * @return alarmedTime */ public Long getAlarmedTime() { return this.alarmedTime_; } /** * @param alarmedTime alarmedTime */ public void setAlarmedTime(final Long alarmedTime) { this.alarmedTime_ = alarmedTime; } /** * @return alarmStatus */ public int getAlarmStatus() { return this.alarmStatus_; } /** * @param alarmStatus alarmStatus */ public void setAlarmStatus(final int alarmStatus) { this.alarmStatus_ = alarmStatus; } /** * * @return */ public Map<Integer, Long> <API key>() { return this.<API key>; } /** * * @param level * @return */ public Long <API key>(final int level) { return this.<API key>.get(level); } /** * * @param level * @return */ public Long <API key>(final int level) { Long <API key> = null; for (Entry<Integer, Long> <API key> : this.<API key>.entrySet()) { Integer targetLevel = <API key>.getKey(); Long value = <API key>.getValue(); if (targetLevel.intValue() < level) { <API key> = value; } else { // TreeMap break; } } return <API key>; } /** * * @param <API key> */ public void <API key>(final Map<Integer, Long> <API key>) { this.<API key> = <API key>; } /** * * @param level * @param exceedanceTime */ public void <API key>(final int level, final Long exceedanceTime) { this.<API key>.put(level, exceedanceTime); } /** * * @param level * @param signalDefinition * @return */ public AlarmEntry <API key>(final int level, final SignalDefinitionDto signalDefinition) { double escalationPeriod = signalDefinition.getEscalationPeriod(); long currentTime = System.currentTimeMillis(); AlarmEntry alarmEntry = null; List<Integer> removeList = new ArrayList<Integer>(); for (Entry<Integer, Long> exceedanceTimeEntry : this.<API key>.entrySet()) { Integer targetLevel = exceedanceTimeEntry.getKey(); Long value = exceedanceTimeEntry.getValue(); if (targetLevel.intValue() > level && (value + escalationPeriod) < currentTime) { alarmEntry = new AlarmEntry(); alarmEntry.setAlarmType(AlarmType.FAILURE); alarmEntry.setEscalationPeriod(escalationPeriod); alarmEntry.setSignalValue(targetLevel); alarmEntry.setSendAlarm(true); alarmEntry.setSignalLevel(signalDefinition.getLevel()); setAlarmLevel(targetLevel.intValue()); removeList.add(targetLevel); } } for (Integer removeLevel : removeList) { this.<API key>.remove(removeLevel); } return alarmEntry; } public void <API key>() { this.<API key>.clear(); } /** * * @param level */ public void <API key>(final int level) { Set<Entry<Integer, Long>> <API key> = this.<API key>.entrySet(); Iterator<Entry<Integer, Long>> it = <API key>.iterator(); while (it.hasNext()) { Entry<Integer, Long> <API key> = it.next(); Integer targetLevel = <API key>.getKey(); if (targetLevel.intValue() > level) { it.remove(); } } } /** * * @param level * @return */ public Long getRecoverTime(final int level) { return this.recoverTimeMap_.get(level); } /** * * @param level * @return */ public Long getMinRecoverTime(final int level) { Long minRecoverTime = null; for (Entry<Integer, Long> recoverEntry : this.recoverTimeMap_.entrySet()) { Integer targetLevel = recoverEntry.getKey(); Long value = recoverEntry.getValue(); if (targetLevel.intValue() > level) { minRecoverTime = value; break; } } return minRecoverTime; } /** * * @param alarmData * @param level * @param signalDefinition * @return */ public AlarmEntry <API key>(final AlarmData alarmData, final int level, final SignalDefinitionDto signalDefinition) { double escalationPeriod = signalDefinition.getEscalationPeriod(); long currentTime = System.currentTimeMillis(); AlarmEntry alarmEntry = null; for (Entry<Integer, Long> recoverTimeEntry : this.recoverTimeMap_.entrySet()) { Integer targetLevel = recoverTimeEntry.getKey(); Long value = recoverTimeEntry.getValue(); if (targetLevel.intValue() < level && (value + escalationPeriod) < currentTime) { alarmEntry = new AlarmEntry(); alarmEntry.setAlarmType(AlarmType.RECOVER); alarmEntry.setEscalationPeriod(escalationPeriod); alarmEntry.setSignalValue(targetLevel); alarmEntry.setSendAlarm(true); alarmEntry.setSignalLevel(signalDefinition.getLevel()); setAlarmLevel(targetLevel.intValue()); break; } } return alarmEntry; } public void <API key>() { this.recoverTimeMap_.clear(); } /** * * @param level */ public void clearRecoverTimeMap(final int level) { Set<Entry<Integer, Long>> recoverEntrySet = this.recoverTimeMap_.entrySet(); Iterator<Entry<Integer, Long>> it = recoverEntrySet.iterator(); while (it.hasNext()) { Entry<Integer, Long> recoverEntry = it.next(); Integer targetLevel = recoverEntry.getKey(); if (targetLevel.intValue() < level) { it.remove(); } } } /** * * @param level * @param recoverTime */ public void addRecoverTime(final int level, final Long recoverTime) { this.recoverTimeMap_.put(level, recoverTime); } public void reset() { this.alarmLevel_ = -1; this.alarmStatus_ = -1; this.<API key>.clear(); this.recoverTimeMap_.clear(); } }
#include <WrapArduino.h> #include <WrapServo.h> #ifndef __motor_h #define __motor_h class MyClass { private: Servo _my_servo; int _pin_number; bool _light_on; public: MyClass(int pin_number); void toggle(); bool isOn(); ~MyClass(); }; #endif
// this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // the Software, and to permit persons to whom the Software is furnished to do so, // subject to the following conditions: // copies or substantial portions of the Software. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /*global QUnit: true, Tab: true */ (function () { "use strict"; // jshint quotmark: false, es3: false QUnit.module("Tab.prototype.valueOf()"); QUnit.test("Tab.prototype.valueOf object", function() { QUnit.expect(2); QUnit.strictEqual(typeof Tab.prototype.valueOf, "function", 'typeof Tab.prototype.valueOf === "function"'); QUnit.strictEqual(Tab.prototype.valueOf.length, 0, 'Tab.prototype.valueOf.length === 0'); }); QUnit.test("value = Tab.construct().valueOf()", function() { QUnit.expect(1); var value = Tab.construct().valueOf(); QUnit.strictEqual(value, undefined, 'value === undefined'); }); QUnit.test("value = Tab.newReturn().valueOf()", function() { QUnit.expect(1); var value = Tab.newReturn().valueOf(); QUnit.strictEqual(value, undefined, 'value === undefined'); }); QUnit.test("value = Tab.newReturn(value1).valueOf()", function() { QUnit.expect(1); var value1 = "value1", value = Tab.newReturn(value1).valueOf(); QUnit.strictEqual(value, value1, 'value === value1'); }); QUnit.test("value = Tab.newReturn(Tab.newReturn(value2)).valueOf()", function() { QUnit.expect(1); var value2 = "value2", value = Tab.newReturn(Tab.newReturn(value2)).valueOf(); QUnit.strictEqual(value, value2, 'value === value2'); }); QUnit.test("value = Tab.newReturn(Tab.newThrow(error2)).valueOf()", function() { QUnit.expect(1); var error2 = "error2", tab = Tab.newReturn(Tab.newThrow(error2)); QUnit.strictEqual( (function () { try { tab.valueOf(); } catch (e) { return e; } }()), error2, 'try { Tab.newReturn(Tab.newThrow(error2)).valueOf(); } catch (e) { e === error2 }' ); }); QUnit.test("value = Tab.newThrow(error1).valueOf()", function() { QUnit.expect(1); var error1 = "error1", tab = Tab.newThrow(error1); QUnit.strictEqual( (function () { try { tab.valueOf(); } catch (e) { return e; } }()), error1, 'try { Tab.newThrow(error1).valueOf(); } catch (e) { e === error1 }' ); }); QUnit.test("value = Tab.newThrow(Tab.newReturn(error2)).valueOf()", function() { QUnit.expect(1); var error2 = "error2", tab = Tab.newThrow(Tab.newReturn(error2)); QUnit.strictEqual( (function () { try { tab.valueOf(); } catch (e) { return e; } }()), error2, 'try { Tab.newThrow(Tab.newReturn(error2)).valueOf(); } catch (e) { e === error2 }' ); }); QUnit.test("value = Tab.newThrow(Tab.newThrow(error2)).valueOf()", function() { QUnit.expect(1); var error2 = "error2", tab = Tab.newThrow(Tab.newThrow(error2)); QUnit.strictEqual( (function () { try { tab.valueOf(); } catch (e) { return e; } }()), error2, 'try { Tab.newThrow(Tab.newThrow(error2)).valueOf(); } catch (e) { e === error2 }' ); }); QUnit.test("value = Tab.newThrow().valueOf()", function() { QUnit.expect(1); var tab = Tab.newThrow(); QUnit.strictEqual( (function () { try { tab.valueOf(); } catch (e) { return e; } }()), undefined, 'try { Tab.newThrow().valueOf(); } catch (e) { e === undefined }' ); }); QUnit.test('value = Tab.prototype.valueOf.call(object); object.valueOf() === "value of object"', function() { QUnit.expect(1); var object = { valueOf: function () { return "value of object"; } }, value = Tab.prototype.valueOf.call(object); QUnit.strictEqual(value, "value of object", 'value === "value of object"'); }); }());
export class Constants { static ROW_BUFFER_SIZE = 10; static LAYOUT_INTERVAL = 500; static BATCH_WAIT_MILLIS = 50; static <API key> = 'dragCopy'; static <API key> = 'clipboard'; static EXPORT_TYPE_EXCEL = 'excel'; static EXPORT_TYPE_CSV = 'csv'; static <API key> = 'infinite'; static <API key> = 'viewport'; static <API key> = 'clientSide'; static <API key> = 'serverSide'; static ALWAYS = 'always'; static ONLY_WHEN_GROUPING = 'onlyWhenGrouping'; static PINNED_TOP = 'top'; static PINNED_BOTTOM = 'bottom'; static DOM_LAYOUT_NORMAL = 'normal'; static DOM_LAYOUT_PRINT = 'print'; static <API key> = 'autoHeight'; static <API key> = 'ag-Grid-AutoColumn'; static SOURCE_PASTE = 'paste'; static PINNED_RIGHT: 'right' = 'right'; static PINNED_LEFT: 'left' = 'left'; static SORT_ASC = 'asc'; static SORT_DESC = 'desc'; static INPUT_SELECTOR = 'input, select, button, textarea'; static FOCUSABLE_SELECTOR = '[tabindex], input, select, button, textarea'; static FOCUSABLE_EXCLUDE = '.ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *'; }
## Changelog + __0.3.3__: Added `-nm` option [@wader](https://github.com/wader) + __0.3.2__: Remove activesupport dependency entirely, handle aliased indices [@waterlink](https://github.com/waterlink) + __0.3.1__: Add activesupport dependency since es-reindex uses methods from it. + __0.3.0__: Add `:if` and `:unless` callbacks + __0.2.1__: [BUGFIX] Improve callback presence check + __0.2.0__: Lots of bugfixes, use elasticsearch client gem, add .reindex! method and callbacks + __0.1.0__: First gem release + __0.0.9__: Gemification, Oj -> MultiJSON + __0.0.8__: Optimization in string concat (@nara) + __0.0.7__: Document header arguments `_timestamp` and `_ttl` are copied as well + __0.0.6__: Document headers in bulks are now assembled and properly JSON dumped + __0.0.5__: Merge fix for trailing slash in urls (@ichinco), formatting cleanup + __0.0.4__: Force create only, update is optional (@pgaertig) + __0.0.3__: Yajl -> Oj + __0.0.2__: repated document count comparison + __0.0.1__: first revision
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>SMACSS Admin Template</title> <link rel="stylesheet" href="css/master.css"> <!-- Custom Fonts --> <!-- <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> --> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file: <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif] </head> <body> <div id="wrapper"> <!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.html">SMACSS Admin</a> </div> <!-- Top Menu Items --> <ul class="nav navbar-right top-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope"></i> <b class="caret"></b></a> <ul class="dropdown-menu message-dropdown"> <li class="message-preview"> <a href=" <div class="media"> <span class="pull-left"> <img class="media-object" src="http://placehold.it/50x50" alt=""> </span> <div class="media-body"> <h5 class="media-heading"> <strong>John Smith</strong> </h5> <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p> <p>Lorem ipsum dolor sit amet, consectetur...</p> </div> </div> </a> </li> <li class="message-preview"> <a href=" <div class="media"> <span class="pull-left"> <img class="media-object" src="http://placehold.it/50x50" alt=""> </span> <div class="media-body"> <h5 class="media-heading"> <strong>John Smith</strong> </h5> <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p> <p>Lorem ipsum dolor sit amet, consectetur...</p> </div> </div> </a> </li> <li class="message-preview"> <a href=" <div class="media"> <span class="pull-left"> <img class="media-object" src="http://placehold.it/50x50" alt=""> </span> <div class="media-body"> <h5 class="media-heading"> <strong>John Smith</strong> </h5> <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p> <p>Lorem ipsum dolor sit amet, consectetur...</p> </div> </div> </a> </li> <li class="message-footer"> <a href="#">Read All New Messages</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bell"></i> <b class="caret"></b></a> <ul class="dropdown-menu alert-dropdown"> <li> <a href="#">Alert Name <span class="label label-default">Alert Badge</span></a> </li> <li> <a href="#">Alert Name <span class="label label-primary">Alert Badge</span></a> </li> <li> <a href="#">Alert Name <span class="label label-success">Alert Badge</span></a> </li> <li> <a href="#">Alert Name <span class="label label-info">Alert Badge</span></a> </li> <li> <a href="#">Alert Name <span class="label label-warning">Alert Badge</span></a> </li> <li> <a href="#">Alert Name <span class="label label-danger">Alert Badge</span></a> </li> <li class="divider"></li> <li> <a href="#">View All</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> John Smith <b class="caret"></b></a> <ul class="dropdown-menu"> <li> <a href="#"><i class="fa fa-fw fa-user"></i> Profile</a> </li> <li> <a href="#"><i class="fa fa-fw fa-envelope"></i> Inbox</a> </li> <li> <a href="#"><i class="fa fa-fw fa-gear"></i> Settings</a> </li> <li class="divider"></li> <li> <a href="#"><i class="fa fa-fw fa-power-off"></i> Log Out</a> </li> </ul> </li> </ul> <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens --> <div class="collapse navbar-collapse navbar-ex1-collapse"> <ul class="nav navbar-nav side-nav"> <li> <a href="index.html"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> </li> <li> <a href="tables.html"><i class="fa fa-fw fa-table"></i> Tables</a> </li> <li class="active"> <a href="forms.html"><i class="fa fa-fw fa-edit"></i> Forms</a> </li> <li> <a href="bootstrap-elements.html"><i class="fa fa-fw fa-desktop"></i> Bootstrap Elements</a> </li> <li> <a href="bootstrap-grid.html"><i class="fa fa-fw fa-wrench"></i> Bootstrap Grid</a> </li> <li> <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-arrows-v"></i> Dropdown <i class="fa fa-fw fa-caret-down"></i></a> <ul id="demo" class="collapse"> <li> <a href="#">Dropdown Item</a> </li> <li> <a href="#">Dropdown Item</a> </li> </ul> </li> <li> <a href="blank-page.html"><i class="fa fa-fw fa-file"></i> Blank Page</a> </li> </ul> </div> <!-- /.navbar-collapse --> </nav> <div id="page-wrapper"> <div class="container-fluid"> <!-- Page Heading --> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"> Forms </h1> <ol class="breadcrumb"> <li> <i class="fa fa-dashboard"></i> <a href="index.html">Dashboard</a> </li> <li class="active"> <i class="fa fa-edit"></i> Forms </li> </ol> </div> </div> <!-- /.row --> <div class="row"> <div class="col-lg-6"> <form role="form"> <div class="form-group"> <label>Text Input</label> <input class="form-control"> <p class="help-block">Example block-level help text here.</p> </div> <div class="form-group"> <label>Text Input with Placeholder</label> <input class="form-control" placeholder="Enter text"> </div> <div class="form-group"> <label>Static Control</label> <p class="form-control-static">email@example.com</p> </div> <div class="form-group"> <label>File input</label> <input type="file"> </div> <div class="form-group"> <label>Text area</label> <textarea class="form-control" rows="3"></textarea> </div> <div class="form-group"> <label>Checkboxes</label> <div class="checkbox"> <label> <input type="checkbox" value="">Checkbox 1 </label> </div> <div class="checkbox"> <label> <input type="checkbox" value="">Checkbox 2 </label> </div> <div class="checkbox"> <label> <input type="checkbox" value="">Checkbox 3 </label> </div> </div> <div class="form-group"> <label>Inline Checkboxes</label> <label class="checkbox-inline"> <input type="checkbox">1 </label> <label class="checkbox-inline"> <input type="checkbox">2 </label> <label class="checkbox-inline"> <input type="checkbox">3 </label> </div> <div class="form-group"> <label>Radio Buttons</label> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>Radio 1 </label> </div> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">Radio 2 </label> </div> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3">Radio 3 </label> </div> </div> <div class="form-group"> <label>Inline Radio Buttons</label> <label class="radio-inline"> <input type="radio" name="optionsRadiosInline" id="<API key>" value="option1" checked>1 </label> <label class="radio-inline"> <input type="radio" name="optionsRadiosInline" id="<API key>" value="option2">2 </label> <label class="radio-inline"> <input type="radio" name="optionsRadiosInline" id="<API key>" value="option3">3 </label> </div> <div class="form-group"> <label>Selects</label> <select class="form-control"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <div class="form-group"> <label>Multiple Selects</label> <select multiple class="form-control"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <button type="submit" class="btn btn-default">Submit Button</button> <button type="reset" class="btn btn-default">Reset Button</button> </form> </div> <div class="col-lg-6"> <h1>Disabled Form States</h1> <form role="form"> <fieldset disabled> <div class="form-group"> <label for="disabledSelect">Disabled input</label> <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input" disabled> </div> <div class="form-group"> <label for="disabledSelect">Disabled select menu</label> <select id="disabledSelect" class="form-control"> <option>Disabled select</option> </select> </div> <div class="checkbox"> <label> <input type="checkbox">Disabled Checkbox </label> </div> <button type="submit" class="btn btn-primary">Disabled Button</button> </fieldset> </form> <h1>Form Validation</h1> <form role="form"> <div class="form-group has-success"> <label class="control-label" for="inputSuccess">Input with success</label> <input type="text" class="form-control" id="inputSuccess"> </div> <div class="form-group has-warning"> <label class="control-label" for="inputWarning">Input with warning</label> <input type="text" class="form-control" id="inputWarning"> </div> <div class="form-group has-error"> <label class="control-label" for="inputError">Input with error</label> <input type="text" class="form-control" id="inputError"> </div> </form> <h1>Input Groups</h1> <form role="form"> <div class="form-group input-group"> <span class="input-group-addon">@</span> <input type="text" class="form-control" placeholder="Username"> </div> <div class="form-group input-group"> <input type="text" class="form-control"> <span class="input-group-addon">.00</span> </div> <div class="form-group input-group"> <span class="input-group-addon"><i class="fa fa-eur"></i></span> <input type="text" class="form-control" placeholder="Font Awesome Icon"> </div> <div class="form-group input-group"> <span class="input-group-addon">$</span> <input type="text" class="form-control"> <span class="input-group-addon">.00</span> </div> <div class="form-group input-group"> <input type="text" class="form-control"> <span class="input-group-btn"><button class="btn btn-default" type="button"><i class="fa fa-search"></i></button></span> </div> </form> <p>For complete documentation, please visit <a href="http://getbootstrap.com/css/#forms">Bootstrap's Form Documentation</a>.</p> </div> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper --> </div> <!-- /#wrapper --> <script src="js/bower.js" type="text/javascript" charset="utf-8"></script> <script src="js/application.js" type="text/javascript" charset="utf-8"></script> </body> </html>
# v1.8.7 * Original: [Release electron v1.8.7 - electron/electron](https://github.com/electron/electron/releases/tag/v1.8.7) ## Bug Fixes * Fixed context menu for sandbox devtools. [ * DevTools * `--<API key>` DevTools * **[SECURITY]** Updated command-line backlist switches. [ * **[]** * "backlist" "blacklist" typo * Fixed `contents.setSize(options)` documentation in web-contents.md. [ * web-contents.md `contents.setSize(options)` * `options` * Fixed empty description on file type input when only one extension is given. [ * * [ macOS * Fixed flicker with high DPI resolutions. [ * DPI * Electron
@font-face { font-family: 'Icons'; src: url("./../themes/default/assets/fonts/icons.eot"); src: url("./../themes/default/assets/fonts/icons.eot?#iefix") format('embedded-opentype'), url("./../themes/default/assets/fonts/icons.woff2") format('woff2'), url("./../themes/default/assets/fonts/icons.woff") format('woff'), url("./../themes/default/assets/fonts/icons.ttf") format('truetype'), url("./../themes/default/assets/fonts/icons.svg#icons") format('svg'); font-style: normal; font-weight: normal; font-variant: normal; text-decoration: inherit; text-transform: none; } i.icon { display: inline-block; opacity: 1; margin: 0em 0.25rem 0em 0em; width: 1.18em; height: 1em; font-family: 'Icons'; font-style: normal; font-weight: normal; text-decoration: inherit; text-align: center; speak: none; font-smoothing: antialiased; -<API key>: grayscale; -<API key>: antialiased; -<API key>: hidden; backface-visibility: hidden; } i.icon:before { background: none !important; } i.icon.loading { height: 1em; line-height: 1; -webkit-animation: icon-loading 2s linear infinite; animation: icon-loading 2s linear infinite; } @-webkit-keyframes icon-loading { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes icon-loading { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } i.icon.hover { opacity: 1 !important; } i.icon.active { opacity: 1 !important; } i.emphasized.icon { opacity: 1 !important; } i.disabled.icon { opacity: 0.45 !important; } i.fitted.icon { width: auto; margin: 0em; } i.link.icon, i.link.icons { cursor: pointer; opacity: 0.8; -webkit-transition: opacity 0.1s ease; transition: opacity 0.1s ease; } i.link.icon:hover, i.link.icons:hover { opacity: 1 !important; } i.circular.icon { border-radius: 500em !important; line-height: 1 !important; padding: 0.5em 0.5em !important; -webkit-box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset; box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset; width: 2em !important; height: 2em !important; } i.circular.inverted.icon { border: none; -webkit-box-shadow: none; box-shadow: none; } i.flipped.icon, i.horizontally.flipped.icon { -webkit-transform: scale(-1, 1); transform: scale(-1, 1); } i.vertically.flipped.icon { -webkit-transform: scale(1, -1); transform: scale(1, -1); } i.rotated.icon, i.right.rotated.icon, i.clockwise.rotated.icon { -webkit-transform: rotate(90deg); transform: rotate(90deg); } i.left.rotated.icon, i.counterclockwise.rotated.icon { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); } i.bordered.icon { line-height: 1; vertical-align: baseline; width: 2em; height: 2em; padding: 0.5em 0.41em !important; -webkit-box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset; box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset; } i.bordered.inverted.icon { border: none; -webkit-box-shadow: none; box-shadow: none; } /* Inverted Shapes */ i.inverted.bordered.icon, i.inverted.circular.icon { background-color: #1B1C1D !important; color: #FFFFFF !important; } i.inverted.icon { color: #FFFFFF; } /* Red */ i.red.icon { color: #DB2828 !important; } i.inverted.red.icon { color: #FF695E !important; } i.inverted.bordered.red.icon, i.inverted.circular.red.icon { background-color: #DB2828 !important; color: #FFFFFF !important; } /* Orange */ i.orange.icon { color: #F2711C !important; } i.inverted.orange.icon { color: #FF851B !important; } i.inverted.bordered.orange.icon, i.inverted.circular.orange.icon { background-color: #F2711C !important; color: #FFFFFF !important; } /* Yellow */ i.yellow.icon { color: #FBBD08 !important; } i.inverted.yellow.icon { color: #FFE21F !important; } i.inverted.bordered.yellow.icon, i.inverted.circular.yellow.icon { background-color: #FBBD08 !important; color: #FFFFFF !important; } /* Olive */ i.olive.icon { color: #B5CC18 !important; } i.inverted.olive.icon { color: #D9E778 !important; } i.inverted.bordered.olive.icon, i.inverted.circular.olive.icon { background-color: #B5CC18 !important; color: #FFFFFF !important; } /* Green */ i.green.icon { color: #21BA45 !important; } i.inverted.green.icon { color: #2ECC40 !important; } i.inverted.bordered.green.icon, i.inverted.circular.green.icon { background-color: #21BA45 !important; color: #FFFFFF !important; } /* Teal */ i.teal.icon { color: #00B5AD !important; } i.inverted.teal.icon { color: #6DFFFF !important; } i.inverted.bordered.teal.icon, i.inverted.circular.teal.icon { background-color: #00B5AD !important; color: #FFFFFF !important; } /* Blue */ i.blue.icon { color: #2185D0 !important; } i.inverted.blue.icon { color: #54C8FF !important; } i.inverted.bordered.blue.icon, i.inverted.circular.blue.icon { background-color: #2185D0 !important; color: #FFFFFF !important; } /* Violet */ i.violet.icon { color: #6435C9 !important; } i.inverted.violet.icon { color: #A291FB !important; } i.inverted.bordered.violet.icon, i.inverted.circular.violet.icon { background-color: #6435C9 !important; color: #FFFFFF !important; } /* Purple */ i.purple.icon { color: #A333C8 !important; } i.inverted.purple.icon { color: #DC73FF !important; } i.inverted.bordered.purple.icon, i.inverted.circular.purple.icon { background-color: #A333C8 !important; color: #FFFFFF !important; } /* Pink */ i.pink.icon { color: #E03997 !important; } i.inverted.pink.icon { color: #FF8EDF !important; } i.inverted.bordered.pink.icon, i.inverted.circular.pink.icon { background-color: #E03997 !important; color: #FFFFFF !important; } /* Brown */ i.brown.icon { color: #A5673F !important; } i.inverted.brown.icon { color: #D67C1C !important; } i.inverted.bordered.brown.icon, i.inverted.circular.brown.icon { background-color: #A5673F !important; color: #FFFFFF !important; } /* Grey */ i.grey.icon { color: #767676 !important; } i.inverted.grey.icon { color: #DCDDDE !important; } i.inverted.bordered.grey.icon, i.inverted.circular.grey.icon { background-color: #767676 !important; color: #FFFFFF !important; } /* Black */ i.black.icon { color: #1B1C1D !important; } i.inverted.black.icon { color: #545454 !important; } i.inverted.bordered.black.icon, i.inverted.circular.black.icon { background-color: #1B1C1D !important; color: #FFFFFF !important; } i.mini.icon, i.mini.icons { line-height: 1; font-size: 0.4em; } i.tiny.icon, i.tiny.icons { line-height: 1; font-size: 0.5em; } i.small.icon, i.small.icons { line-height: 1; font-size: 0.75em; } i.icon, i.icons { font-size: 1em; } i.large.icon, i.large.icons { line-height: 1; vertical-align: middle; font-size: 1.5em; } i.big.icon, i.big.icons { line-height: 1; vertical-align: middle; font-size: 2em; } i.huge.icon, i.huge.icons { line-height: 1; vertical-align: middle; font-size: 4em; } i.massive.icon, i.massive.icons { line-height: 1; vertical-align: middle; font-size: 8em; } i.icons { display: inline-block; position: relative; line-height: 1; } i.icons .icon { position: absolute; top: 50%; left: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); margin: 0em; margin: 0; } i.icons .icon:first-child { position: static; width: auto; height: auto; vertical-align: top; -webkit-transform: none; transform: none; margin-right: 0.25rem; } /* Corner Icon */ i.icons .corner.icon { top: auto; left: auto; right: 0; bottom: 0; -webkit-transform: none; transform: none; font-size: 0.45em; text-shadow: -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF; } i.icons .top.right.corner.icon { top: 0; left: auto; right: 0; bottom: auto; } i.icons .top.left.corner.icon { top: 0; left: 0; right: auto; bottom: auto; } i.icons .bottom.left.corner.icon { top: auto; left: 0; right: auto; bottom: 0; } i.icons .bottom.right.corner.icon { top: auto; left: auto; right: 0; bottom: 0; } i.icons .inverted.corner.icon { text-shadow: -1px -1px 0 #1B1C1D, 1px -1px 0 #1B1C1D, -1px 1px 0 #1B1C1D, 1px 1px 0 #1B1C1D; } /* Accessibility */ i.icon.american.sign.language.interpreting:before { content: "\f2a3"; } i.icon.assistive.listening.systems:before { content: "\f2a2"; } i.icon.audio.description:before { content: "\f29e"; } i.icon.blind:before { content: "\f29d"; } i.icon.braille:before { content: "\f2a1"; } i.icon.closed.captioning.outline:before { content: "\f327"; } i.icon.closed.captioning:before { content: "\f20a"; } i.icon.deaf:before { content: "\f2a4"; } i.icon.low.vision:before { content: "\f2a8"; } i.icon.phone.volume:before { content: "\f2a0"; } i.icon.question.circle.outline:before { content: "\f628"; } i.icon.question.circle:before { content: "\f059"; } i.icon.sign.language:before { content: "\f2a7"; } i.icon.tty:before { content: "\f1e4"; } i.icon.universal.access:before { content: "\f29a"; } i.icon.wheelchair:before { content: "\f193"; } /* Arrows */ i.icon.angle.double.down:before { content: "\f103"; } i.icon.angle.double.left:before { content: "\f100"; } i.icon.angle.double.right:before { content: "\f101"; } i.icon.angle.double.up:before { content: "\f102"; } i.icon.angle.down:before { content: "\f107"; } i.icon.angle.left:before { content: "\f104"; } i.icon.angle.right:before { content: "\f105"; } i.icon.angle.up:before { content: "\f106"; } i.icon.arrow.alternate.circle.down.outline:before { content: "\f608"; } i.icon.arrow.alternate.circle.down:before { content: "\f358"; } i.icon.arrow.alternate.circle.left.outline:before { content: "\f605"; } i.icon.arrow.alternate.circle.left:before { content: "\f359"; } i.icon.arrow.alternate.circle.right.outline:before { content: "\f304"; } i.icon.arrow.alternate.circle.right:before { content: "\f35a"; } i.icon.arrow.alternate.circle.up.outline:before { content: "\f305"; } i.icon.arrow.alternate.circle.up:before { content: "\f35b"; } i.icon.arrow.circle.down:before { content: "\f0ab"; } i.icon.arrow.circle.left:before { content: "\f0a8"; } i.icon.arrow.circle.right:before { content: "\f0a9"; } i.icon.arrow.circle.up:before { content: "\f0aa"; } i.icon.arrow.down:before { content: "\f063"; } i.icon.arrow.left:before { content: "\f060"; } i.icon.arrow.right:before { content: "\f061"; } i.icon.arrow.up:before { content: "\f062"; } i.icon.arrows.alternate.horizontal:before { content: "\f337"; } i.icon.arrows.alternate.vertical:before { content: "\f338"; } i.icon.arrows.alternate:before { content: "\f0b2"; } i.icon.caret.down:before { content: "\f0d7"; } i.icon.caret.left:before { content: "\f0d9"; } i.icon.caret.right:before { content: "\f0da"; } i.icon.caret.square.down.outline:before { content: "\f316"; } i.icon.caret.square.down:before { content: "\f150"; } i.icon.caret.square.left.outline:before { content: "\f317"; } i.icon.caret.square.left:before { content: "\f191"; } i.icon.caret.square.right.outline:before { content: "\f318"; } i.icon.caret.square.right:before { content: "\f152"; } i.icon.caret.square.up.outline:before { content: "\f319"; } i.icon.caret.square.up:before { content: "\f151"; } i.icon.caret.up:before { content: "\f0d8"; } i.icon.cart.arrow.down:before { content: "\f218"; } i.icon.chart.line:before { content: "\f201"; } i.icon.chevron.circle.down:before { content: "\f13a"; } i.icon.chevron.circle.left:before { content: "\f137"; } i.icon.chevron.circle.right:before { content: "\f138"; } i.icon.chevron.circle.up:before { content: "\f139"; } i.icon.chevron.down:before { content: "\f078"; } i.icon.chevron.left:before { content: "\f053"; } i.icon.chevron.right:before { content: "\f054"; } i.icon.chevron.up:before { content: "\f077"; } i.icon.cloud.download.alternate:before { content: "\f600"; } i.icon.cloud.upload.alternate:before { content: "\f601"; } i.icon.download:before { content: "\f019"; } i.icon.exchange.alternate:before { content: "\f362"; } i.icon.expand.arrows.alternate:before { content: "\f31e"; } i.icon.external.link.alternate:before { content: "\f35d"; } i.icon.external.link.square.alternate:before { content: "\f360"; } i.icon.hand.point.down.outline:before { content: "\f602"; } i.icon.hand.point.down:before { content: "\f0a7"; } i.icon.hand.point.left.outline:before { content: "\f361"; } i.icon.hand.point.left:before { content: "\f0a5"; } i.icon.hand.point.right.outline:before { content: "\f362"; } i.icon.hand.point.right:before { content: "\f0a4"; } i.icon.hand.point.up.outline:before { content: "\f363"; } i.icon.hand.point.up:before { content: "\f0a6"; } i.icon.hand.pointer.outline:before { content: "\f364"; } i.icon.hand.pointer:before { content: "\f25a"; } i.icon.history:before { content: "\f1da"; } i.icon.level.down.alternate:before { content: "\f3be"; } i.icon.level.up.alternate:before { content: "\f3bf"; } i.icon.location.arrow:before { content: "\f124"; } i.icon.long.arrow.alternate.down:before { content: "\f309"; } i.icon.long.arrow.alternate.left:before { content: "\f30a"; } i.icon.long.arrow.alternate.right:before { content: "\f30b"; } i.icon.long.arrow.alternate.up:before { content: "\f30c"; } i.icon.mouse.pointer:before { content: "\f245"; } i.icon.play:before { content: "\f04b"; } i.icon.random:before { content: "\f074"; } i.icon.recycle:before { content: "\f1b8"; } i.icon.redo.alternate:before { content: "\f2f9"; } i.icon.redo:before { content: "\f01e"; } i.icon.reply.all:before { content: "\f122"; } i.icon.reply:before { content: "\f3e5"; } i.icon.retweet:before { content: "\f079"; } i.icon.share.square.outline:before { content: "\f631"; } i.icon.share.square:before { content: "\f14d"; } i.icon.share:before { content: "\f064"; } i.icon.sign.in.alternate:before { content: "\f2f6"; } i.icon.sign.out.alternate:before { content: "\f2f5"; } i.icon.sort.alphabet.down:before { content: "\f15d"; } i.icon.sort.alphabet.up:before { content: "\f15e"; } i.icon.sort.amount.down:before { content: "\f160"; } i.icon.sort.amount.up:before { content: "\f161"; } i.icon.sort.down:before { content: "\f0dd"; } i.icon.sort.numeric.down:before { content: "\f162"; } i.icon.sort.numeric.up:before { content: "\f163"; } i.icon.sort.up:before { content: "\f0de"; } i.icon.sort:before { content: "\f0dc"; } i.icon.sync.alternate:before { content: "\f2f1"; } i.icon.sync:before { content: "\f021"; } i.icon.text.height:before { content: "\f034"; } i.icon.text.width:before { content: "\f035"; } i.icon.undo.alternate:before { content: "\f2ea"; } i.icon.undo:before { content: "\f0e2"; } i.icon.upload:before { content: "\f093"; } /* Audio & Video */ i.icon.backward:before { content: "\f04a"; } i.icon.circle.outline:before { content: "\f323"; } i.icon.circle:before { content: "\f111"; } i.icon.compress:before { content: "\f066"; } i.icon.eject:before { content: "\f052"; } i.icon.expand:before { content: "\f065"; } i.icon.fast.backward:before { content: "\f049"; } i.icon.fast.forward:before { content: "\f050"; } i.icon.file.audio.outline:before { content: "\f342"; } i.icon.file.audio:before { content: "\f1c7"; } i.icon.file.video.outline:before { content: "\f348"; } i.icon.file.video:before { content: "\f1c8"; } i.icon.film:before { content: "\f008"; } i.icon.forward:before { content: "\f04e"; } i.icon.headphones:before { content: "\f025"; } i.icon.microphone.slash:before { content: "\f131"; } i.icon.microphone:before { content: "\f130"; } i.icon.music:before { content: "\f001"; } i.icon.pause.circle.outline:before { content: "\f625"; } i.icon.pause.circle:before { content: "\f28b"; } i.icon.pause:before { content: "\f04c"; } i.icon.play.circle.outline:before { content: "\f626"; } i.icon.play.circle:before { content: "\f144"; } i.icon.podcast:before { content: "\f2ce"; } i.icon.rss.square:before { content: "\f143"; } i.icon.rss:before { content: "\f09e"; } i.icon.step.backward:before { content: "\f048"; } i.icon.step.forward:before { content: "\f051"; } i.icon.stop.circle.outline:before { content: "\f636"; } i.icon.stop.circle:before { content: "\f28d"; } i.icon.stop:before { content: "\f04d"; } i.icon.video:before { content: "\f03d"; } i.icon.volume.down:before { content: "\f027"; } i.icon.volume.off:before { content: "\f026"; } i.icon.volume.up:before { content: "\f028"; } /* Business */ i.icon.address.book.outline:before { content: "\f300"; } i.icon.address.book:before { content: "\f2b9"; } i.icon.address.card.outline:before { content: "\f301"; } i.icon.address.card:before { content: "\f2bb"; } i.icon.archive:before { content: "\f187"; } i.icon.balance.scale:before { content: "\f24e"; } i.icon.birthday.cake:before { content: "\f1fd"; } i.icon.book:before { content: "\f02d"; } i.icon.briefcase:before { content: "\f0b1"; } i.icon.building.outline:before { content: "\f603"; } i.icon.building:before { content: "\f1ad"; } i.icon.bullhorn:before { content: "\f0a1"; } i.icon.calculator:before { content: "\f1ec"; } i.icon.calendar.alternate.outline:before { content: "\f310"; } i.icon.calendar.alternate:before { content: "\f073"; } i.icon.calendar.outline:before { content: "\f315"; } i.icon.calendar:before { content: "\f133"; } i.icon.certificate:before { content: "\f0a3"; } i.icon.chart.area:before { content: "\f1fe"; } i.icon.chart.bar.outline:before { content: "\f320"; } i.icon.chart.bar:before { content: "\f080"; } i.icon.chart.pie:before { content: "\f200"; } i.icon.clipboard.outline:before { content: "\f324"; } i.icon.clipboard:before { content: "\f328"; } i.icon.coffee:before { content: "\f0f4"; } i.icon.columns:before { content: "\f0db"; } i.icon.compass.outline:before { content: "\f331"; } i.icon.compass:before { content: "\f14e"; } i.icon.copy.outline:before { content: "\f332"; } i.icon.copy:before { content: "\f0c5"; } i.icon.copyright.outline:before { content: "\f333"; } i.icon.copyright:before { content: "\f1f9"; } i.icon.cut:before { content: "\f0c4"; } i.icon.edit.outline:before { content: "\f336"; } i.icon.edit:before { content: "\f044"; } i.icon.envelope.open.outline:before { content: "\f337"; } i.icon.envelope.open:before { content: "\f2b6"; } i.icon.envelope.outline:before { content: "\f338"; } i.icon.envelope.square:before { content: "\f199"; } i.icon.envelope:before { content: "\f0e0"; } i.icon.eraser:before { content: "\f12d"; } i.icon.fax:before { content: "\f1ac"; } i.icon.file.alternate.outline:before { content: "\f340"; } i.icon.file.alternate:before { content: "\f15c"; } i.icon.file.outline:before { content: "\f350"; } i.icon.file:before { content: "\f15b"; } i.icon.folder.open.outline:before { content: "\f352"; } i.icon.folder.open:before { content: "\f07c"; } i.icon.folder.outline:before { content: "\f353"; } i.icon.folder:before { content: "\f07b"; } i.icon.globe:before { content: "\f0ac"; } i.icon.industry:before { content: "\f275"; } i.icon.paperclip:before { content: "\f0c6"; } i.icon.paste:before { content: "\f0ea"; } i.icon.pen.square:before { content: "\f14b"; } i.icon.pencil.alternate:before { content: "\f303"; } i.icon.percent:before { content: "\f295"; } i.icon.phone.square:before { content: "\f098"; } i.icon.phone:before { content: "\f095"; } i.icon.registered.outline:before { content: "\f629"; } i.icon.registered:before { content: "\f25d"; } i.icon.save.outline:before { content: "\f630"; } i.icon.save:before { content: "\f0c7"; } i.icon.sitemap:before { content: "\f0e8"; } i.icon.sticky.note.outline:before { content: "\f635"; } i.icon.sticky.note:before { content: "\f249"; } i.icon.suitcase:before { content: "\f0f2"; } i.icon.table:before { content: "\f0ce"; } i.icon.tag:before { content: "\f02b"; } i.icon.tags:before { content: "\f02c"; } i.icon.tasks:before { content: "\f0ae"; } i.icon.thumbtack:before { content: "\f08d"; } i.icon.trademark:before { content: "\f25c"; } /* Chess */ i.icon.chess:before { content: "\f439"; } i.icon.chess.bishop:before { content: "\f43a"; } i.icon.chess.board:before { content: "\f43c"; } i.icon.chess.king:before { content: "\f43f"; } i.icon.chess.knight:before { content: "\f441"; } i.icon.chess.pawn:before { content: "\f443"; } i.icon.chess.queen:before { content: "\f445"; } i.icon.chess.rock:before { content: "\f447"; } i.icon.square.full:before { content: "\f45c"; } /* Code */ i.icon.barcode:before { content: "\f02a"; } i.icon.bath:before { content: "\f2cd"; } i.icon.bug:before { content: "\f188"; } i.icon.code:before { content: "\f121"; } i.icon.code.branch:before { content: "\f126"; } i.icon.file.code.outline:before { content: "\f343"; } i.icon.file.code:before { content: "\f1c9"; } i.icon.filter:before { content: "\f0b0"; } i.icon.fire.extinguisher:before { content: "\f134"; } i.icon.keyboard.outline:before { content: "\f377"; } i.icon.keyboard:before { content: "\f11c"; } i.icon.microchip:before { content: "\f2db"; } i.icon.qrcode:before { content: "\f029"; } i.icon.shield.alternate:before { content: "\f3ed"; } i.icon.terminal:before { content: "\f120"; } i.icon.user.secret:before { content: "\f21b"; } i.icon.window.close.outline:before { content: "\f642"; } i.icon.window.close:before { content: "\f410"; } i.icon.window.maximize.outline:before { content: "\f644"; } i.icon.window.maximize:before { content: "\f2d0"; } i.icon.window.minimize.outline:before { content: "\f643"; } i.icon.window.minimize:before { content: "\f2d1"; } i.icon.window.restore.outline:before { content: "\f416"; } i.icon.window.restore:before { content: "\f2d2"; } /* Communication */ i.icon.at:before { content: "\f1fa"; } i.icon.bell.outline:before { content: "\f307"; } i.icon.bell.slash.outline:before { content: "\f306"; } i.icon.bell.slash:before { content: "\f1f6"; } i.icon.bell:before { content: "\f0f3"; } i.icon.comment.alternate.outline:before { content: "\f604"; } i.icon.comment.alternate:before { content: "\f27a"; } i.icon.comment.outline:before { content: "\f329"; } i.icon.comment:before { content: "\f075"; } i.icon.comments.outline:before { content: "\f330"; } i.icon.comments:before { content: "\f086"; } i.icon.inbox:before { content: "\f01c"; } i.icon.language:before { content: "\f1ab"; } i.icon.mobile.alternate:before { content: "\f3cd"; } i.icon.mobile:before { content: "\f10b"; } i.icon.paper.plane.outline:before { content: "\f390"; } i.icon.paper.plane:before { content: "\f1d8"; } i.icon.wifi:before { content: "\f1eb"; } /* Computers */ i.icon.desktop:before { content: "\f108"; } i.icon.hdd.outline:before { content: "\f611"; } i.icon.hdd:before { content: "\f0a0"; } i.icon.laptop:before { content: "\f109"; } i.icon.plug:before { content: "\f1e6"; } i.icon.power.off:before { content: "\f011"; } i.icon.print:before { content: "\f02f"; } i.icon.server:before { content: "\f233"; } i.icon.tablet.alternate:before { content: "\f3fa"; } i.icon.tablet:before { content: "\f10a"; } i.icon.tv:before { content: "\f26c"; } /* Currency */ i.icon.dollar.sign:before { content: "\f155"; } i.icon.euro.sign:before { content: "\f153"; } i.icon.lira.sign:before { content: "\f195"; } i.icon.money.bill.alternate.outline:before { content: "\f623"; } i.icon.money.bill.alternate:before { content: "\f3d1"; } i.icon.pound.sign:before { content: "\f154"; } i.icon.ruble.sign:before { content: "\f158"; } i.icon.rupee.sign:before { content: "\f156"; } i.icon.shekel.sign:before { content: "\f20b"; } i.icon.won.sign:before { content: "\f159"; } i.icon.yen.sign:before { content: "\f157"; } /* Date & Time */ i.icon.calendar.check.outline:before { content: "\f311"; } i.icon.calendar.check:before { content: "\f274"; } i.icon.calendar.minus.outline:before { content: "\f312"; } i.icon.calendar.minus:before { content: "\f272"; } i.icon.calendar.plus.outline:before { content: "\f313"; } i.icon.calendar.plus:before { content: "\f271"; } i.icon.calendar.times.outline:before { content: "\f314"; } i.icon.calendar.times:before { content: "\f273"; } i.icon.clock.outline:before { content: "\f325"; } i.icon.clock:before { content: "\f017"; } i.icon.hourglass.end:before { content: "\f253"; } i.icon.hourglass.half:before { content: "\f252"; } i.icon.hourglass.outline:before { content: "\f614"; } i.icon.hourglass.start:before { content: "\f251"; } i.icon.hourglass:before { content: "\f254"; } i.icon.stopwatch:before { content: "\f2f2"; } /* Design */ i.icon.adjust:before { content: "\f042"; } i.icon.clone.outline:before { content: "\f326"; } i.icon.clone:before { content: "\f24d"; } i.icon.crop:before { content: "\f125"; } i.icon.crosshairs:before { content: "\f05b"; } i.icon.eye.dropper:before { content: "\f1fb"; } i.icon.eye.slash.outline:before { content: "\f339"; } i.icon.eye.slash:before { content: "\f070"; } i.icon.eye:before { content: "\f06e"; } i.icon.object.group.outline:before { content: "\f624"; } i.icon.object.group:before { content: "\f247"; } i.icon.object.ungroup.outline:before { content: "\f389"; } i.icon.object.ungroup:before { content: "\f248"; } i.icon.paint.brush:before { content: "\f1fc"; } i.icon.tint:before { content: "\f043"; } /* Editors */ i.icon.align.center:before { content: "\f037"; } i.icon.align.justify:before { content: "\f039"; } i.icon.align.left:before { content: "\f036"; } i.icon.align.right:before { content: "\f038"; } i.icon.bold:before { content: "\f032"; } i.icon.font:before { content: "\f031"; } i.icon.heading:before { content: "\f1dc"; } i.icon.i.cursor:before { content: "\f246"; } i.icon.indent:before { content: "\f03c"; } i.icon.italic:before { content: "\f033"; } i.icon.link:before { content: "\f0c1"; } i.icon.list.alternate.outline:before { content: "\f381"; } i.icon.list.alternate:before { content: "\f022"; } i.icon.ordered.list:before { content: "\f0cb"; } i.icon.unordered.list:before { content: "\f0ca"; } i.icon.list:before { content: "\f03a"; } i.icon.outdent:before { content: "\f03b"; } i.icon.paragraph:before { content: "\f1dd"; } i.icon.quote.left:before { content: "\f10d"; } i.icon.quote.right:before { content: "\f10e"; } i.icon.strikethrough:before { content: "\f0cc"; } i.icon.subscript:before { content: "\f12c"; } i.icon.superscript:before { content: "\f12b"; } i.icon.th.large:before { content: "\f009"; } i.icon.th.list:before { content: "\f00b"; } i.icon.th:before { content: "\f00a"; } i.icon.trash.alternate.outline:before { content: "\f640"; } i.icon.trash.alternate:before { content: "\f2ed"; } i.icon.trash:before { content: "\f1f8"; } i.icon.underline:before { content: "\f0cd"; } i.icon.unlink:before { content: "\f127"; } /* Files */ i.icon.file.archive.outline:before { content: "\f341"; } i.icon.file.archive:before { content: "\f1c6"; } i.icon.file.excel.outline:before { content: "\f344"; } i.icon.file.excel:before { content: "\f1c3"; } i.icon.file.image.outline:before { content: "\f617"; } i.icon.file.image:before { content: "\f1c5"; } i.icon.file.pdf.outline:before { content: "\f346"; } i.icon.file.pdf:before { content: "\f1c1"; } i.icon.file.powerpoint.outline:before { content: "\f347"; } i.icon.file.powerpoint:before { content: "\f1c4"; } i.icon.file.word.outline:before { content: "\f349"; } i.icon.file.word:before { content: "\f1c2"; } /* Genders */ i.icon.genderless:before { content: "\f22d"; } i.icon.mars.double:before { content: "\f227"; } i.icon.mars.stroke.horizontal:before { content: "\f22b"; } i.icon.mars.stroke.vertical:before { content: "\f22a"; } i.icon.mars.stroke:before { content: "\f229"; } i.icon.mars:before { content: "\f222"; } i.icon.mercury:before { content: "\f223"; } i.icon.neuter:before { content: "\f22c"; } i.icon.transgender.alternate:before { content: "\f225"; } i.icon.transgender:before { content: "\f224"; } i.icon.venus.double:before { content: "\f226"; } i.icon.venus.mars:before { content: "\f228"; } i.icon.venus:before { content: "\f221"; } /* Hands */ i.icon.hand.lizard.outline:before { content: "\f357"; } i.icon.hand.lizard:before { content: "\f258"; } i.icon.hand.paper.outline:before { content: "\f358"; } i.icon.hand.paper:before { content: "\f256"; } i.icon.hand.peace.outline:before { content: "\f359"; } i.icon.hand.peace:before { content: "\f25b"; } i.icon.hand.rock.outline:before { content: "\f365"; } i.icon.hand.rock:before { content: "\f255"; } i.icon.hand.scissors.outline:before { content: "\f366"; } i.icon.hand.scissors:before { content: "\f257"; } i.icon.hand.spock.outline:before { content: "\f367"; } i.icon.hand.spock:before { content: "\f259"; } i.icon.handshake.outline:before { content: "\f610"; } i.icon.handshake:before { content: "\f2b5"; } i.icon.thumbs.down.outline:before { content: "\f406"; } i.icon.thumbs.down:before { content: "\f165"; } i.icon.thumbs.up.outline:before { content: "\f638"; } i.icon.thumbs.up:before { content: "\f164"; } /* Health */ i.icon.ambulance:before { content: "\f0f9"; } i.icon.h.square:before { content: "\f0fd"; } i.icon.heart.outline:before { content: "\f612"; } i.icon.heart:before { content: "\f004"; } i.icon.heartbeat:before { content: "\f21e"; } i.icon.hospital.outline:before { content: "\f613"; } i.icon.hospital:before { content: "\f0f8"; } i.icon.medkit:before { content: "\f0fa"; } i.icon.plus.square.outline:before { content: "\f627"; } i.icon.plus.square:before { content: "\f0fe"; } i.icon.stethoscope:before { content: "\f0f1"; } i.icon.user.doctor:before { content: "\f0f0"; } /* Images */ i.icon.bolt:before { content: "\f0e7"; } i.icon.camera.retro:before { content: "\f083"; } i.icon.camera:before { content: "\f030"; } i.icon.id.badge.outline:before { content: "\f615"; } i.icon.id.badge:before { content: "\f2c1"; } i.icon.id.card.outline:before { content: "\f616"; } i.icon.id.card:before { content: "\f2c2"; } i.icon.image.outline:before { content: "\f617"; } i.icon.image:before { content: "\f03e"; } i.icon.images.outline:before { content: "\f376"; } i.icon.images:before { content: "\f302"; } i.icon.sliders.horizontal:before { content: "\f1de"; } /* Interfaces */ i.icon.ban:before { content: "\f05e"; } i.icon.bars:before { content: "\f0c9"; } i.icon.beer:before { content: "\f0fc"; } i.icon.bullseye:before { content: "\f140"; } i.icon.check.circle.outline:before { content: "\f321"; } i.icon.check.circle:before { content: "\f058"; } i.icon.check.square.outline:before { content: "\f322"; } i.icon.check.square:before { content: "\f14a"; } i.icon.check:before { content: "\f00c"; } i.icon.cloud:before { content: "\f0c2"; } i.icon.cog:before { content: "\f013"; } i.icon.cogs:before { content: "\f085"; } i.icon.database:before { content: "\f1c0"; } i.icon.dot.circle.outline:before { content: "\f335"; } i.icon.dot.circle:before { content: "\f192"; } i.icon.ellipsis.horizontal:before { content: "\f141"; } i.icon.ellipsis.vertical:before { content: "\f142"; } i.icon.exclamation.circle:before { content: "\f06a"; } i.icon.exclamation.triangle:before { content: "\f071"; } i.icon.exclamation:before { content: "\f12a"; } i.icon.flag.checkered:before { content: "\f11e"; } i.icon.flag.outline:before { content: "\f351"; } i.icon.flag:before { content: "\f024"; } i.icon.frown.outline:before { content: "\f354"; } i.icon.frown:before { content: "\f119"; } i.icon.hashtag:before { content: "\f292"; } i.icon.home:before { content: "\f015"; } i.icon.info.circle:before { content: "\f05a"; } i.icon.info:before { content: "\f129"; } i.icon.magic:before { content: "\f0d0"; } i.icon.meh.outline:before { content: "\f621"; } i.icon.meh:before { content: "\f11a"; } i.icon.minus.circle:before { content: "\f056"; } i.icon.minus.square.outline:before { content: "\f622"; } i.icon.minus.square:before { content: "\f146"; } i.icon.minus:before { content: "\f068"; } i.icon.plus.circle:before { content: "\f055"; } i.icon.plus:before { content: "\f067"; } i.icon.question:before { content: "\f128"; } i.icon.search.minus:before { content: "\f010"; } i.icon.search.plus:before { content: "\f00e"; } i.icon.search:before { content: "\f002"; } i.icon.share.alternate.square:before { content: "\f1e1"; } i.icon.share.alternate:before { content: "\f1e0"; } i.icon.shield:before { content: "\f3ed"; } i.icon.signal:before { content: "\f012"; } i.icon.smile.outline:before { content: "\f398"; } i.icon.smile:before { content: "\f118"; } i.icon.star.half.outline:before { content: "\f401"; } i.icon.star.half:before { content: "\f089"; } i.icon.star.outline:before { content: "\f634"; } i.icon.star:before { content: "\f005"; } i.icon.times.circle.outline:before { content: "\f639"; } i.icon.times.circle:before { content: "\f057"; } i.icon.times:before { content: "\f00d"; } i.icon.toggle.off:before { content: "\f204"; } i.icon.toggle.on:before { content: "\f205"; } i.icon.trophy:before { content: "\f091"; } i.icon.user.circle.outline:before { content: "\f606"; } i.icon.user.circle:before { content: "\f2bd"; } i.icon.user.outline:before { content: "\f641"; } i.icon.user:before { content: "\f007"; } /* Maps */ i.icon.anchor:before { content: "\f13d"; } i.icon.bed:before { content: "\f236"; } i.icon.bicycle:before { content: "\f206"; } i.icon.binoculars:before { content: "\f1e5"; } i.icon.bomb:before { content: "\f1e2"; } i.icon.bookmark.outline:before { content: "\f308"; } i.icon.bookmark:before { content: "\f02e"; } i.icon.car:before { content: "\f1b9"; } i.icon.fighter.jet:before { content: "\f0fb"; } i.icon.fire:before { content: "\f06d"; } i.icon.flask:before { content: "\f0c3"; } i.icon.gamepad:before { content: "\f11b"; } i.icon.gavel:before { content: "\f0e3"; } i.icon.gift:before { content: "\f06b"; } i.icon.glass.martini:before { content: "\f000"; } i.icon.graduation.cap:before { content: "\f19d"; } i.icon.key:before { content: "\f084"; } i.icon.leaf:before { content: "\f06c"; } i.icon.lemon.outline:before { content: "\f618"; } i.icon.lemon:before { content: "\f094"; } i.icon.life.ring.outline:before { content: "\f619"; } i.icon.life.ring:before { content: "\f1cd"; } i.icon.lightbulb.outline:before { content: "\f620"; } i.icon.lightbulb:before { content: "\f0eb"; } i.icon.magnet:before { content: "\f076"; } i.icon.male:before { content: "\f183"; } i.icon.map.marker.alternate:before { content: "\f3c5"; } i.icon.map.marker:before { content: "\f041"; } i.icon.map.outline:before { content: "\f382"; } i.icon.map.pin:before { content: "\f276"; } i.icon.map.signs:before { content: "\f277"; } i.icon.map:before { content: "\f279"; } i.icon.motorcycle:before { content: "\f21c"; } i.icon.newspaper.outline:before { content: "\f387"; } i.icon.newspaper:before { content: "\f1ea"; } i.icon.paw:before { content: "\f1b0"; } i.icon.plane:before { content: "\f072"; } i.icon.road:before { content: "\f018"; } i.icon.rocket:before { content: "\f135"; } i.icon.ship:before { content: "\f21a"; } i.icon.shopping.bag:before { content: "\f290"; } i.icon.shopping.basket:before { content: "\f291"; } i.icon.shopping.cart:before { content: "\f07a"; } i.icon.shower:before { content: "\f2cc"; } i.icon.street.view:before { content: "\f21d"; } i.icon.subway:before { content: "\f239"; } i.icon.taxi:before { content: "\f1ba"; } i.icon.ticket.alternate:before { content: "\f3ff"; } i.icon.train:before { content: "\f238"; } i.icon.tree:before { content: "\f1bb"; } i.icon.truck:before { content: "\f0d1"; } i.icon.umbrella:before { content: "\f0e9"; } i.icon.university:before { content: "\f19c"; } i.icon.utensil.spoon:before { content: "\f2e5"; } i.icon.utensils:before { content: "\f2e7"; } i.icon.wrench:before { content: "\f0ad"; } /* Objects */ i.icon.bus:before { content: "\f207"; } i.icon.cube:before { content: "\f1b2"; } i.icon.cubes:before { content: "\f1b3"; } i.icon.futbol.outline:before { content: "\f633"; } i.icon.futbol:before { content: "\f1e3"; } i.icon.gem.outline:before { content: "\f356"; } i.icon.gem:before { content: "\f3a5"; } i.icon.lock.open:before { content: "\f3c1"; } i.icon.lock:before { content: "\f023"; } i.icon.moon.outline:before { content: "\f386"; } i.icon.moon:before { content: "\f186"; } i.icon.puzzle:before { content: "\f12e"; } i.icon.snowflake.outline:before { content: "\f632"; } i.icon.snowflake:before { content: "\f2dc"; } i.icon.space.shuttle:before { content: "\f197"; } i.icon.sun.outline:before { content: "\f637"; } i.icon.sun:before { content: "\f185"; } i.icon.tachometer.alternate:before { content: "\f3fd"; } i.icon.unlock.alternate:before { content: "\f13e"; } i.icon.unlock:before { content: "\f09c"; } /* Payments & Shopping */ i.icon.cart.plus:before { content: "\f217"; } i.icon.credit.card.outline:before { content: "\f334"; } i.icon.credit.card:before { content: "\f09d"; } /* Shapes */ i.icon.square.outline:before { content: "\f400"; } i.icon.square:before { content: "\f0c8"; } /* Spinners */ i.icon.asterisk:before { content: "\f069"; } i.icon.circle.notch:before { content: "\f1ce"; } i.icon.spinner:before { content: "\f110"; } /* Sports */ i.icon.baseball.ball:before { content: "\f433"; } i.icon.basketball.ball:before { content: "\f434"; } i.icon.bowling.ball:before { content: "\f436"; } i.icon.football.ball:before { content: "\f44e"; } i.icon.golf.ball:before { content: "\f450"; } i.icon.hockey.puck:before { content: "\f453"; } i.icon.quidditch:before { content: "\f458"; } i.icon.table.tennis:before { content: "\f45d"; } i.icon.volleyball.ball:before { content: "\f45f"; } /* Status */ i.icon.battery.empty:before { content: "\f244"; } i.icon.battery.full:before { content: "\f240"; } i.icon.battery.half:before { content: "\f242"; } i.icon.battery.quarter:before { content: "\f243"; } i.icon.battery.three.quarters:before { content: "\f241"; } i.icon.thermometer.empty:before { content: "\f2cb"; } i.icon.thermometer.full:before { content: "\f2c7"; } i.icon.thermometer.half:before { content: "\f2c9"; } i.icon.thermometer.quarter:before { content: "\f2ca"; } i.icon.thermometer.three.quarters:before { content: "\f2c8"; } /* Users & People */ i.icon.child:before { content: "\f1ae"; } i.icon.female:before { content: "\f182"; } i.icon.user.circle.outline:before { content: "\f410"; } i.icon.user.plus:before { content: "\f234"; } i.icon.user.times:before { content: "\f235"; } i.icon.users:before { content: "\f0c0"; } /* Brands */ i.icon.\35 00px:before { content: "\f26e"; } i.icon.accessible.icon:before { content: "\f368"; } i.icon.accusoft:before { content: "\f369"; } i.icon.adn:before { content: "\f170"; } i.icon.adversal:before { content: "\f36a"; } i.icon.affiliatetheme:before { content: "\f36b"; } i.icon.algolia:before { content: "\f36c"; } i.icon.amazon.pay:before { content: "\f42c"; } i.icon.amazon:before { content: "\f270"; } i.icon.amilia:before { content: "\f36d"; } i.icon.android:before { content: "\f17b"; } i.icon.angellist:before { content: "\f209"; } i.icon.angrycreative:before { content: "\f36e"; } i.icon.angular:before { content: "\f420"; } i.icon.app.store.ios:before { content: "\f370"; } i.icon.app.store:before { content: "\f36f"; } i.icon.apper:before { content: "\f371"; } i.icon.apple.pay:before { content: "\f609"; } i.icon.apple:before { content: "\f179"; } i.icon.asymmetrik:before { content: "\f372"; } i.icon.audible:before { content: "\f373"; } i.icon.autoprefixer:before { content: "\f41c"; } i.icon.avianex:before { content: "\f374"; } i.icon.aviato:before { content: "\f421"; } i.icon.aws:before { content: "\f375"; } i.icon.bandcamp:before { content: "\f2d5"; } i.icon.behance.square:before { content: "\f1b5"; } i.icon.behance:before { content: "\f1b4"; } i.icon.bimobject:before { content: "\f378"; } i.icon.bitbucket:before { content: "\f171"; } i.icon.bitcoin:before { content: "\f379"; } i.icon.bity:before { content: "\f37a"; } i.icon.black.tie:before { content: "\f27e"; } i.icon.blackberry:before { content: "\f37b"; } i.icon.blogger.b:before { content: "\f37d"; } i.icon.blogger:before { content: "\f37c"; } i.icon.bluetooth.b:before { content: "\f294"; } i.icon.bluetooth:before { content: "\f293"; } i.icon.btc:before { content: "\f15a"; } i.icon.buromobelexperte:before { content: "\f37f"; } i.icon.buysellads:before { content: "\f20d"; } i.icon.credit.card.amazon.pay:before { content: "\f42d"; } i.icon.credit.card.american.express:before { content: "\f1f3"; } i.icon.credit.card.apple.pay:before { content: "\f607"; } i.icon.credit.card.diners.club:before { content: "\f24c"; } i.icon.credit.card.discover:before { content: "\f1f2"; } i.icon.credit.card.jcb:before { content: "\f24b"; } i.icon.credit.card.mastercard:before { content: "\f1f1"; } i.icon.credit.card.paypal:before { content: "\f1f4"; } i.icon.credit.card.stripe:before { content: "\f1f5"; } i.icon.credit.card.visa:before { content: "\f1f0"; } i.icon.centercode:before { content: "\f380"; } i.icon.chrome:before { content: "\f268"; } i.icon.cloudscale:before { content: "\f383"; } i.icon.cloudsmith:before { content: "\f384"; } i.icon.cloudversify:before { content: "\f385"; } i.icon.codepen:before { content: "\f1cb"; } i.icon.codiepie:before { content: "\f284"; } i.icon.connectdevelop:before { content: "\f20e"; } i.icon.contao:before { content: "\f26d"; } i.icon.cpanel:before { content: "\f388"; } i.icon.creative.commons:before { content: "\f25e"; } i.icon.css3.alternate:before { content: "\f38b"; } i.icon.css3:before { content: "\f13c"; } i.icon.cuttlefish:before { content: "\f38c"; } i.icon.d.and.d:before { content: "\f38d"; } i.icon.dashcube:before { content: "\f210"; } i.icon.delicious:before { content: "\f1a5"; } i.icon.deploydog:before { content: "\f38e"; } i.icon.deskpro:before { content: "\f38f"; } i.icon.deviantart:before { content: "\f1bd"; } i.icon.digg:before { content: "\f1a6"; } i.icon.digital.ocean:before { content: "\f391"; } i.icon.discord:before { content: "\f392"; } i.icon.discourse:before { content: "\f393"; } i.icon.dochub:before { content: "\f394"; } i.icon.docker:before { content: "\f395"; } i.icon.draft2digital:before { content: "\f396"; } i.icon.dribbble.square:before { content: "\f397"; } i.icon.dribbble:before { content: "\f17d"; } i.icon.dropbox:before { content: "\f16b"; } i.icon.drupal:before { content: "\f1a9"; } i.icon.dyalog:before { content: "\f399"; } i.icon.earlybirds:before { content: "\f39a"; } i.icon.edge:before { content: "\f282"; } i.icon.elementor:before { content: "\f430"; } i.icon.ember:before { content: "\f423"; } i.icon.empire:before { content: "\f1d1"; } i.icon.envira:before { content: "\f299"; } i.icon.erlang:before { content: "\f39d"; } i.icon.ethereum:before { content: "\f42e"; } i.icon.etsy:before { content: "\f2d7"; } i.icon.expeditedssl:before { content: "\f23e"; } i.icon.facebook.f:before { content: "\f39e"; } i.icon.facebook.messenger:before { content: "\f39f"; } i.icon.facebook.square:before { content: "\f082"; } i.icon.facebook:before { content: "\f09a"; } i.icon.firefox:before { content: "\f269"; } i.icon.first.order:before { content: "\f2b0"; } i.icon.firstdraft:before { content: "\f3a1"; } i.icon.flickr:before { content: "\f16e"; } i.icon.flipboard:before { content: "\f44d"; } i.icon.fly:before { content: "\f417"; } i.icon.font.awesome.alternate:before { content: "\f35c"; } i.icon.font.awesome.flag:before { content: "\f425"; } i.icon.font.awesome:before { content: "\f2b4"; } i.icon.fonticons.fi:before { content: "\f3a2"; } i.icon.fonticons:before { content: "\f280"; } i.icon.fort.awesome.alternate:before { content: "\f3a3"; } i.icon.fort.awesome:before { content: "\f286"; } i.icon.forumbee:before { content: "\f211"; } i.icon.foursquare:before { content: "\f180"; } i.icon.free.code.camp:before { content: "\f2c5"; } i.icon.freebsd:before { content: "\f3a4"; } i.icon.get.pocket:before { content: "\f265"; } i.icon.gg.circle:before { content: "\f261"; } i.icon.gg:before { content: "\f260"; } i.icon.git.square:before { content: "\f1d2"; } i.icon.git:before { content: "\f1d3"; } i.icon.github.alternate:before { content: "\f113"; } i.icon.github.square:before { content: "\f092"; } i.icon.github:before { content: "\f09b"; } i.icon.gitkraken:before { content: "\f3a6"; } i.icon.gitlab:before { content: "\f296"; } i.icon.gitter:before { content: "\f426"; } i.icon.glide.g:before { content: "\f2a6"; } i.icon.glide:before { content: "\f2a5"; } i.icon.gofore:before { content: "\f3a7"; } i.icon.goodreads.g:before { content: "\f3a9"; } i.icon.goodreads:before { content: "\f3a8"; } i.icon.google.drive:before { content: "\f3aa"; } i.icon.google.play:before { content: "\f3ab"; } i.icon.google.plus.g:before { content: "\f0d5"; } i.icon.google.plus.square:before { content: "\f0d4"; } i.icon.google.plus:before { content: "\f2b3"; } i.icon.google.wallet:before { content: "\f1ee"; } i.icon.google:before { content: "\f1a0"; } i.icon.gratipay:before { content: "\f184"; } i.icon.grav:before { content: "\f2d6"; } i.icon.gripfire:before { content: "\f3ac"; } i.icon.grunt:before { content: "\f3ad"; } i.icon.gulp:before { content: "\f3ae"; } i.icon.hacker.news.square:before { content: "\f3af"; } i.icon.hacker.news:before { content: "\f1d4"; } i.icon.hips:before { content: "\f452"; } i.icon.hire.a.helper:before { content: "\f3b0"; } i.icon.hooli:before { content: "\f427"; } i.icon.hotjar:before { content: "\f3b1"; } i.icon.houzz:before { content: "\f27c"; } i.icon.html5:before { content: "\f13b"; } i.icon.hubspot:before { content: "\f3b2"; } i.icon.imdb:before { content: "\f2d8"; } i.icon.instagram:before { content: "\f16d"; } i.icon.internet.explorer:before { content: "\f26b"; } i.icon.ioxhost:before { content: "\f208"; } i.icon.itunes.note:before { content: "\f3b5"; } i.icon.itunes:before { content: "\f3b4"; } i.icon.jenkins:before { content: "\f3b6"; } i.icon.joget:before { content: "\f3b7"; } i.icon.joomla:before { content: "\f1aa"; } i.icon.js.square:before { content: "\f3b9"; } i.icon.js:before { content: "\f3b8"; } i.icon.jsfiddle:before { content: "\f1cc"; } i.icon.keycdn:before { content: "\f3ba"; } i.icon.kickstarter.k:before { content: "\f3bc"; } i.icon.kickstarter:before { content: "\f3bb"; } i.icon.korvue:before { content: "\f42f"; } i.icon.laravel:before { content: "\f3bd"; } i.icon.lastfm.square:before { content: "\f203"; } i.icon.lastfm:before { content: "\f202"; } i.icon.leanpub:before { content: "\f212"; } i.icon.less:before { content: "\f41d"; } i.icon.line:before { content: "\f3c0"; } i.icon.linkedin.in:before { content: "\f0e1"; } i.icon.linkedin:before { content: "\f08c"; } i.icon.linode:before { content: "\f2b8"; } i.icon.linux:before { content: "\f17c"; } i.icon.lyft:before { content: "\f3c3"; } i.icon.magento:before { content: "\f3c4"; } i.icon.maxcdn:before { content: "\f136"; } i.icon.medapps:before { content: "\f3c6"; } i.icon.medium.m:before { content: "\f3c7"; } i.icon.medium:before { content: "\f23a"; } i.icon.medrt:before { content: "\f3c8"; } i.icon.meetup:before { content: "\f2e0"; } i.icon.microsoft:before { content: "\f3ca"; } i.icon.mix:before { content: "\f3cb"; } i.icon.mixcloud:before { content: "\f289"; } i.icon.mizuni:before { content: "\f3cc"; } i.icon.modx:before { content: "\f285"; } i.icon.monero:before { content: "\f3d0"; } i.icon.napster:before { content: "\f3d2"; } i.icon.nintendo.switch:before { content: "\f418"; } i.icon.node.js:before { content: "\f3d3"; } i.icon.node:before { content: "\f419"; } i.icon.npm:before { content: "\f3d4"; } i.icon.ns8:before { content: "\f3d5"; } i.icon.nutritionix:before { content: "\f3d6"; } i.icon.odnoklassniki.square:before { content: "\f264"; } i.icon.odnoklassniki:before { content: "\f263"; } i.icon.opencart:before { content: "\f23d"; } i.icon.openid:before { content: "\f19b"; } i.icon.opera:before { content: "\f26a"; } i.icon.optin.monster:before { content: "\f23c"; } i.icon.osi:before { content: "\f41a"; } i.icon.page4:before { content: "\f3d7"; } i.icon.pagelines:before { content: "\f18c"; } i.icon.palfed:before { content: "\f3d8"; } i.icon.patreon:before { content: "\f3d9"; } i.icon.paypal:before { content: "\f1ed"; } i.icon.periscope:before { content: "\f3da"; } i.icon.phabricator:before { content: "\f3db"; } i.icon.phoenix.framework:before { content: "\f3dc"; } i.icon.php:before { content: "\f457"; } i.icon.pied.piper.alternate:before { content: "\f1a8"; } i.icon.pied.piper.pp:before { content: "\f1a7"; } i.icon.pied.piper:before { content: "\f2ae"; } i.icon.pinterest.p:before { content: "\f231"; } i.icon.pinterest.square:before { content: "\f0d3"; } i.icon.pinterest:before { content: "\f0d2"; } i.icon.playstation:before { content: "\f3df"; } i.icon.product.hunt:before { content: "\f288"; } i.icon.pushed:before { content: "\f3e1"; } i.icon.python:before { content: "\f3e2"; } i.icon.qq:before { content: "\f1d6"; } i.icon.quinscape:before { content: "\f459"; } i.icon.quora:before { content: "\f2c4"; } i.icon.ravelry:before { content: "\f2d9"; } i.icon.react:before { content: "\f41b"; } i.icon.rebel:before { content: "\f1d0"; } i.icon.redriver:before { content: "\f3e3"; } i.icon.reddit.alien:before { content: "\f281"; } i.icon.reddit.square:before { content: "\f1a2"; } i.icon.reddit:before { content: "\f1a1"; } i.icon.rendact:before { content: "\f3e4"; } i.icon.renren:before { content: "\f18b"; } i.icon.replyd:before { content: "\f3e6"; } i.icon.resolving:before { content: "\f3e7"; } i.icon.rocketchat:before { content: "\f3e8"; } i.icon.rockrms:before { content: "\f3e9"; } i.icon.safari:before { content: "\f267"; } i.icon.sass:before { content: "\f41e"; } i.icon.schlix:before { content: "\f3ea"; } i.icon.scribd:before { content: "\f28a"; } i.icon.searchengin:before { content: "\f3eb"; } i.icon.sellcast:before { content: "\f2da"; } i.icon.sellsy:before { content: "\f213"; } i.icon.servicestack:before { content: "\f3ec"; } i.icon.shirtsinbulk:before { content: "\f214"; } i.icon.simplybuilt:before { content: "\f215"; } i.icon.sistrix:before { content: "\f3ee"; } i.icon.skyatlas:before { content: "\f216"; } i.icon.skype:before { content: "\f17e"; } i.icon.slack.hash:before { content: "\f3ef"; } i.icon.slack:before { content: "\f198"; } i.icon.slideshare:before { content: "\f1e7"; } i.icon.snapchat.ghost:before { content: "\f2ac"; } i.icon.snapchat.square:before { content: "\f2ad"; } i.icon.snapchat:before { content: "\f2ab"; } i.icon.soundcloud:before { content: "\f1be"; } i.icon.speakap:before { content: "\f3f3"; } i.icon.spotify:before { content: "\f1bc"; } i.icon.stack.exchange:before { content: "\f18d"; } i.icon.stack.overflow:before { content: "\f16c"; } i.icon.staylinked:before { content: "\f3f5"; } i.icon.steam.square:before { content: "\f1b7"; } i.icon.steam.symbol:before { content: "\f3f6"; } i.icon.steam:before { content: "\f1b6"; } i.icon.sticker.mule:before { content: "\f3f7"; } i.icon.strava:before { content: "\f428"; } i.icon.stripe.s:before { content: "\f42a"; } i.icon.stripe:before { content: "\f429"; } i.icon.studiovinari:before { content: "\f3f8"; } i.icon.stumbleupon.circle:before { content: "\f1a3"; } i.icon.stumbleupon:before { content: "\f1a4"; } i.icon.superpowers:before { content: "\f2dd"; } i.icon.supple:before { content: "\f3f9"; } i.icon.telegram.plane:before { content: "\f3fe"; } i.icon.telegram:before { content: "\f2c6"; } i.icon.tencent.weibo:before { content: "\f1d5"; } i.icon.themeisle:before { content: "\f2b2"; } i.icon.trello:before { content: "\f181"; } i.icon.tripadvisor:before { content: "\f262"; } i.icon.tumblr.square:before { content: "\f174"; } i.icon.tumblr:before { content: "\f173"; } i.icon.twitch:before { content: "\f1e8"; } i.icon.twitter.square:before { content: "\f081"; } i.icon.twitter:before { content: "\f099"; } i.icon.typo3:before { content: "\f42b"; } i.icon.uber:before { content: "\f402"; } i.icon.uikit:before { content: "\f403"; } i.icon.uniregistry:before { content: "\f404"; } i.icon.untappd:before { content: "\f405"; } i.icon.usb:before { content: "\f287"; } i.icon.ussunnah:before { content: "\f407"; } i.icon.vaadin:before { content: "\f408"; } i.icon.viacoin:before { content: "\f237"; } i.icon.viadeo.square:before { content: "\f2aa"; } i.icon.viadeo:before { content: "\f2a9"; } i.icon.viber:before { content: "\f409"; } i.icon.vimeo.square:before { content: "\f194"; } i.icon.vimeo.v:before { content: "\f27d"; } i.icon.vimeo:before { content: "\f40a"; } i.icon.vine:before { content: "\f1ca"; } i.icon.vk:before { content: "\f189"; } i.icon.vnv:before { content: "\f40b"; } i.icon.vuejs:before { content: "\f41f"; } i.icon.weibo:before { content: "\f18a"; } i.icon.weixin:before { content: "\f1d7"; } i.icon.whatsapp.square:before { content: "\f40c"; } i.icon.whatsapp:before { content: "\f232"; } i.icon.whmcs:before { content: "\f40d"; } i.icon.wikipedia.w:before { content: "\f266"; } i.icon.windows:before { content: "\f17a"; } i.icon.wordpress.simple:before { content: "\f411"; } i.icon.wordpress:before { content: "\f19a"; } i.icon.wpbeginner:before { content: "\f297"; } i.icon.wpexplorer:before { content: "\f2de"; } i.icon.wpforms:before { content: "\f298"; } i.icon.xbox:before { content: "\f412"; } i.icon.xing.square:before { content: "\f169"; } i.icon.xing:before { content: "\f168"; } i.icon.y.combinator:before { content: "\f23b"; } i.icon.yahoo:before { content: "\f19e"; } i.icon.yandex.international:before { content: "\f414"; } i.icon.yandex:before { content: "\f413"; } i.icon.yelp:before { content: "\f1e9"; } i.icon.yoast:before { content: "\f2b1"; } i.icon.youtube.square:before { content: "\f431"; } i.icon.youtube:before { content: "\f167"; } /* Aliases */ i.icon.add.circle:before { content: "\f055"; } i.icon.add.square:before { content: "\f0fe"; } i.icon.add.to.calendar:before { content: "\f271"; } i.icon.add.to.cart:before { content: "\f217"; } i.icon.add.user:before { content: "\f234"; } i.icon.add:before { content: "\f067"; } i.icon.alarm.mute:before { content: "\f1f6"; } i.icon.alarm:before { content: "\f0f3"; } i.icon.ald:before { content: "\f2a2"; } i.icon.als:before { content: "\f2a2"; } i.icon.american.express.card:before { content: "\f1f3"; } i.icon.american.express:before { content: "\f1f3"; } i.icon.amex:before { content: "\f1f3"; } i.icon.announcement:before { content: "\f0a1"; } i.icon.area.chart:before { content: "\f1fe"; } i.icon.area.graph:before { content: "\f1fe"; } i.icon.arrow.down.cart:before { content: "\f218"; } i.icon.asexual:before { content: "\f22d"; } i.icon.asl.interpreting:before { content: "\f2a3"; } i.icon.asl:before { content: "\f2a3"; } i.icon.assistive.listening.devices:before { content: "\f2a2"; } i.icon.attach:before { content: "\f0c6"; } i.icon.attention:before { content: "\f06a"; } i.icon.balance:before { content: "\f24e"; } i.icon.bar.chart:before { content: "\f080"; } i.icon.bar.graph:before { content: "\f080"; } i.icon.bar:before { content: "\f0fc"; } i.icon.bathtub:before { content: "\f2cd"; } i.icon.battery.four:before { content: "\f240"; } i.icon.battery.high:before { content: "\f241"; } i.icon.battery.low:before { content: "\f243"; } i.icon.battery.medium:before { content: "\f242"; } i.icon.battery.one:before { content: "\f243"; } i.icon.battery.three:before { content: "\f241"; } i.icon.battery.two:before { content: "\f242"; } i.icon.battery.zero:before { content: "\f244"; } i.icon.birthday:before { content: "\f1fd"; } i.icon.block.layout:before { content: "\f009"; } i.icon.bluetooth.alternative:before { content: "\f294"; } i.icon.broken.chain:before { content: "\f127"; } i.icon.browser:before { content: "\f022"; } i.icon.call.square:before { content: "\f098"; } i.icon.call:before { content: "\f095"; } i.icon.cancel:before { content: "\f00d"; } i.icon.cart:before { content: "\f07a"; } i.icon.cc:before { content: "\f20a"; } i.icon.chain:before { content: "\f0c1"; } i.icon.chat:before { content: "\f075"; } i.icon.checked.calendar:before { content: "\f274"; } i.icon.checkmark:before { content: "\f00c"; } i.icon.circle.notched:before { content: "\f1ce"; } i.icon.close:before { content: "\f00d"; } i.icon.cny:before { content: "\f157"; } i.icon.cocktail:before { content: "\f000"; } i.icon.commenting:before { content: "\f27a"; } i.icon.computer:before { content: "\f108"; } i.icon.configure:before { content: "\f0ad"; } i.icon.content:before { content: "\f0c9"; } i.icon.deafness:before { content: "\f2a4"; } i.icon.delete.calendar:before { content: "\f273"; } i.icon.delete:before { content: "\f00d"; } i.icon.detective:before { content: "\f21b"; } i.icon.diners.club.card:before { content: "\f24c"; } i.icon.diners.club:before { content: "\f24c"; } i.icon.discover.card:before { content: "\f1f2"; } i.icon.discover:before { content: "\f1f2"; } i.icon.discussions:before { content: "\f086"; } i.icon.doctor:before { content: "\f0f0"; } i.icon.dollar:before { content: "\f155"; } i.icon.dont:before { content: "\f05e"; } i.icon.dribble:before { content: "\f17d"; } i.icon.drivers.license:before { content: "\f2c2"; } i.icon.dropdown:before { content: "\f0d7"; } i.icon.eercast:before { content: "\f2da"; } i.icon.emergency:before { content: "\f0f9"; } i.icon.envira.gallery:before { content: "\f299"; } i.icon.erase:before { content: "\f12d"; } i.icon.eur:before { content: "\f153"; } i.icon.euro:before { content: "\f153"; } i.icon.eyedropper:before { content: "\f1fb"; } i.icon.fa:before { content: "\f2b4"; } i.icon.factory:before { content: "\f275"; } i.icon.favorite:before { content: "\f005"; } i.icon.feed:before { content: "\f09e"; } i.icon.female.homosexual:before { content: "\f226"; } i.icon.file.text:before { content: "\f15c"; } i.icon.find:before { content: "\f1e5"; } i.icon.first.aid:before { content: "\f0fa"; } i.icon.five.hundred.pixels:before { content: "\f26e"; } i.icon.fork:before { content: "\f126"; } i.icon.game:before { content: "\f11b"; } i.icon.gay:before { content: "\f227"; } i.icon.gbp:before { content: "\f154"; } i.icon.gittip:before { content: "\f184"; } i.icon.google.plus.circle:before { content: "\f2b3"; } i.icon.google.plus.official:before { content: "\f2b3"; } i.icon.grab:before { content: "\f255"; } i.icon.graduation:before { content: "\f19d"; } i.icon.grid.layout:before { content: "\f00a"; } i.icon.group:before { content: "\f0c0"; } i.icon.h:before { content: "\f0fd"; } i.icon.hand.victory:before { content: "\f25b"; } i.icon.handicap:before { content: "\f193"; } i.icon.hard.of.hearing:before { content: "\f2a4"; } i.icon.header:before { content: "\f1dc"; } i.icon.help.circle:before { content: "\f059"; } i.icon.help:before { content: "\f128"; } i.icon.heterosexual:before { content: "\f228"; } i.icon.hide:before { content: "\f070"; } i.icon.hotel:before { content: "\f236"; } i.icon.hourglass.four:before { content: "\f254"; } i.icon.hourglass.full:before { content: "\f254"; } i.icon.hourglass.one:before { content: "\f251"; } i.icon.hourglass.three:before { content: "\f253"; } i.icon.hourglass.two:before { content: "\f252"; } i.icon.idea:before { content: "\f0eb"; } i.icon.ils:before { content: "\f20b"; } i.icon.in.cart:before { content: "\f218"; } i.icon.inr:before { content: "\f156"; } i.icon.intergender:before { content: "\f224"; } i.icon.intersex:before { content: "\f224"; } i.icon.japan.credit.bureau.card:before { content: "\f24b"; } i.icon.japan.credit.bureau:before { content: "\f24b"; } i.icon.jcb:before { content: "\f24b"; } i.icon.jpy:before { content: "\f157"; } i.icon.krw:before { content: "\f159"; } i.icon.lab:before { content: "\f0c3"; } i.icon.law:before { content: "\f24e"; } i.icon.legal:before { content: "\f0e3"; } i.icon.lesbian:before { content: "\f226"; } i.icon.lightning:before { content: "\f0e7"; } i.icon.like:before { content: "\f004"; } i.icon.line.chart:before { content: "\f201"; } i.icon.line.graph:before { content: "\f201"; } i.icon.linkedin.square:before { content: "\f08c"; } i.icon.linkify:before { content: "\f0c1"; } i.icon.lira:before { content: "\f195"; } i.icon.list.layout:before { content: "\f00b"; } i.icon.magnify:before { content: "\f00e"; } i.icon.mail.forward:before { content: "\f064"; } i.icon.mail.square:before { content: "\f199"; } i.icon.mail:before { content: "\f0e0"; } i.icon.male.homosexual:before { content: "\f227"; } i.icon.man:before { content: "\f222"; } i.icon.marker:before { content: "\f041"; } i.icon.mars.alternate:before { content: "\f229"; } i.icon.mars.horizontal:before { content: "\f22b"; } i.icon.mars.vertical:before { content: "\f22a"; } i.icon.mastercard.card:before { content: "\f1f1"; } i.icon.mastercard:before { content: "\f1f1"; } i.icon.maximize:before { content: "\f0b2"; } i.icon.microsoft.edge:before { content: "\f282"; } i.icon.military:before { content: "\f0fb"; } i.icon.minimize:before { content: "\f066"; } i.icon.ms.edge:before { content: "\f282"; } i.icon.mute:before { content: "\f131"; } i.icon.new.pied.piper:before { content: "\f2ae"; } i.icon.non.binary.transgender:before { content: "\f223"; } i.icon.numbered.list:before { content: "\f0cb"; } i.icon.optinmonster:before { content: "\f23c"; } i.icon.options:before { content: "\f1de"; } i.icon.other.gender.horizontal:before { content: "\f22b"; } i.icon.other.gender.vertical:before { content: "\f22a"; } i.icon.other.gender:before { content: "\f229"; } i.icon.payment:before { content: "\f09d"; } i.icon.paypal.card:before { content: "\f1f4"; } i.icon.pencil.square:before { content: "\f14b"; } i.icon.photo:before { content: "\f030"; } i.icon.picture:before { content: "\f03e"; } i.icon.pie.chart:before { content: "\f200"; } i.icon.pie.graph:before { content: "\f200"; } i.icon.pied.piper.hat:before { content: "\f2ae"; } i.icon.pin:before { content: "\f08d"; } i.icon.plus.cart:before { content: "\f217"; } i.icon.pocket:before { content: "\f265"; } i.icon.point:before { content: "\f041"; } i.icon.pointing.down:before { content: "\f0a7"; } i.icon.pointing.left:before { content: "\f0a5"; } i.icon.pointing.right:before { content: "\f0a4"; } i.icon.pointing.up:before { content: "\f0a6"; } i.icon.pound:before { content: "\f154"; } i.icon.power.cord:before { content: "\f1e6"; } i.icon.power:before { content: "\f011"; } i.icon.privacy:before { content: "\f084"; } i.icon.r.circle:before { content: "\f25d"; } i.icon.rain:before { content: "\f0e9"; } i.icon.record:before { content: "\f03d"; } i.icon.refresh:before { content: "\f021"; } i.icon.remove.circle:before { content: "\f057"; } i.icon.remove.from.calendar:before { content: "\f272"; } i.icon.remove.user:before { content: "\f235"; } i.icon.remove:before { content: "\f00d"; } i.icon.repeat:before { content: "\f01e"; } i.icon.rmb:before { content: "\f157"; } i.icon.rouble:before { content: "\f158"; } i.icon.rub:before { content: "\f158"; } i.icon.ruble:before { content: "\f158"; } i.icon.rupee:before { content: "\f156"; } i.icon.s15:before { content: "\f2cd"; } i.icon.selected.radio:before { content: "\f192"; } i.icon.send:before { content: "\f1d8"; } i.icon.setting:before { content: "\f013"; } i.icon.settings:before { content: "\f085"; } i.icon.shekel:before { content: "\f20b"; } i.icon.sheqel:before { content: "\f20b"; } i.icon.shipping:before { content: "\f0d1"; } i.icon.shop:before { content: "\f07a"; } i.icon.shuffle:before { content: "\f074"; } i.icon.shutdown:before { content: "\f011"; } i.icon.sidebar:before { content: "\f0c9"; } i.icon.signing:before { content: "\f2a7"; } i.icon.signup:before { content: "\f044"; } i.icon.sliders:before { content: "\f1de"; } i.icon.soccer:before { content: "\f1e3"; } i.icon.sort.alphabet.ascending:before { content: "\f15d"; } i.icon.sort.alphabet.descending:before { content: "\f15e"; } i.icon.sort.ascending:before { content: "\f0de"; } i.icon.sort.content.ascending:before { content: "\f160"; } i.icon.sort.content.descending:before { content: "\f161"; } i.icon.sort.descending:before { content: "\f0dd"; } i.icon.sort.numeric.ascending:before { content: "\f162"; } i.icon.sort.numeric.descending:before { content: "\f163"; } i.icon.sound:before { content: "\f025"; } i.icon.spy:before { content: "\f21b"; } i.icon.stripe.card:before { content: "\f1f5"; } i.icon.student:before { content: "\f19d"; } i.icon.talk:before { content: "\f27a"; } i.icon.target:before { content: "\f140"; } i.icon.teletype:before { content: "\f1e4"; } i.icon.television:before { content: "\f26c"; } i.icon.text.cursor:before { content: "\f246"; } i.icon.text.telephone:before { content: "\f1e4"; } i.icon.theme.isle:before { content: "\f2b2"; } i.icon.theme:before { content: "\f043"; } i.icon.thermometer:before { content: "\f2c7"; } i.icon.thumb.tack:before { content: "\f08d"; } i.icon.time:before { content: "\f017"; } i.icon.tm:before { content: "\f25c"; } i.icon.toggle.down:before { content: "\f150"; } i.icon.toggle.left:before { content: "\f191"; } i.icon.toggle.right:before { content: "\f152"; } i.icon.toggle.up:before { content: "\f151"; } i.icon.translate:before { content: "\f1ab"; } i.icon.travel:before { content: "\f0b1"; } i.icon.treatment:before { content: "\f0f1"; } i.icon.triangle.down:before { content: "\f0d7"; } i.icon.triangle.left:before { content: "\f0d9"; } i.icon.triangle.right:before { content: "\f0da"; } i.icon.triangle.up:before { content: "\f0d8"; } i.icon.try:before { content: "\f195"; } i.icon.unhide:before { content: "\f06e"; } i.icon.unlinkify:before { content: "\f127"; } i.icon.unmute:before { content: "\f130"; } i.icon.usd:before { content: "\f155"; } i.icon.user.cancel:before { content: "\f235"; } i.icon.user.close:before { content: "\f235"; } i.icon.user.delete:before { content: "\f235"; } i.icon.user.x:before { content: "\f235"; } i.icon.vcard:before { content: "\f2bb"; } i.icon.video.camera:before { content: "\f03d"; } i.icon.video.play:before { content: "\f144"; } i.icon.visa.card:before { content: "\f1f0"; } i.icon.visa:before { content: "\f1f0"; } i.icon.volume.control.phone:before { content: "\f2a0"; } i.icon.wait:before { content: "\f017"; } i.icon.warning.circle:before { content: "\f06a"; } i.icon.warning.sign:before { content: "\f071"; } i.icon.warning:before { content: "\f12a"; } i.icon.wechat:before { content: "\f1d7"; } i.icon.wi-fi:before { content: "\f1eb"; } i.icon.wikipedia:before { content: "\f266"; } i.icon.winner:before { content: "\f091"; } i.icon.wizard:before { content: "\f0d0"; } i.icon.woman:before { content: "\f221"; } i.icon.won:before { content: "\f159"; } i.icon.wordpress.beginner:before { content: "\f297"; } i.icon.wordpress.forms:before { content: "\f298"; } i.icon.world:before { content: "\f0ac"; } i.icon.write.square:before { content: "\f14b"; } i.icon.x:before { content: "\f00d"; } i.icon.yc:before { content: "\f23b"; } i.icon.ycombinator:before { content: "\f23b"; } i.icon.yen:before { content: "\f157"; } i.icon.zip:before { content: "\f187"; } i.icon.zoom.in:before { content: "\f00e"; } i.icon.zoom.out:before { content: "\f010"; } i.icon.zoom:before { content: "\f00e"; } /* Icons which where removed in FontAwesome 5 (Added the classes but pointed them to another icon which matches or is similar for compatibility reasons) */ i.icon.bitbucket.square:before { content: "\f171"; } i.icon.checkmark.box:before { content: "\f14a"; } i.icon.circle.thin:before { content: "\f111"; } i.icon.cloud.download:before { content: "\f381"; } i.icon.cloud.upload:before { content: "\f382"; } i.icon.compose:before { content: "\f303"; } i.icon.conversation:before { content: "\f086"; } i.icon.credit.card.alternative:before { content: "\f09d"; } i.icon.currency:before { content: "\f3d1"; } i.icon.dashboard:before { content: "\f3fd"; } i.icon.diamond:before { content: "\f3a5"; } i.icon.disk.outline:before { content: "\f369"; } i.icon.disk:before { content: "\f0a0"; } i.icon.exchange:before { content: "\f362"; } i.icon.external.share:before { content: "\f14d"; } i.icon.external.square:before { content: "\f360"; } i.icon.external:before { content: "\f35d"; } i.icon.facebook.official:before { content: "\f082"; } i.icon.food:before { content: "\f2e7"; } i.icon.heart.empty:before { content: "\f004"; } i.icon.hourglass.zero:before { content: "\f253"; } i.icon.level.down:before { content: "\f3be"; } i.icon.level.up:before { content: "\f3bf"; } i.icon.log.out:before { content: "\f2f5"; } i.icon.meanpath:before { content: "\f0c8"; } i.icon.money:before { content: "\f3d1"; } i.icon.move:before { content: "\f0b2"; } i.icon.pencil:before { content: "\f303"; } i.icon.protect:before { content: "\f023"; } i.icon.radio:before { content: "\f192"; } i.icon.remove.bookmark:before { content: "\f02e"; } i.icon.resize.horizontal:before { content: "\f337"; } i.icon.resize.vertical:before { content: "\f338"; } i.icon.sign.in:before { content: "\f2f6"; } i.icon.sign.out:before { content: "\f2f5"; } i.icon.spoon:before { content: "\f2e5"; } i.icon.star.empty:before { content: "\f089"; } i.icon.star.half.empty:before { content: "\f089"; } i.icon.star.half.full:before { content: "\f089"; } i.icon.ticket:before { content: "\f3ff"; } i.icon.times.rectangle:before { content: "\f410"; } i.icon.write:before { content: "\f303"; } i.icon.youtube.play:before { content: "\f167"; }
import { moduleForComponent, test } from 'ember-qunit'; import wait from 'ember-test-helpers/wait'; import hbs from '<API key>'; moduleForComponent('<API key>', 'Integration | Component | test image', { integration: true }); test('it renders', function(assert) { assert.expect(5); this.render(hbs`{{<API key> url="vibrant/examples/1.jpg"}}`); return wait().then(() => { assert.ok(this.$('ul').first().find('li').first().text().trim().indexOf("Vibrant") !== -1, "First Result Matches Vibrant"); assert.ok(this.$('ul').first().find('li').eq(1).text().trim().indexOf("Muted") !== -1, "Second Result Matches Muted"); assert.ok(this.$('ul').first().find('li').eq(2).text().trim().indexOf("DarkVibrant") !== -1, "Third Result Matches DarkVibrant"); assert.ok(this.$('ul').first().find('li').eq(3).text().trim().indexOf("DarkMuted") !== -1, "Fourth Result Matches DarkMuted"); assert.ok(this.$('ul').first().find('li').last().text().trim().indexOf("LightVibrant") !== -1, "Last Result Matches LightVibrant"); }); });
@import url('./order-4-2-1.css'); @import url('./order-4-2-2.css') (orientation:landscape); .order-4-2 { color: red; }
// <summary> // Defines the JobContext type. // </summary> namespace AtomicClock.Contexts { using System.Threading; using AtomicClock.Asserts; using AtomicClock.Schedulers; <summary> The job context. </summary> public class JobContext { <summary> Initializes a new instance of the <see cref="JobContext"/> class. </summary> <param name="cancellationToken"> The cancellation token. </param> <param name="jobScheduler"> The job scheduler. </param> public JobContext(Cancellation<API key>, IJobScheduler jobScheduler) { ArgumentAssert.NotNull(nameof(jobScheduler), jobScheduler); ArgumentAssert.NotNull(nameof(cancellationToken), cancellationToken); ArgumentAssert.NotCanceled(nameof(cancellationToken), cancellationToken); this.Cancellation<API key>; this.JobScheduler = jobScheduler; } <summary> Gets the cancellation token. </summary> public Cancellation<API key> { get; private set; } <summary> Gets the job scheduler. </summary> public IJobScheduler JobScheduler { get; private set; } } }
/* globals $data, OData*/ define(function( require ) { 'use strict'; var global = require('global'), ko = require('knockout'), $ = require('jquery'), router = require('plugins/router'), system = require('durandal/system'), oDataURI = global.config.oDataURI, oDataUris = global.config.oDataUris, childRouter = router.createChildRouter() .makeRelative({ moduleId: 'entities', route: 'entities' }), runOnce = true, ctor, lifeCycle, instanceMethods; global.on('svcChange', function( val ) { runOnce = true; router.navigate('entities/' + val.id); system.log('svcChanged', val); }); ctor = function() { this.router = childRouter; this.entities = ko.observableArray([]); }; lifeCycle = { activate: function( path ) { if ( runOnce ) { var pathSvcId = path ? path.split('/')[1] : null; // Deep linking support. Check if we got a svcId via Url if ( pathSvcId ) { var obj = $.grep(oDataUris(), function( obj ) { return obj.id === pathSvcId; }); // check if we have a hit and the hit is not the actual svc if (obj.length === 1 && obj[0] !== oDataURI() ) { oDataURI(obj[0]); } } this.init(); } runOnce = false; return this.createEntityMap(); }, canDeactivate: function() { system.log('canDeactivate', arguments); return true; }, deactivate: function() { system.log('deactivate', arguments); return true; } }; instanceMethods = { init: function() { var svcId = global.config.oDataURI().id; this.router.map([ // Home view { route: svcId, moduleId: 'home', title: 'Hello and welcome', nav: true }, // Single entity view { route: svcId + '/browse/:entities', moduleId: 'entity', title: 'Entity browser' }, // ... filtered by navigation parameter { route: svcId + '/browse/:entities/:relatedEntity/:relateId', moduleId: 'entity', title: 'Entity browser' }, // Item view { route: svcId + '/item/:item/:entityId', moduleId: 'item', title: 'Item view' } ]).<API key>(); }, createEntityMap: function() { var self = this, svcId = oDataURI().id; // Enable JSONP if service doesn't support CORS OData.defaultHttpClient.enableJsonpCallback = !oDataURI().cors; if ( global.ctx[svcId] ) { this.entities(global.entityMaps[svcId]); return; } return $data.initService(oDataURI().url) .then(function( context ) { var entityMap = []; global.ctx[svcId] = context; global.ctx[svcId].forEachEntitySet(function( entity ) { entityMap.push({ hash: '#entities/' + svcId + '/browse/' + encodeURIComponent(entity.name), title: entity.name, isActive: ko.computed(function() { var i = router.activeInstruction(); return i && ko.utils.arrayIndexOf(i.params, '/' + svcId + '/browse/' + entity.name) !== -1; }) }); }); global.entityMaps[svcId] = entityMap; self.entities(entityMap); }); } }; $.extend(ctor.prototype, lifeCycle, instanceMethods); return ctor; });
<?php namespace ZeroPHP\ZeroPHP; use ZeroPHP\ZeroPHP\EntityModel; use ZeroPHP\ZeroPHP\Form; use ZeroPHP\ZeroPHP\Hook; class Entity { private $structure; public function __construct() { $this->buildStructure(); } public function setStructure($structure) { $this->structure = $structure; } public function getStructure() { return $this->structure; } public function buildStructure() { $cache_name = __METHOD__ . get_called_class(); //echo $cache_name; if ($cache = \Cache::get($cache_name)) { $this->setStructure($cache); } else { $structure = $this->__config(); // Run hook <API key> if ($structure['#name'] != 'hook') { $hook = new Hook; $hooks = $hook-><API key>('<API key>', $structure['#name']); if ($hooks) { $hook->run($hooks, $structure); } } \Cache::forever($cache_name, $structure); $this->setStructure($structure); } } public function loadOptionsAll() { $entities = $this->loadEntityAll(); $result = array(); foreach ($entities as $value) { $result[$value->{$this->structure['#id']}] = isset($value->title) ? $value->title : $value->{$this->structure['#id']}; } return $result; } public function loadEntity($entity_id, $attributes = array(), $check_active = false) { // entity load default $cached = false; if (is_numeric($entity_id) && !count($attributes)) { $cached = true; $cache_name = __CLASS__ . "-Entity-$entity_id-" . $this->structure['#name']; if ($cache = \Cache::get($cache_name)) { if(!$check_active) { return $cache; } elseif (!isset($this->structure['#fields']['active']) || !empty($cache->active)) { return $cache; } else { return array(); } } } if ($check_active) { if (!isset($attributes['where'])) { $attributes['where'] = array(); } $attributes['where']['active'] = 1; } $entity = $this->loadEntityExecutive($entity_id, $attributes); $result = reset($entity); if ($cached) { \Cache::forever($cache_name, $result); } return $result; } public function loadEntityAll($attributes = array()) { return $this->loadEntityExecutive(null, $attributes); } public function loadEntityExecutive($entity_id = null, $attributes = array()) { // Get from cache if (!isset($attributes['cache']) || $attributes['cache']) { if (!is_string($entity_id) && !is_null($entity_id)) zerophp_devel_print($entity_id, $attributes); $cache_name = __METHOD__ . $entity_id . $this->structure['#name']; $cache_name .= serialize($attributes); $cache_content = \Cache::get($cache_name); if ($cache_content) { return $cache_content; } } // Get from database $entities = EntityModel::loadEntity($entity_id, $this->structure, $attributes); foreach ($entities as $entity_key => $entity) { $entities[$entity_key] = $this->buildEntity($entity, $attributes); } // Set to cache if (!isset($attributes['cache']) || $attributes['cache']) { \Cache::put($cache_name, $entities, <API key>); } return $entities; } public function buildEntity($entity, $attributes = array()) { foreach ($this->structure['#fields'] as $key => $value) { if ((!isset($attributes['load_hidden']) || !$attributes['load_hidden']) && (isset($value['#load_hidden']) && $value['#load_hidden']) ) { $entity->$key = ''; continue; } if (empty($entity->{$this->structure[' if ($key == $this->structure[' $entity->$key = 0; } else { $entity->$key = ''; } } if (isset($value['#reference']) && isset($value['#reference']['internal']) && !$value['#reference']['internal'] ) { $ref = new $value['#reference']['class']; $entity->$key = EntityModel::loadReference($key, $entity->{$this->structure['#id']}, $this->structure, $ref->getStructure()); } } return $entity; } public function saveEntity($entity) { //zerophp_devel_print($entity); $reference = array(); foreach ($this->structure['#fields'] as $field) { // Save Reference fields to temp if (isset($field['#reference']) && isset($entity->{$field['#name']}) && isset($field['#reference']['internal']) && ! $field['#reference']['internal'] ) { $reference[$field['#name']] = is_array($entity->{$field['#name']}) ? array_filter($entity->{$field['#name']}) : array(); unset($entity->{$field['#name']}); } } $update = false; if (isset($entity->{$this->structure['#id']}) && $entity->{$this->structure['#id']}) { $entity_old = $this->loadEntity($entity->{$this->structure['#id']}, array( 'check_active' => false, 'cache' => false, )); if (!empty($entity_old->{$this->structure[' $entity_id = EntityModel::updateEntity($entity, $this->structure); $cache_name = __CLASS__ . "-Entity-$entity_id-" . $this->structure['#name']; \Cache::forget($cache_name); $update = true; unset($entity->{$this->structure[' } } if (!$update) { $entity_id = EntityModel::createEntity($entity, $this->structure); } // Save reference fields from temp to database if (count($reference)) { $this->saveEntityReference($reference, $entity_id); } return $entity_id; } public function deleteEntity($entity_ids) { $entity_ids = (array) $entity_ids; if (isset($this->structure['#can_not_delete'])) { foreach ($entity_ids as $key => $value) { if (in_array($value, $this->structure['#can_not_delete'])) { unset($entity_ids[$key]); } } } if (count($entity_ids)) { EntityModel::deleteEntity($entity_ids, $this->structure); } } public function saveEntityReference($reference, $entity_id) { EntityModel::saveReference($reference, $entity_id, $this->structure); } public function showList($zerophp) { // Load from DB with paganition $entities = \DB::table($this->structure['#name']); EntityModel::<API key>($entities, null, $this->structure, array()); EntityModel::<API key>($entities, $this->structure, array()); $total = $entities->count(); $<API key> = <API key>('datatables items per page', 20); $pager_page = intval($zerophp->request->query('page')); $pager_from = $pager_page > 0 ? ($pager_page - 1) : 0; $pager_from = $pager_from * $<API key>; $entities->skip($pager_from)->take($<API key>); $entities->select(); // Use in datatables callback functions zerophp_static('<API key>', isset($this->structure) ? $this->structure : array()); // Parse data to datatables $data = \Datatables::of($entities); // Build columns $columns = array(); foreach ($this->structure['#fields'] as $key => $value) { if (empty($value['#list_hidden'])) { switch ($key) { case 'active': $data->edit_column('active', function($entity){ $structure = zerophp_static('<API key>'); if (!empty($structure['#fields']['active']['#options'][$entity->active])) { return $structure['#fields']['active']['#options'][$entity->active]; } return $entity->active; }); break; } $tmp = new \stdClass; $tmp->title = $value['#title']; $columns[] = $tmp; } else { $data->remove_column($key); } } // Add Operations column $tmp = new \stdClass; $tmp->title = zerophp_lang('Operations'); $columns[] = $tmp; $data->add_column('operations', function($entity) { $structure = zerophp_static('<API key>'); $item = array(); if (!empty($structure['#links']['read']) && (!isset($entity->active) || $entity->active == 1) ) { $item[] = zerophp_anchor(str_replace('%', $entity->{$structure['#id']}, $structure['#links']['read']), zerophp_lang('View')); } if (!empty($structure['#links']['preview']) && (isset($entity->active) && $entity->active != 1) ) { $item[] = zerophp_anchor(str_replace('%', $entity->{$structure['#id']}, $structure['#links']['preview']), zerophp_lang('Preview')); } if (!empty($structure['#links']['update'])) { $item[] = zerophp_anchor(str_replace('%', $entity->{$structure['#id']}, $structure['#links']['update']), zerophp_lang('Edit')); } if (!empty($structure['#links']['delete'])) { $item[] = zerophp_anchor(str_replace('%', $entity->{$structure['#id']}, $structure['#links']['delete']), zerophp_lang('Del')); } if (!empty($structure['#links']['clone'])) { $item[] = zerophp_anchor(str_replace('%', $entity->{$structure['#id']}, $structure['#links']['clone']), zerophp_lang('Clone')); } return implode(', ', $item); }); // Save datatables config to JS settings $searching = <API key>('datatables config searching', 1); $ordering = <API key>('datatables config ordering', 0); $paging = <API key>('datatables config paging', 0); $info = <API key>('datatables config info', 0); $data = json_decode($data->make()->getContent()); $data = array( 'datatables' => array( 'data' => $data->aaData, 'columns' => $columns, 'searching' => $searching ? true : false, 'ordering' => $ordering ? true : false, 'paging' => $paging ? true : false, 'info' => $info ? true : false, ), ); $zerophp->response->addJS($data, 'settings'); // Return to browser $vars = array( '<API key>' => $<API key>, 'pager_page' => $pager_page, 'pager_total' => $total, 'pager_from' => min($pager_from + 1, $total), 'pager_to' => min($total, $pager_from + $<API key>), ); $template = 'entity_list-' . $this->structure['#name']; if(!\View::exists($template)) { $template = 'entity_list'; } return $zerophp->response->addContent(zerophp_view($template, $vars)); } public function showCreate($zerophp) { $items = array( array( '#item' => $this->structure['#title'] . ' ' . zerophp_lang('create') ) ); $zerophp->response->setBreadcrumb($items); $form = array( 'class' => $this->structure['#class'], 'method' => 'showCreateForm', ); $zerophp->response->addContent(Form::build($form)); } public function showUpdate($zerophp, $entity_id) { $items = array( array( '#item' => $this->structure['#title'] . ' ' . zerophp_lang('update') ) ); $zerophp->response->setBreadcrumb($items); $form = array( 'class' => $this->structure['#class'], 'method' => 'showCreateForm', ); $form_values = $this->loadEntity($entity_id); $zerophp->response->addContent(Form::build($form, $form_values)); } public function showClone($zerophp, $entity_id) { $items = array( array( '#item' => $this->structure['#title'] . ' ' . zerophp_lang('clone') ) ); $zerophp->response->setBreadcrumb($items); $form = array( 'class' => $this->structure['#class'], 'method' => 'showCloneForm', ); $form_values = $this->loadEntity($entity_id); $zerophp->response->addContent(Form::build($form, $form_values)); } public function showCloneForm() { $form = $this->showCreateForm(); unset($form[$this->structure[' return $form; } public function showCreateForm() { $form = $this->structure['#fields']; $form['#form'] = array(); foreach ($form as $key => $value) { if (!empty($value['#form_hidden'])) { unset($form[$key]); } else { if(!empty($value['#default'])) { $form[$key]['#value'] = $value['#default']; } } if (isset($value['#type']) && $value['#type'] == 'file') { $form['#form']['files'] = true; if ($value['#widget'] == 'image'){ $rule = <API key>('file image rule'); if (!isset($value['#validate'])) { $form[$key]['#validate'] = $rule; } elseif(!strpos('mimes:', $value['#validate'])) { $form[$key]['#validate'] .= "|$rule"; } } } } $form['entity'] = array( '#name' => 'entity', '#type' => 'hidden', '#value' => $this->structure['#class'], '#disabled' => true, ); $form['#actions']['submit'] = array( '#name' => 'submit', '#type' => 'submit', '#value' => zerophp_lang('Save'), ); $form['#validate'][] = array( 'class' => $this->structure['#class'], 'method' => '<API key>', ); $form['#submit'][] = array( 'class' => $this->structure['#class'], 'method' => '<API key>', ); if (!empty($this->structure['#links']['list'])) { $form['#redirect'] = $this->structure['#links']['list']; } return $form; } public function <API key>($form_id, $form, &$form_values) { $result = true; foreach ($this->structure['#fields'] as $key => $value) { // Textarea clean if ($value['#type'] == 'textarea' && !empty($form_values[$key])) { if (!empty($value['#rte_enable'])) { // Make safe and standard html document $form_values[$key] = \Purifier::clean($form_values[$key]); $text = new \DOMDocument(); @$text->loadHTML('<?xml encoding="UTF-8"?>' . $form_values[$key]); //<API key> if (<API key>('image lazy load', 1)) { $images = $text-><API key>('img'); foreach ($images as $image) { $lazyload = $text->createAttribute('data-original'); $lazyload->value = $image->getAttribute('src'); $image->appendChild($lazyload); $image->removeAttribute('src'); $class = $text->createAttribute('class'); $class->value .= 'loading lazy'; $image->appendChild($class); } } $anchors = $text-><API key>('a'); foreach($anchors as $anchor) { $nofollow = $text->createAttribute('rel'); $nofollow->value .= 'nofollow'; $anchor->appendChild($nofollow); $target = $text->createAttribute('target'); $target->value .= '_blank'; $anchor->appendChild($target); } $body = $text-><API key>('body')->item(0); $form_values[$key] = str_replace("</body>", '', str_replace("<body>", '', $text->saveHTML($body))); } else { $form_values[$key] = strip_tags($form_values[$key]); } } //File upload validate elseif ($value['#type'] == 'file' && \Input::hasFile($value['#name']) && !\Input::file($value['#name'])->isValid()) { //@todo 1 add error message $result = false; } } return $result; } public function <API key>($form_id, &$form, &$form_values) { $entity = new \stdClass(); // Fetch via structure to skip unexpected fields (alter form another modules) foreach ($this->structure['#fields'] as $key => $value) { if ($value['#type'] == 'file' && \Input::hasFile($value['#name'])) { $file = \Input::file($value['#name']); $upload_path = MAIN . <API key>('file path', '/files'); $upload = false; switch ($value['#widget']) { case 'image': $upload_path .= '/images/'; $upload = true; break; //@todo 9 cho phep upload file /*case 'file': $upload_config = $upload_config['file']; $upload_config['upload_path'] = 'files/'; $upload = true; break;*/ } if ($upload) { $upload_path .= zerophp_userid(); $file_name = <API key>($file, $upload_path); if ($file->move($upload_path, $file_name)) { $form_values[$key] = str_replace(MAIN, '', $upload_path) ."/$file_name"; } else { <API key>()->response->addMessage(zerophp_lang('An error has occurred. Can not upload file.'), 'error'); unset($form_values[$key]); } } } switch ($key) { case 'created_by': if (empty($entity->{$key}) && zerophp_userid()) { $entity->{$key} = zerophp_userid(); } break; case 'updated_by': if (zerophp_userid()) { $entity->{$key} = zerophp_userid(); } break; case 'created_at': if (empty($form_values[$this->structure[' $entity->{$key} = date('Y-m-d H:i:s'); } break; case 'updated_at': $entity->{$key} = $entity->{$key} = date('Y-m-d H:i:s'); break; default: if (isset($form_values[$key])) { $entity->{$key} = $form_values[$key]; } elseif (isset($value['#default']) && !isset($form_values[$this->structure['#id']])) { $entity->{$key} = $value['#default']; } } } $form_values[$this->structure['#id']] = $this->saveEntity($entity); if (!isset($form['#success_message'])) { $form['#success_message'] = zerophp_lang('Your data was updated successfully.'); } } public function showRead($zerophp, $id){ $entity = $this->loadEntity($id, array(), true); if (!$entity) { \App::abort(404); } if (!empty($entity->title)) { $breadcrumb = array( array( '#item' => $entity->title ) ); $zerophp->response->setBreadcrumb($breadcrumb); } $this->showReadExecutive($zerophp, $entity); } public function showPreview($zerophp, $id){ $entity = $this->loadEntity($id); if (!$entity) { \App::abort(404); } if (!empty($entity->title)) { $breadcrumb = array( array( '#item' => $entity->title ) ); $zerophp->response->setBreadcrumb($breadcrumb); } $this->showReadExecutive($zerophp, $entity); } public function showReadExecutive($zerophp, $entity){ $data = array(); $data['entity'] = $entity; foreach ($this->structure['#fields'] as $key => $val) { if (isset($val['#options_callback'])) { $val['#options_callback']['arguments'] = isset($val['#options_callback']['arguments']) ? $val['#options_callback']['arguments'] : array(); $val['#options'] = <API key>(array(new $val['#options_callback']['class'], $val['#options_callback']['method']), $val['#options_callback']['arguments']); } if (isset($val['#options'])) { $entity->$key = (array) $entity->$key; foreach ($entity->$key as $k => $v) { if (isset($val['#options'][$v])) { $entity->{$key}[$k] = $val['#options'][$v]; } } $entity->$key = implode(', ', $entity->$key); } $data['element'][$key] = array( 'title' => $val['#title'], 'value' => $entity->$key, ); } $template = 'entity_read-' . $this->structure['#name']; if(!\View::exists($template)) { $template = 'entity_read'; } $zerophp->response->addContent(zerophp_view($template, $data)); } // Create & Update public function showDelete($zerophp, $entity_id) { if (!empty($entity->title)) { $breadcrumb = array( array( '#item' => $this->structure['#title'] . ' ' . zerophp_lang('delete'), ) ); $zerophp->response->setBreadcrumb($breadcrumb); } $form = array( 'class' => $this->structure['#class'], 'method' => 'showDeleteForm', ); $entity = $this->loadEntity($entity_id); $title = isset($entity->title) ? $entity->title : $entity_id; $form_values['notice'] = zerophp_lang('Do you really want to delete: :title?', array(':title' => $title)); $form_values['entity_id'] = $entity_id; $zerophp->response->addContent(Form::build($form, $form_values)); } public function showDeleteForm() { $form = array(); $form['notice'] = array( '#name' => 'notice', '#type' => 'markup', ); $form['entity_id'] = array( '#name' => 'entity_id', '#type' => 'hidden', '#disabled' => true, ); $form['#actions']['submit'] = array( '#name' => 'submit', '#type' => 'submit', '#value' => zerophp_lang('OK'), ); $form['#actions']['cancel'] = array( '#name' => 'cancel', '#type' => 'markup', '#value' => '<a href="javascript:history.back()">'. zerophp_lang('Cancel') .'</a>', ); $form['#submit'] = array( array( 'class' => $this->structure['#class'], 'method' => '<API key>', ), ); $form['#success_message'] = zerophp_lang('Your data was deleted successfully.'); if (!empty($this->structure['#links']['list'])) { $form['#redirect'] = $this->structure['#links']['list']; } return $form; } function <API key>($form_id, &$form, &$form_values) { $this->deleteEntity($form_values['entity_id']); } }
#!/bin/sh called="$BASH_SOURCE" if [ "$called" = "" ]; then called="$0" fi folder=$(dirname -- $(readlink -fn -- "$called")) picOpts="zoom" raw_image_name="source.jpg" #Check and Remove Old Images old_file=$(find $folder -maxdepth 1 -regex ".*/wallpaper-[0-9]+.jpg" | head -n 1) if [ -e "$old_file" ]; then rm "$old_file" fi if [ -e "$folder/$raw_image_name" ]; then rm "$folder/$raw_image_name" fi #Download New Random Image curl -s -o "$folder/$raw_image_name" -L https://unsplash.it/1920/1200/\?random #Generate File Name rand_num=$(od -An -N2 -i /dev/random | tr -d ' ') file_name="wallpaper-$rand_num.jpg" #Blur Image convert "$folder/$raw_image_name" -blur 160x80 "$folder/$file_name" #Add overlay composite -gravity Center "$folder/assets/overlay.png" "$folder/$file_name" "$folder/$file_name" #Set Wallpaper gsettings set org.gnome.desktop.background picture-uri '"file://'$folder'/'$file_name'"' gsettings set org.gnome.desktop.screensaver picture-uri '"file://'$folder'/'$file_name'"'
<style media="screen"> .item-box { width: 100%; height: 50em; background-color: #888; } #contacts { margin-top: 2em; } #ca1 { background-image: url('<?=base_url('assets/img/main/1.jpg')?>'); background-size: cover; } #ca2 { background-image: url('<?=base_url('assets/img/main/2.jpg')?>'); background-size: cover; } #ca3 { background-image: url('<?=base_url('assets/img/main/3.jpg')?>'); background-size: cover; } #poster { max-width: 100%; height: auto; } .col-md-6 { margin-bottom: 1.5em; } #carousel { margin-top: -2em; } @media(max-width:450px) { .item-box { height:20em; } } </style> <!-- CAROUSEL --> <div class="row"> <div id="carousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel" data-slide-to="0" class="active"></li> <li data-target="#carousel" data-slide-to="1"></li> <li data-target="#carousel" data-slide-to="2"></li> </ol> <div class="carousel-inner" role="listbox"> <div class="carousel-item active" align="center"> <div id="ca1" class="item-box" style=""> </div> <div class="carousel-caption"> <!-- <h3>Slide 1</h3> --> <!-- <p>some description..</p> --> </div> </div> <div class="carousel-item" align="center"> <div id="ca2" class="item-box" style=""> </div> <div class="carousel-caption"> <!-- <h3>Slide 2</h3> --> <!-- <p>some description..</p> --> </div> </div> <div class="carousel-item" align="center"> <div id="ca3" class="item-box" style=""> </div> <div class="carousel-caption"> <!-- <h3>Slide 3</h3> --> <!-- <p>some description..</p> --> </div> </div> </div> <a class="<API key>" href="#<API key>" role="button" data-slide="prev"> <span class="<API key>" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="<API key>" href="#<API key>" role="button" data-slide="next"> <span class="<API key>" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </div> <div class="" style="margin-top:1em;"> </div> <div class="container"> <div class="col-md-6"> <img src="<?=base_url('assets/img/main/poster.jpg')?>" alt="" id="poster"> </div> <div class="col-md-6"> <div class="card"> <h3 class="card-header">NOTICE</h3> <ul class="list-group list-group-flush"> <?php if (count($notice) == 0): ?> <li class="list-group-item" style="height:230px"> .</li> <?php else: ?> <?php foreach ($notice as $k => $row): ?> <a href="<?=base_url('Board/detail/'.$row['board_id'])?>"><li class="list-group-item"><?=$row['board_title']?></li></a> <?php endforeach; ?> <?php for($i = 0; $i < 5 - count($notice); $i++) { ?> <a href="#" ><li class="list-group-item">&nbsp;</li></a> <?php } ?> <?php endif; ?> </ul> </div> <div id="contacts" class=""> <table class="table"> <tr> <td colspan=2 style="border-top: 0;"><h3>Buras </h3></td> </tr> <tr> <th><h5></h5></th> <td style="text-align:right"><?=$boy?></td> </tr> <tr> <th><h5></h5></th> <td style="text-align:right"><?=$girl?></td> </tr> </table> </div> </div> </div> <!-- CAROUSEL END --> <script type="text/javascript"> $('.carousel').carousel({ interval: 3000 }); </script>
<?php namespace Cruceo\UserBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class CruceoUserBundle extends Bundle { }
<div> <div class="row"> <div class="col-md-12"> <div> <h3 class="text-center"> <strong class="text-success">WIREMOCK</strong> </h3> </div> </div> </div> </div>
require 'spec_helper' describe SerpMetrics::CommandSets::Queues::Delayed, :vcr do before do api_configuration = YAML.load_file('spec/api_credentials.yml') @client = SerpMetrics.client.configure do |client| client.key = api_configuration['key'] client.<API key>['secret'] end end describe "add" do context "without location" do it "adds delayed" do response = @client.delayed.add("restaurants", ['google_en-us']) response['status'].should == 'ok' delayed = response['data'].first delayed['phrase'].should == "restaurants" delayed['engine_code'].should == 'google_en-us' delayed['location'].should be_nil delayed['delayed_id'].should_not be_empty end end context "with location" do it "adds delayed" do response = @client.delayed.add("restaurants", ['google_en-us'], "Nashville") response['status'].should == 'ok' delayed = response['data'].first delayed['phrase'].should == "restaurants" delayed['engine_code'].should == 'google_en-us' delayed['location'].should == "Nashville" delayed['delayed_id'].should_not be_empty end end end describe "get" do it "checks delayed" do response = @client.delayed.add("restaurants", ['google_en-us']) delayed = response['data'].first delayed_id = delayed['delayed_id'] response = @client.delayed.get(delayed_id) response['status'].should_not be_nil end end end
package chat.rocket.android.helper; import io.realm.Realm; import io.realm.RealmResults; import java.util.List; import chat.rocket.android.model.ddp.PublicSetting; import chat.rocket.android.model.ddp.<API key>; /** * utility class for getting value comprehensibly from public settings list. */ public class <API key> { public static RealmResults<PublicSetting> <API key>(Realm realm) { return realm.where(PublicSetting.class) .equalTo(PublicSetting.ID, <API key>.Push.ENABLE) .or() .equalTo(PublicSetting.ID, <API key>.Push.GCM_PROJECT_NUMBER) .findAll(); } public static boolean isGcmPushEnabled(List<PublicSetting> results) { return isPushEnabled(results) && hasValidGcmConfig(results); } private static boolean isPushEnabled(List<PublicSetting> results) { for (PublicSetting setting : results) { if (<API key>.Push.ENABLE.equals(setting.getId())) { return "true".equals(setting.getValue()); } } return false; } private static boolean hasValidGcmConfig(List<PublicSetting> results) { for (PublicSetting setting : results) { if (<API key>.Push.GCM_PROJECT_NUMBER.equals(setting.getId())) { return !TextUtils.isEmpty(setting.getValue()); } } return false; } }
using Amazon.Lambda.Core; using Comsec.SqlPrune.Logging; namespace SqlPrune.Lambda.Logger { public class LambdaLogger : ILogger { private readonly ILambdaLogger logger; <summary> Constructor. </summary> <param name="logger"></param> public LambdaLogger(ILambdaLogger logger) { this.logger = logger; } public ILogger Write(string format, params object[] parameters) { format ??= string.Empty; logger.Log(string.Format(format, parameters)); return this; } <summary> Logs a line. </summary> <returns></returns> public ILogger WriteLine(string format, params object[] parameters) { format ??= string.Empty; logger.LogLine(string.Format(format, parameters)); return this; } } }
package de.cpgaertner.edu.inf.api.level; public interface LocationFactory { public Location generate(Coordinate coordinate); }
# <API key>: true module Einstein VERSION = "0.1.0" end
import pytest import ezdxf from ezdxf.entities.dxfgfx import add_entity, replace_entity from ezdxf.entities import Point @pytest.fixture(scope="module") def msp(): return ezdxf.new().modelspace() @pytest.fixture(scope="module") def db(msp): return msp.entitydb def test_add_entity(msp, db): point = msp.add_point((0, 0)) new_point = Point.new(dxfattribs={"location": (3, 3)}) add_entity(new_point, msp) assert point in msp assert point.dxf.handle in db assert new_point in msp assert new_point.dxf.handle in db assert point.dxf.handle != new_point.dxf.handle def test_replace_entity(msp, db): point = msp.add_point((0, 0)) handle = point.dxf.handle new_point = Point.new(dxfattribs={"location": (3, 3)}) replace_entity(point, new_point, msp) assert point.is_alive is False assert new_point in msp assert new_point.dxf.handle in db assert new_point.dxf.handle == handle def <API key>(msp, db): point = Point.new(dxfattribs={"location": (3, 3)}) db.add(point) handle = point.dxf.handle assert point not in msp assert point.dxf.handle in db new_point = Point.new(dxfattribs={"location": (3, 3)}) replace_entity(point, new_point, msp) assert point.is_alive is False assert new_point not in msp assert new_point.dxf.handle in db assert new_point.dxf.handle == handle def <API key>(msp, db): circle = msp.add_circle(center=(3, 3), radius=2) ellipse = circle.to_ellipse(replace=False) assert circle.dxf.handle in db assert ellipse.dxftype() == "ELLIPSE" assert ellipse.dxf.handle in db assert circle in msp assert ellipse in msp def <API key>(msp, db): circle = msp.add_circle(center=(3, 3), radius=2) circle_handle = circle.dxf.handle ellipse = circle.to_ellipse(replace=True) assert circle.is_alive is False assert ellipse.dxftype() == "ELLIPSE" assert ellipse.dxf.handle in db assert ellipse.dxf.handle == circle_handle assert ellipse in msp def <API key>(msp, db): circle = msp.add_circle(center=(3, 3), radius=2) spline = circle.to_spline(replace=False) assert circle.dxf.handle in db assert spline.dxftype() == "SPLINE" assert spline.dxf.handle in db assert circle in msp assert spline in msp def <API key>(msp, db): circle = msp.add_circle(center=(3, 3), radius=2) circle_handle = circle.dxf.handle spline = circle.to_spline(replace=True) assert circle.is_alive is False assert spline.dxftype() == "SPLINE" assert spline.dxf.handle in db assert spline.dxf.handle == circle_handle assert spline in msp def <API key>(msp, db): ellipse = msp.add_ellipse(center=(3, 3), major_axis=(2, 0), ratio=0.5) spline = ellipse.to_spline(replace=False) assert ellipse.dxf.handle in db assert spline.dxftype() == "SPLINE" assert spline.dxf.handle in db assert ellipse in msp assert spline in msp def <API key>(msp, db): ellipse = msp.add_ellipse(center=(3, 3), major_axis=(2, 0), ratio=0.5) ellipse_handle = ellipse.dxf.handle spline = ellipse.to_spline(replace=True) assert ellipse.is_alive is False assert spline.dxftype() == "SPLINE" assert spline.dxf.handle in db assert spline.dxf.handle == ellipse_handle assert spline in msp if __name__ == "__main__": pytest.main([__file__])
package m1.configuration.ComposantsSimples; import m1.configuration.ObserveurDeTransit; import m1.configuration.interfaces.<API key>; import m1.configuration.interfaces.port.PortEntreeConcret; import m1.configuration.interfaces.port.PortSortieConcret; import m2.configuration.composant.ComposantSimple; /** * * @author Lenny Lucas * @author Alicia Boucard * La classe Client implemente ComposantSimple et possede 2 interfaces : une d'entree et une de sortie. * Elle represente un Client qui peut se connecter et requeter sur une base de donnee. */ public class Client extends ComposantSimple { /** * Constructeur de Client * * @param obs l'observeur qui va prevenir la configuration en cas de fin de * traitement */ public Client(ObserveurDeTransit obs) { super(); this.entree = new <API key>(); this.sortie = new <API key>(); this.setEntree(new <API key>()); this.getEntree().getPorts().add(new PortEntreeConcret("EntreeClient")); this.getEntree().getPorts().add(new PortEntreeConcret("EntreeClientBinding")); this.setSortie(new <API key>()); this.getSortie().getPorts().add(new PortSortieConcret("SortieClient", obs)); } /* (non-Javadoc) * @see m2.configuration.composant.ComposantSimple#lancer(java.lang.String) */ public void lancer(String p) { LOGGER.info( "Client : signal de la configuration reçu: le port " + p + " viens de recevoir un message qu'il faut traiter"); String command; switch (p) { case "EntreeClient": command = this.getEntree().getPoint(p).getVal(); LOGGER.info("Le client a recu la reponse '" + command + "'"); break; case "EntreeClientBinding": command = this.getEntree().getPoint(p).getVal(); LOGGER.info("Le client a recu la commande '" + command + "' de l'exterieure"); this.getSortie().getPoint("SortieClient").setVal(command); break; default: LOGGER.severe("lancer not implemented for this port of the Client"); break; } } }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About StakeCoin</source> <translation>Sobre o StakeCoin</translation> </message> <message> <location line="+39"/> <source>&lt;b&gt;StakeCoin&lt;/b&gt; version</source> <translation>&lt;b&gt;StakeCoin&lt;/b&gt; versao</translation> </message> <message> <location line="+41"/> <source>Copyright © 2009-2014 The Bitcoin developers Copyright © 2012-2014 The NovaCoin developers Copyright © 2014 The BlackCoin developers</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source> This is experimental software. Distributed under the MIT/X11 software license, see the accompanying file COPYING or &lt;a href=&quot;http: This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (&lt;a href=&quot;https: <translation type="unfinished"/> </message> </context> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>Address Book</source> <translation>Livro de Endereços</translation> </message> <message> <location line="+22"/> <source>Double-click to edit address or label</source> <translation>Clique duas vezes para editar o endereço ou a etiqueta</translation> </message> <message> <location line="+24"/> <source>Create a new address</source> <translation>Criar um novo endereço</translation> </message> <message> <location line="+10"/> <source>Copy the currently selected address to the system clipboard</source> <translation>Copie o endereço selecionado para a área de transferência do sistema</translation> </message> <message> <location line="-7"/> <source>&amp;New Address</source> <translation>&amp;Novo Endereço</translation> </message> <message> <location line="-43"/> <source>These are your StakeCoin 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>Estes são os seus endereços StakeCoin para receber pagamentos. Você pode dar um diferente a cada remetente para que você possa acompanhar quem está pagando.</translation> </message> <message> <location line="+53"/> <source>&amp;Copy Address</source> <translation>&amp;Copiar Endereço</translation> </message> <message> <location line="+7"/> <source>Show &amp;QR Code</source> <translation>Mostrar &amp;QR Code</translation> </message> <message> <location line="+7"/> <source>Sign a message to prove you own a StakeCoin address</source> <translation>Assine a mensagem para provar que você possui um endereço StakeCoin</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>Assinar &amp;Mensagem</translation> </message> <message> <location line="+17"/> <source>Delete the currently selected address from the list</source> <translation>Excluir os endereços selecionados da lista</translation> </message> <message> <location line="-10"/> <source>Verify a message to ensure it was signed with a specified StakeCoin address</source> <translation>Verifique a mensagem para garantir que ela foi assinada com um endereço StakeCoin específico</translation> </message> <message> <location line="+3"/> <source>&amp;Verify Message</source> <translation>&amp;Verificar Mensagem</translation> </message> <message> <location line="+10"/> <source>&amp;Delete</source> <translation>&amp;Excluir</translation> </message> <message> <location filename="../addressbookpage.cpp" line="+65"/> <source>Copy &amp;Label</source> <translation>Copiar &amp;Etiqueta</translation> </message> <message> <location line="+2"/> <source>&amp;Edit</source> <translation>&amp;Editar</translation> </message> <message> <location line="+250"/> <source>Export Address Book Data</source> <translation>Exportar Dados do Livro de Endereços</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Arquivo separado por vírgulas (*. csv)</translation> </message> <message> <location line="+13"/> <source>Error exporting</source> <translation>Erro ao exportar</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Não foi possível escrever no arquivo %1.</translation> </message> </context> <context> <name>AddressTableModel</name> <message> <location filename="../addresstablemodel.cpp" line="+145"/> <source>Label</source> <translation>Rótulo</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Endereço</translation> </message> <message> <location line="+36"/> <source>(no label)</source> <translation>(Sem rótulo)</translation> </message> </context> <context> <name>AskPassphraseDialog</name> <message> <location filename="../forms/askpassphrasedialog.ui" line="+26"/> <source>Passphrase Dialog</source> <translation>Janela da Frase de Segurança</translation> </message> <message> <location line="+21"/> <source>Enter passphrase</source> <translation>Digite a frase de segurança</translation> </message> <message> <location line="+14"/> <source>New passphrase</source> <translation>Nova frase de segurança</translation> </message> <message> <location line="+14"/> <source>Repeat new passphrase</source> <translation>Repita a nova frase de segurança</translation> </message> <message> <location line="+33"/> <source>Serves to disable the trivial sendmoney when OS account compromised. Provides no real security.</source> <translation>Serve para desativar o envio de dinheiro trivial quando conta do SO for comprometida. Não oferece segurança real.</translation> </message> <message> <location line="+3"/> <source>For staking only</source> <translation>Apenas para participação</translation> </message> <message> <location filename="../askpassphrasedialog.cpp" line="+38"/> <source>Encrypt wallet</source> <translation>Criptografar carteira</translation> </message> <message> <location line="+7"/> <source>This operation needs your wallet passphrase to unlock the wallet.</source> <translation>Esta operação precisa de sua frase de segurança para desbloquear a carteira.</translation> </message> <message> <location line="+5"/> <source>Unlock wallet</source> <translation>Desbloquear carteira</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to decrypt the wallet.</source> <translation>Esta operação precisa de sua frase de segurança para descriptografar a carteira.</translation> </message> <message> <location line="+5"/> <source>Decrypt wallet</source> <translation>Descriptografar carteira</translation> </message> <message> <location line="+3"/> <source>Change passphrase</source> <translation>Alterar frase de segurança</translation> </message> <message> <location line="+1"/> <source>Enter the old and new passphrase to the wallet.</source> <translation>Digite a frase de segurança antiga e nova para a carteira.</translation> </message> <message> <location line="+45"/> <source>Confirm wallet encryption</source> <translation>Confirmar criptografia da carteira</translation> </message> <message> <location line="+1"/> <source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR COINS&lt;/b&gt;!</source> <translation>Aviso: Se você criptografar sua carteira e perder sua senha, você vai &lt;b&gt;PERDER TODAS AS SUAS MOEDAS&lt;/ b&gt;!</translation> </message> <message> <location line="+0"/> <source>Are you sure you wish to encrypt your wallet?</source> <translation>Tem certeza de que deseja criptografar sua carteira?</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>IMPORTANTE: Qualquer backup prévio que você tenha feito do seu arquivo wallet deve ser substituído pelo novo e encriptado arquivo wallet gerado. Por razões de segurança, qualquer backup do arquivo wallet não criptografado se tornará inútil assim que você começar a usar uma nova carteira criptografada.</translation> </message> <message> <location line="+103"/> <location line="+24"/> <source>Warning: The Caps Lock key is on!</source> <translation>Cuidado: A tecla Caps Lock está ligada!</translation> </message> <message> <location line="-133"/> <location line="+60"/> <source>Wallet encrypted</source> <translation>Carteira criptografada</translation> </message> <message> <location line="-140"/> <source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;ten or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source> <translation type="unfinished"/> </message> <message> <location line="+82"/> <source>StakeCoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your coins from being stolen by malware infecting your computer.</source> <translation>StakeCoin vai fechar agora para concluir o processo de criptografia. Lembre-se que a criptografia de sua carteira não pode proteger totalmente suas moedas de serem roubados por malwares infectem seu computador.</translation> </message> <message> <location line="+13"/> <location line="+7"/> <location line="+44"/> <location line="+6"/> <source>Wallet encryption failed</source> <translation>A criptografia da carteira falhou</translation> </message> <message> <location line="-56"/> <source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source> <translation>A criptografia da carteira falhou devido a um erro interno. Sua carteira não estava criptografada.</translation> </message> <message> <location line="+7"/> <location line="+50"/> <source>The supplied passphrases do not match.</source> <translation>A frase de segurança fornecida não confere.</translation> </message> <message> <location line="-38"/> <source>Wallet unlock failed</source> <translation>A abertura da carteira falhou</translation> </message> <message> <location line="+1"/> <location line="+12"/> <location line="+19"/> <source>The passphrase entered for the wallet decryption was incorrect.</source> <translation>A frase de segurança digitada para a descriptografia da carteira estava incorreta.</translation> </message> <message> <location line="-20"/> <source>Wallet decryption failed</source> <translation>A descriptografia da carteira falhou</translation> </message> <message> <location line="+14"/> <source>Wallet passphrase was successfully changed.</source> <translation>A frase de segurança da carteira foi alterada com êxito.</translation> </message> </context> <context> <name>BitcoinGUI</name> <message> <location filename="../bitcoingui.cpp" line="+297"/> <source>Sign &amp;message...</source> <translation>&amp;Assinar Mensagem...</translation> </message> <message> <location line="-64"/> <source>Show general overview of wallet</source> <translation>Mostrar visão geral da carteira</translation> </message> <message> <location line="+17"/> <source>&amp;Transactions</source> <translation>&amp;Transações</translation> </message> <message> <location line="+1"/> <source>Browse transaction history</source> <translation>Navegar pelo histórico de transações</translation> </message> <message> <location line="+5"/> <source>&amp;Address Book</source> <translation>&amp;Livro de Endereços</translation> </message> <message> <location line="+1"/> <source>Edit the list of stored addresses and labels</source> <translation>Edite a lista de endereços armazenados e rótulos</translation> </message> <message> <location line="-18"/> <source>Show the list of addresses for receiving payments</source> <translation>Mostrar a lista de endereços para o recebimento de pagamentos</translation> </message> <message> <location line="+34"/> <source>E&amp;xit</source> <translation>S&amp;air</translation> </message> <message> <location line="+1"/> <source>Quit application</source> <translation>Sair da aplicação</translation> </message> <message> <location line="+4"/> <source>Show information about StakeCoin</source> <translation>Mostrar informações sobre o StakeCoin</translation> </message> <message> <location line="+2"/> <source>About &amp;Qt</source> <translation>Sobre &amp;Qt</translation> </message> <message> <location line="+1"/> <source>Show information about Qt</source> <translation>Mostrar informações sobre o Qt</translation> </message> <message> <location line="+2"/> <source>&amp;Options...</source> <translation>&amp;Opções...</translation> </message> <message> <location line="+4"/> <source>&amp;Encrypt Wallet...</source> <translation>&amp;Criptografar Carteira...</translation> </message> <message> <location line="+2"/> <source>&amp;Backup Wallet...</source> <translation>&amp;Backup Carteira...</translation> </message> <message> <location line="+2"/> <source>&amp;Change Passphrase...</source> <translation>&amp;Mudar frase de segurança...</translation> </message> <message> <location line="+9"/> <source>&amp;Export...</source> <translation>&amp;Exportar...</translation> </message> <message> <location line="-55"/> <source>Send coins to a StakeCoin address</source> <translation>Enviar moedas para um endereço StakeCoin</translation> </message> <message> <location line="+39"/> <source>Modify configuration options for StakeCoin</source> <translation>Modificar opções de configuração para StakeCoin</translation> </message> <message> <location line="+17"/> <source>Export the data in the current tab to a file</source> <translation>Exportar os dados da guia atual para um arquivo</translation> </message> <message> <location line="-13"/> <source>Encrypt or decrypt wallet</source> <translation>Cryptografar ou Decryptografar carteira</translation> </message> <message> <location line="+2"/> <source>Backup wallet to another location</source> <translation>Fazer cópia de segurança da carteira para uma outra localização</translation> </message> <message> <location line="+2"/> <source>Change the passphrase used for wallet encryption</source> <translation>Mudar a frase de segurança utilizada na criptografia da carteira</translation> </message> <message> <location line="+10"/> <source>&amp;Debug window</source> <translation>Janela de &amp;Depuração</translation> </message> <message> <location line="+1"/> <source>Open debugging and diagnostic console</source> <translation>Abrir console de depuração e diagnóstico</translation> </message> <message> <location line="-5"/> <source>&amp;Verify message...</source> <translation>&amp;Verificar mensagem...</translation> </message> <message> <location line="-214"/> <location line="+551"/> <source>StakeCoin</source> <translation>StakeCoin</translation> </message> <message> <location line="-551"/> <source>Wallet</source> <translation>Carteira</translation> </message> <message> <location line="+193"/> <source>&amp;About StakeCoin</source> <translation>Sobre o StakeCoin</translation> </message> <message> <location line="+9"/> <source>&amp;Show / Hide</source> <translation>&amp;Exibir/Ocultar</translation> </message> <message> <location line="+8"/> <source>Unlock wallet</source> <translation>Desbloquear carteira</translation> </message> <message> <location line="+1"/> <source>&amp;Lock Wallet</source> <translation>&amp;Bloquear Carteira</translation> </message> <message> <location line="+1"/> <source>Lock wallet</source> <translation>Bloquear Carteira</translation> </message> <message> <location line="+28"/> <source>&amp;File</source> <translation>&amp;Arquivo</translation> </message> <message> <location line="+8"/> <source>&amp;Settings</source> <translation>&amp;Configurações</translation> </message> <message> <location line="+8"/> <source>&amp;Help</source> <translation>&amp;Ajuda</translation> </message> <message> <location line="+17"/> <source>Tabs toolbar</source> <translation>Barra de ferramentas</translation> </message> <message> <location line="+46"/> <location line="+9"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> <message> <location line="+0"/> <location line="+58"/> <source>StakeCoin client</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+70"/> <source>%n active connection(s) to StakeCoin network</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+488"/> <source>Staking.&lt;br&gt;Your weight is %1&lt;br&gt;Network weight is %2&lt;br&gt;Expected time to earn reward is %3</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Not staking because wallet is locked</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Not staking because wallet is offline</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Not staking because wallet is syncing</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Not staking because you don&apos;t have mature coins</source> <translation type="unfinished"/> </message> <message> <location line="-808"/> <source>&amp;Dashboard</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>&amp;Receive</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>&amp;Send</source> <translation type="unfinished"/> </message> <message> <location line="+49"/> <source>&amp;Unlock Wallet...</source> <translation type="unfinished"/> </message> <message> <location line="+273"/> <source>Up to date</source> <translation>Atualizado</translation> </message> <message> <location line="+43"/> <source>Catching up...</source> <translation>Recuperando o atraso ...</translation> </message> <message> <location line="+113"/> <source>Confirm transaction fee</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Sent transaction</source> <translation>Transação enviada</translation> </message> <message> <location line="+1"/> <source>Incoming transaction</source> <translation>Transação recebida</translation> </message> <message> <location line="+1"/> <source>Date: %1 Amount: %2 Type: %3 Address: %4 </source> <translation>Data: %1 Quantidade: %2 Tipo: %3 Endereço: %4</translation> </message> <message> <location line="+100"/> <location line="+15"/> <source>URI handling</source> <translation type="unfinished"/> </message> <message> <location line="-15"/> <location line="+15"/> <source>URI can not be parsed! This can be caused by an invalid StakeCoin address or malformed URI parameters.</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Wallet is &lt;b&gt;not encrypted&lt;/b&gt;</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source> <translation>Carteira está &lt;b&gt;criptografada&lt;/b&gt; e atualmente &lt;b&gt;desbloqueada&lt;/b&gt;</translation> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source> <translation>Carteira está &lt;b&gt;criptografada&lt;/b&gt; e atualmente &lt;b&gt;bloqueada&lt;/b&gt;</translation> </message> <message> <location line="+24"/> <source>Backup Wallet</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Wallet Data (*.dat)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Backup Failed</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>There was an error trying to save the wallet data to the new location.</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+91"/> <source>%n second(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n minute(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="-429"/> <location line="+433"/> <source>%n hour(s)</source> <translation><numerusform>%n hora</numerusform><numerusform>%n horas</numerusform></translation> </message> <message> <location line="-456"/> <source>Processed %1 blocks of transaction history.</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+27"/> <location line="+433"/> <source>%n day(s)</source> <translation><numerusform>%n dia</numerusform><numerusform>%n dias</numerusform></translation> </message> <message numerus="yes"> <location line="-429"/> <location line="+6"/> <source>%n week(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+0"/> <source>%1 and %2</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+0"/> <source>%n year(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+5"/> <source>%1 behind</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Last received block was generated %1 ago.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Transactions after this will not yet be visible.</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Error</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+69"/> <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 type="unfinished"/> </message> <message> <location line="+324"/> <source>Not staking</source> <translation type="unfinished"/> </message> <message> <location filename="../bitcoin.cpp" line="+104"/> <source>A fatal error occurred. StakeCoin can no longer continue safely and will quit.</source> <translation type="unfinished"/> </message> </context> <context> <name>ClientModel</name> <message> <location filename="../clientmodel.cpp" line="+110"/> <source>Network Alert</source> <translation>Alerta da Rede</translation> </message> </context> <context> <name>CoinControlDialog</name> <message> <location filename="../forms/coincontroldialog.ui" line="+14"/> <source>Coin Control</source> <translation type="unfinished"/> </message> <message> <location line="+31"/> <source>Quantity:</source> <translation>Quantidade:</translation> </message> <message> <location line="+32"/> <source>Bytes:</source> <translation>Bytes:</translation> </message> <message> <location line="+48"/> <source>Amount:</source> <translation>Quantia:</translation> </message> <message> <location line="+32"/> <source>Priority:</source> <translation>Prioridade:</translation> </message> <message> <location line="+48"/> <source>Fee:</source> <translation>Taxa:</translation> </message> <message> <location line="+35"/> <source>Low Output:</source> <translation>Rendimento baixo:</translation> </message> <message> <location filename="../coincontroldialog.cpp" line="+552"/> <source>no</source> <translation>não</translation> </message> <message> <location filename="../forms/coincontroldialog.ui" line="+51"/> <source>After Fee:</source> <translation>Depois da taxa:</translation> </message> <message> <location line="+35"/> <source>Change:</source> <translation>trocar</translation> </message> <message> <location line="+69"/> <source>(un)select all</source> <translation>(de)selecionar tudo</translation> </message> <message> <location line="+13"/> <source>Tree mode</source> <translation>Modo árvore</translation> </message> <message> <location line="+16"/> <source>List mode</source> <translation>Modo lista</translation> </message> <message> <location line="+45"/> <source>Amount</source> <translation>Quantidade</translation> </message> <message> <location line="+5"/> <source>Label</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Address</source> <translation>Endereço</translation> </message> <message> <location line="+5"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+5"/> <source>Confirmations</source> <translation>Confirmações</translation> </message> <message> <location line="+3"/> <source>Confirmed</source> <translation>Confirmado</translation> </message> <message> <location line="+5"/> <source>Priority</source> <translation>Prioridade</translation> </message> <message> <location filename="../coincontroldialog.cpp" line="-515"/> <source>Copy address</source> <translation>Copiar endereço</translation> </message> <message> <location line="+1"/> <source>Copy label</source> <translation>Copiar etiqueta</translation> </message> <message> <location line="+1"/> <location line="+26"/> <source>Copy amount</source> <translation>Copiar quantia</translation> </message> <message> <location line="-25"/> <source>Copy transaction ID</source> <translation>Copiar ID da transação</translation> </message> <message> <location line="+24"/> <source>Copy quantity</source> <translation>Copiar quantidade</translation> </message> <message> <location line="+2"/> <source>Copy fee</source> <translation>Copiar taxa</translation> </message> <message> <location line="+1"/> <source>Copy after fee</source> <translation>Copia pós-taxa</translation> </message> <message> <location line="+1"/> <source>Copy bytes</source> <translation>Copiar bytes</translation> </message> <message> <location line="+1"/> <source>Copy priority</source> <translation>Copia prioridade</translation> </message> <message> <location line="+1"/> <source>Copy low output</source> <translation>Copia saída de pouco valor</translation> </message> <message> <location line="+1"/> <source>Copy change</source> <translation>Copia alteração</translation> </message> <message> <location line="+317"/> <source>highest</source> <translation>mais alta possível</translation> </message> <message> <location line="+1"/> <source>high</source> <translation>alta</translation> </message> <message> <location line="+1"/> <source>medium-high</source> <translation>média-alta</translation> </message> <message> <location line="+1"/> <source>medium</source> <translation>média</translation> </message> <message> <location line="+4"/> <source>low-medium</source> <translation>média-baixa</translation> </message> <message> <location line="+1"/> <source>low</source> <translation>baixa</translation> </message> <message> <location line="+1"/> <source>lowest</source> <translation>a mais baixa possível</translation> </message> <message> <location line="+155"/> <source>DUST</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>yes</source> <translation>sim</translation> </message> <message> <location line="+10"/> <source>This label turns red, if the transaction size is bigger than 10000 bytes. This means a fee of at least %1 per kb is required. Can vary +/- 1 Byte per input.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transactions with higher priority get more likely into a block. This label turns red, if the priority is smaller than &quot;medium&quot;. This means a fee of at least %1 per kb is required.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This label turns red, if any recipient receives an amount smaller than %1. This means a fee of at least %2 is required. Amounts below 0.546 times the minimum relay fee are shown as DUST.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This label turns red, if the change is smaller than %1. This means a fee of at least %2 is required.</source> <translation type="unfinished"/> </message> <message> <location line="+36"/> <location line="+66"/> <source>(no label)</source> <translation>(Sem rótulo)</translation> </message> <message> <location line="-9"/> <source>change from %1 (%2)</source> <translation>troco de %1 (%2)</translation> </message> <message> <location line="+1"/> <source>(change)</source> <translation>(troco)</translation> </message> </context> <context> <name>EditAddressDialog</name> <message> <location filename="../forms/editaddressdialog.ui" line="+14"/> <source>Edit Address</source> <translation>Editar Endereço</translation> </message> <message> <location line="+11"/> <source>&amp;Label</source> <translation>&amp;Etiqueta</translation> </message> <message> <location line="+10"/> <source>The label associated with this address book entry</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Address</source> <translation>&amp;Endereço</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 type="unfinished"/> </message> <message> <location filename="../editaddressdialog.cpp" line="+21"/> <source>New receiving address</source> <translation>Novo endereço de recebimento</translation> </message> <message> <location line="+4"/> <source>New sending address</source> <translation>Novo endereço de envio</translation> </message> <message> <location line="+3"/> <source>Edit receiving address</source> <translation>Editar endereço de recebimento</translation> </message> <message> <location line="+4"/> <source>Edit sending address</source> <translation>Editar endereço de envio</translation> </message> <message> <location line="+76"/> <source>The entered address &quot;%1&quot; is already in the address book.</source> <translation>O endereço digitado &quot;%1&quot; já se encontra no catálogo de endereços.</translation> </message> <message> <location line="-5"/> <source>The entered address &quot;%1&quot; is not a valid StakeCoin address.</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Could not unlock wallet.</source> <translation>Não foi possível destravar a carteira.</translation> </message> <message> <location line="+5"/> <source>New key generation failed.</source> <translation>A geração de nova chave falhou.</translation> </message> </context> <context> <name>GUIUtil::HelpMessageBox</name> <message> <location filename="../guiutil.cpp" line="+426"/> <location line="+12"/> <source>StakeCoin-Qt</source> <translation type="unfinished"/> </message> <message> <location line="-12"/> <source>version</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Usage:</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>command-line options</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>UI options</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Set language, for example &quot;de_DE&quot; (default: system locale)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Start minimized</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Show splash screen on startup (default: 1)</source> <translation type="unfinished"/> </message> </context> <context> <name>OptionsDialog</name> <message> <location filename="../forms/optionsdialog.ui" line="+14"/> <source>Options</source> <translation>Opções</translation> </message> <message> <location line="+16"/> <source>&amp;Main</source> <translation>Principal</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. Fee 0.01 recommended.</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Pay transaction &amp;fee</source> <translation>Pagar taxa de &amp;transação</translation> </message> <message> <location line="+31"/> <source>Reserved amount does not participate in staking and is therefore spendable at any time.</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Reserve</source> <translation type="unfinished"/> </message> <message> <location line="+31"/> <source>Automatically start StakeCoin after logging in to the system.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Start StakeCoin on system login</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>&amp;Network</source> <translation>Rede</translation> </message> <message> <location line="+6"/> <source>Automatically open the StakeCoin client port on the router. This only works when your router supports UPnP and it is enabled.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Map port using &amp;UPnP</source> <translation>Mapear porta usando &amp;UPnP</translation> </message> <message> <location line="+7"/> <source>Connect to the StakeCoin network through a SOCKS proxy (e.g. when connecting through Tor).</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Connect through SOCKS proxy:</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Proxy &amp;IP:</source> <translation>&amp;IP do proxy:</translation> </message> <message> <location line="+19"/> <source>IP address of the proxy (e.g. 127.0.0.1)</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Port:</source> <translation>&amp;Porta:</translation> </message> <message> <location line="+19"/> <source>Port of the proxy (e.g. 9050)</source> <translation>Porta do serviço de proxy (ex. 9050)</translation> </message> <message> <location line="+7"/> <source>SOCKS &amp;Version:</source> <translation>&amp;Versão do SOCKS:</translation> </message> <message> <location line="+13"/> <source>SOCKS version of the proxy (e.g. 5)</source> <translation>Versão do proxy SOCKS (ex. 5)</translation> </message> <message> <location line="+36"/> <source>&amp;Window</source> <translation>&amp;Janela</translation> </message> <message> <location line="+6"/> <source>Show only a tray icon after minimizing the window.</source> <translation>Mostrar apenas um ícone na bandeja ao minimizar a janela.</translation> </message> <message> <location line="+3"/> <source>&amp;Minimize to the tray instead of the taskbar</source> <translation>&amp;Minimizar para a bandeja em vez da barra de tarefas.</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>Minimizar em vez de sair do aplicativo quando a janela for fechada. Quando esta opção é escolhida, o aplicativo só será fechado selecionando Sair no menu Arquivo.</translation> </message> <message> <location line="+3"/> <source>M&amp;inimize on close</source> <translation>M&amp;inimizar ao sair</translation> </message> <message> <location line="+21"/> <source>&amp;Display</source> <translation>&amp;Mostrar</translation> </message> <message> <location line="+8"/> <source>User Interface &amp;language:</source> <translation>&amp;Língua da interface com usuário:</translation> </message> <message> <location line="+13"/> <source>The user interface language can be set here. This setting will take effect after restarting StakeCoin.</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>&amp;Unit to show amounts in:</source> <translation>&amp;Unidade usada para mostrar quantidades:</translation> </message> <message> <location line="+13"/> <source>Choose the default subdivision unit to show in the interface and when sending coins.</source> <translation>Escolha a unidade padrão de subdivisão para interface mostrar quando enviar bitcoins.</translation> </message> <message> <location line="+9"/> <source>Whether to show coin control features or not.</source> <translation>Mostrar ou não opções de controle da moeda.</translation> </message> <message> <location line="+3"/> <source>Display coin &amp;control features (experts only!)</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Whether to select the coin outputs randomly or with minimal coin age.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Minimize weight consumption (experimental)</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Use black visual theme (requires restart)</source> <translation type="unfinished"/> </message> <message> <location line="+71"/> <source>&amp;OK</source> <translation>&amp;OK</translation> </message> <message> <location line="+7"/> <source>&amp;Cancel</source> <translation>&amp;Cancelar</translation> </message> <message> <location line="+10"/> <source>&amp;Apply</source> <translation type="unfinished"/> </message> <message> <location filename="../optionsdialog.cpp" line="+53"/> <source>default</source> <translation>padrão</translation> </message> <message> <location line="+149"/> <location line="+9"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="-9"/> <location line="+9"/> <source>This setting will take effect after restarting StakeCoin.</source> <translation type="unfinished"/> </message> <message> <location line="+29"/> <source>The supplied proxy address is invalid.</source> <translation>O endereço proxy fornecido é inválido.</translation> </message> </context> <context> <name>OverviewPage</name> <message> <location filename="../forms/overviewpage.ui" line="+14"/> <source>Form</source> <translation>Formulário</translation> </message> <message> <location line="+46"/> <location line="+247"/> <source>The displayed information may be out of date. Your wallet automatically synchronizes with the StakeCoin network after a connection is established, but this process has not completed yet.</source> <translation type="unfinished"/> </message> <message> <location line="-173"/> <source>Stake:</source> <translation type="unfinished"/> </message> <message> <location line="+32"/> <source>Unconfirmed:</source> <translation type="unfinished"/> </message> <message> <location line="-113"/> <source>Wallet</source> <translation>Carteira</translation> </message> <message> <location line="+49"/> <source>Spendable:</source> <translation type="unfinished"/> </message> <message> <location line="+16"/> <source>Your current spendable balance</source> <translation>Seu saldo atual spendable</translation> </message> <message> <location line="+80"/> <source>Immature:</source> <translation>Imaturo:</translation> </message> <message> <location line="+13"/> <source>Mined balance that has not yet matured</source> <translation>Saldo minerado que ainda não maturou</translation> </message> <message> <location line="+23"/> <source>Total:</source> <translation>Total:</translation> </message> <message> <location line="+16"/> <source>Your current total balance</source> <translation>Seu saldo total atual</translation> </message> <message> <location line="+50"/> <source>&lt;b&gt;Recent transactions&lt;/b&gt;</source> <translation>&lt;b&gt;Transações recentes&lt;/b&gt;</translation> </message> <message> <location line="-118"/> <source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source> <translation type="unfinished"/> </message> <message> <location line="-32"/> <source>Total of coins that was staked, and do not yet count toward the current balance</source> <translation type="unfinished"/> </message> <message> <location filename="../overviewpage.cpp" line="+116"/> <location line="+1"/> <source>out of sync</source> <translation>fora de sincronia</translation> </message> </context> <context> <name>PaymentServer</name> <message> <location filename="../paymentserver.cpp" line="+107"/> <source>Cannot start stakecoin: click-to-pay handler</source> <translation type="unfinished"/> </message> </context> <context> <name>QRCodeDialog</name> <message> <location filename="../forms/qrcodedialog.ui" line="+14"/> <source>QR Code Dialog</source> <translation type="unfinished"/> </message> <message> <location line="+59"/> <source>Request Payment</source> <translation type="unfinished"/> </message> <message> <location line="+56"/> <source>Amount:</source> <translation type="unfinished"/> </message> <message> <location line="-44"/> <source>Label:</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Message:</source> <translation type="unfinished"/> </message> <message> <location line="+71"/> <source>&amp;Save As...</source> <translation type="unfinished"/> </message> <message> <location filename="../qrcodedialog.cpp" line="+62"/> <source>Error encoding URI into QR Code.</source> <translation type="unfinished"/> </message> <message> <location line="+40"/> <source>The entered amount is invalid, please check.</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Resulting URI too long, try to reduce the text for label / message.</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>Save QR Code</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>PNG Images (*.png)</source> <translation type="unfinished"/> </message> </context> <context> <name>RPCConsole</name> <message> <location filename="../forms/rpcconsole.ui" line="+46"/> <source>Client name</source> <translation>Nome do cliente</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"/> <source>N/A</source> <translation>N/A</translation> </message> <message> <location line="-194"/> <source>Client version</source> <translation>Versão do cliente</translation> </message> <message> <location line="-45"/> <source>&amp;Information</source> <translation>&amp;Informação</translation> </message> <message> <location line="+68"/> <source>Using OpenSSL version</source> <translation>Usando OpenSSL versão</translation> </message> <message> <location line="+49"/> <source>Startup time</source> <translation>Horário de inicialização</translation> </message> <message> <location line="+29"/> <source>Network</source> <translation>Rede</translation> </message> <message> <location line="+7"/> <source>Number of connections</source> <translation>Número de conexões</translation> </message> <message> <location line="+23"/> <source>On testnet</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Block chain</source> <translation>Corrente de blocos</translation> </message> <message> <location line="+7"/> <source>Current number of blocks</source> <translation>Quantidade atual de blocos</translation> </message> <message> <location line="+197"/> <source>&amp;Network Traffic</source> <translation type="unfinished"/> </message> <message> <location line="+52"/> <source>&amp;Clear</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Totals</source> <translation type="unfinished"/> </message> <message> <location line="+64"/> <source>In:</source> <translation type="unfinished"/> </message> <message> <location line="+80"/> <source>Out:</source> <translation type="unfinished"/> </message> <message> <location line="-383"/> <source>Last block time</source> <translation>Horário do último bloco</translation> </message> <message> <location line="+52"/> <source>&amp;Open</source> <translation>&amp;Abrir</translation> </message> <message> <location line="+16"/> <source>Command-line options</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Show the StakeCoin-Qt help message to get a list with possible StakeCoin command-line options.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Show</source> <translation type="unfinished"/> </message> <message> <location line="+24"/> <source>&amp;Console</source> <translation>&amp;Console</translation> </message> <message> <location line="-237"/> <source>Build date</source> <translation>Data do &apos;build&apos;</translation> </message> <message> <location line="-104"/> <source>StakeCoin - Debug window</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>StakeCoin Core</source> <translation type="unfinished"/> </message> <message> <location line="+256"/> <source>Debug log file</source> <translation>Arquivo de log de Depuração</translation> </message> <message> <location line="+7"/> <source>Open the StakeCoin debug log file from the current data directory. This can take a few seconds for large log files.</source> <translation type="unfinished"/> </message> <message> <location line="+102"/> <source>Clear console</source> <translation>Limpar console</translation> </message> <message> <location filename="../rpcconsole.cpp" line="+325"/> <source>Welcome to the StakeCoin RPC console.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source> <translation>Use as setas para cima e para baixo para navegar pelo histórico, e &lt;b&gt;Ctrl-L&lt;/b&gt; para limpar a tela.</translation> </message> <message> <location line="+1"/> <source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source> <translation>Digite &lt;b&gt;help&lt;/b&gt; para uma visão geral dos comandos disponíveis.</translation> </message> <message> <location line="+127"/> <source>%1 B</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1 KB</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1 MB</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1 GB</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>%1 m</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>%1 h</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1 h %2 m</source> <translation type="unfinished"/> </message> </context> <context> <name>SendCoinsDialog</name> <message> <location filename="../forms/sendcoinsdialog.ui" line="+14"/> <location filename="../sendcoinsdialog.cpp" line="+181"/> <location line="+5"/> <location line="+5"/> <location line="+5"/> <location line="+6"/> <location line="+5"/> <location line="+5"/> <source>Send Coins</source> <translation>Enviar dinheiro</translation> </message> <message> <location line="+76"/> <source>Coin Control Features</source> <translation>Opções de Controle da Moeda</translation> </message> <message> <location line="+20"/> <source>Inputs...</source> <translation>Entradas...</translation> </message> <message> <location line="+7"/> <source>automatically selected</source> <translation>automaticamente selecionado</translation> </message> <message> <location line="+19"/> <source>Insufficient funds!</source> <translation>Saldo insuficiente!</translation> </message> <message> <location line="+77"/> <source>Quantity:</source> <translation>Quantidade:</translation> </message> <message> <location line="+22"/> <location line="+35"/> <source>0</source> <translation type="unfinished"/> </message> <message> <location line="-19"/> <source>Bytes:</source> <translation>Bytes:</translation> </message> <message> <location line="+51"/> <source>Amount:</source> <translation>Quantia:</translation> </message> <message> <location line="+22"/> <location line="+86"/> <location line="+86"/> <location line="+32"/> <source>0.00 STK</source> <translation type="unfinished"/> </message> <message> <location line="-191"/> <source>Priority:</source> <translation>Prioridade:</translation> </message> <message> <location line="+19"/> <source>medium</source> <translation type="unfinished"/> </message> <message> <location line="+32"/> <source>Fee:</source> <translation>Taxa:</translation> </message> <message> <location line="+35"/> <source>Low Output:</source> <translation>Rendimento baixo:</translation> </message> <message> <location line="+19"/> <source>no</source> <translation type="unfinished"/> </message> <message> <location line="+32"/> <source>After Fee:</source> <translation>Depois da taxa:</translation> </message> <message> <location line="+35"/> <source>Change</source> <translation type="unfinished"/> </message> <message> <location line="+50"/> <source>custom change address</source> <translation type="unfinished"/> </message> <message> <location line="+106"/> <source>Send to multiple recipients at once</source> <translation>Enviar para vários destinatários de uma só vez</translation> </message> <message> <location line="+3"/> <source>Add &amp;Recipient</source> <translation>Adicionar destinatário</translation> </message> <message> <location line="+16"/> <source>Remove all transaction fields</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Clear &amp;All</source> <translation>Limpar Tudo</translation> </message> <message> <location line="+24"/> <source>Balance:</source> <translation>Saldo:</translation> </message> <message> <location line="+16"/> <source>123.456 STK</source> <translation type="unfinished"/> </message> <message> <location line="+31"/> <source>Confirm the send action</source> <translation>Confirmar o envio</translation> </message> <message> <location line="+3"/> <source>S&amp;end</source> <translation>Enviar</translation> </message> <message> <location filename="../sendcoinsdialog.cpp" line="-173"/> <source>Enter a StakeCoin address (e.g. <API key>)</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Copy quantity</source> <translation>Copiar quantidade</translation> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation>Copiar quantia</translation> </message> <message> <location line="+1"/> <source>Copy fee</source> <translation>Copiar taxa</translation> </message> <message> <location line="+1"/> <source>Copy after fee</source> <translation>Copia pós-taxa</translation> </message> <message> <location line="+1"/> <source>Copy bytes</source> <translation>Copiar bytes</translation> </message> <message> <location line="+1"/> <source>Copy priority</source> <translation>Copia prioridade</translation> </message> <message> <location line="+1"/> <source>Copy low output</source> <translation>Copia saída de pouco valor</translation> </message> <message> <location line="+1"/> <source>Copy change</source> <translation>Copia alteração</translation> </message> <message> <location line="+86"/> <source>&lt;b&gt;%1&lt;/b&gt; to %2 (%3)</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Confirm send coins</source> <translation>Confirmar envio de dinheiro</translation> </message> <message> <location line="+1"/> <source>Are you sure you want to send %1?</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source> and </source> <translation type="unfinished"/> </message> <message> <location line="+29"/> <source>The recipient address is not valid, please recheck.</source> <translation>O endereço do destinatário não é válido, favor verificar.</translation> </message> <message> <location line="+5"/> <source>The amount to pay must be larger than 0.</source> <translation>A quantidade a ser paga precisa ser maior que 0.</translation> </message> <message> <location line="+5"/> <source>The amount exceeds your balance.</source> <translation>A quantidade excede seu saldo.</translation> </message> <message> <location line="+5"/> <source>The total exceeds your balance when the %1 transaction fee is included.</source> <translation>O total excede seu saldo quando uma taxa de transação de %1 é incluída.</translation> </message> <message> <location line="+6"/> <source>Duplicate address found, can only send to each address once per send operation.</source> <translation>Endereço duplicado: pode-se enviar para cada endereço apenas uma vez por transação.</translation> </message> <message> <location line="+5"/> <source>Error: Transaction creation failed!</source> <translation type="unfinished"/> </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 type="unfinished"/> </message> <message> <location line="+247"/> <source>WARNING: Invalid StakeCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>(no label)</source> <translation>(Sem rótulo)</translation> </message> <message> <location line="+4"/> <source>WARNING: unknown change address</source> <translation type="unfinished"/> </message> </context> <context> <name>SendCoinsEntry</name> <message> <location filename="../forms/sendcoinsentry.ui" line="+14"/> <source>Form</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>A&amp;mount:</source> <translation>Q&amp;uantidade:</translation> </message> <message> <location line="+13"/> <source>Pay &amp;To:</source> <translation>Pagar &amp;Para:</translation> </message> <message> <location line="+34"/> <source>The address to send the payment to (e.g. <API key>)</source> <translation type="unfinished"/> </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>Digite uma etiqueta para este endereço para adicioná-lo ao catálogo de endereços</translation> </message> <message> <location line="-78"/> <source>&amp;Label:</source> <translation>&amp;Etiqueta:</translation> </message> <message> <location line="+28"/> <source>Choose address from address book</source> <translation type="unfinished"/> </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>Colar o endereço da área de transferência</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 type="unfinished"/> </message> <message> <location filename="../sendcoinsentry.cpp" line="+1"/> <source>Enter a StakeCoin address (e.g. <API key>)</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../forms/<API key>.ui" line="+14"/> <source>Signatures - Sign / Verify a Message</source> <translation>Assinaturas - Assinar / Verificar uma mensagem</translation> </message> <message> <location line="+13"/> <location line="+124"/> <source>&amp;Sign Message</source> <translation>&amp;Assinar Mensagem</translation> </message> <message> <location line="-118"/> <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>Você pode assinar mensagens com seus endereços para provar que você é o dono deles. Seja cuidadoso para não assinar algo vago, pois ataques de pishing podem tentar te enganar para dar sua assinatura de identidade para eles. Apenas assine afirmações completamente detalhadas com as quais você concorda.</translation> </message> <message> <location line="+18"/> <source>The address to sign the message with (e.g. <API key>)</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <location line="+203"/> <source>Choose an address from the address book</source> <translation type="unfinished"/> </message> <message> <location line="-193"/> <location line="+203"/> <source>Alt+A</source> <translation>Alt+A</translation> </message> <message> <location line="-193"/> <source>Paste address from clipboard</source> <translation>Colar o endereço da área de transferência</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>Entre a mensagem que você quer assinar aqui</translation> </message> <message> <location line="+24"/> <source>Copy the current signature to the system clipboard</source> <translation>Copiar a assinatura para a área de transferência do sistema</translation> </message> <message> <location line="+21"/> <source>Sign the message to prove you own this StakeCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Reset all sign message fields</source> <translation>Limpar todos os campos de assinatura da mensagem</translation> </message> <message> <location line="+3"/> <location line="+146"/> <source>Clear &amp;All</source> <translation>Limpar Tudo</translation> </message> <message> <location line="-87"/> <location line="+70"/> <source>&amp;Verify Message</source> <translation>&amp;Verificar Mensagem</translation> </message> <message> <location line="-64"/> <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>Forneça o endereço da assinatura, a mensagem (se assegure que você copiou quebras de linha, espaços, tabs, etc. exatamente) e a assinatura abaixo para verificar a mensagem. Cuidado para não ler mais na assinatura do que está escrito na mensagem propriamente, para evitar ser vítima de uma ataque do tipo &quot;man-in-the-middle&quot;.</translation> </message> <message> <location line="+21"/> <source>The address the message was signed with (e.g. <API key>)</source> <translation type="unfinished"/> </message> <message> <location line="+40"/> <source>Verify the message to ensure it was signed with the specified StakeCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Reset all verify message fields</source> <translation>Limpar todos os campos de assinatura da mensagem</translation> </message> <message> <location filename="../<API key>.cpp" line="+27"/> <location line="+3"/> <source>Enter a StakeCoin address (e.g. <API key>)</source> <translation type="unfinished"/> </message> <message> <location line="-2"/> <source>Click &quot;Sign Message&quot; to generate signature</source> <translation>Clique em &quot;Assinar Mensagem&quot; para gerar a assinatura</translation> </message> <message> <location line="+3"/> <source>Enter StakeCoin signature</source> <translation type="unfinished"/> </message> <message> <location line="+82"/> <location line="+81"/> <source>The entered address is invalid.</source> <translation>O endereço fornecido é inválido.</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>Por favor, verifique o endereço e tente novamente.</translation> </message> <message> <location line="-81"/> <location line="+81"/> <source>The entered address does not refer to a key.</source> <translation>O endereço fornecido não se refere a uma chave.</translation> </message> <message> <location line="-73"/> <source>Wallet unlock was cancelled.</source> <translation>Destravamento da Carteira foi cancelado.</translation> </message> <message> <location line="+8"/> <source>Private key for the entered address is not available.</source> <translation>A chave privada para o endereço fornecido não está disponível.</translation> </message> <message> <location line="+12"/> <source>Message signing failed.</source> <translation>Assinatura da mensagem falhou.</translation> </message> <message> <location line="+5"/> <source>Message signed.</source> <translation>Mensagem assinada.</translation> </message> <message> <location line="+59"/> <source>The signature could not be decoded.</source> <translation>A assinatura não pode ser decodificada.</translation> </message> <message> <location line="+0"/> <location line="+13"/> <source>Please check the signature and try again.</source> <translation>Por favor, verifique a assinatura e tente novamente.</translation> </message> <message> <location line="+0"/> <source>The signature did not match the message digest.</source> <translation>A assinatura não corresponde ao &quot;resumo da mensagem&quot;.</translation> </message> <message> <location line="+7"/> <source>Message verification failed.</source> <translation>Verificação da mensagem falhou.</translation> </message> <message> <location line="+5"/> <source>Message verified.</source> <translation>Mensagem verificada.</translation> </message> </context> <context> <name>TrafficGraphWidget</name> <message> <location filename="../trafficgraphwidget.cpp" line="+75"/> <source>KB/s</source> <translation type="unfinished"/> </message> </context> <context> <name>TransactionDesc</name> <message> <location filename="../transactiondesc.cpp" line="+25"/> <source>Open until %1</source> <translation>Aberto até %1</translation> </message> <message> <location line="+6"/> <source>conflicted</source> <translation>em conflito</translation> </message> <message> <location line="+2"/> <source>%1/offline</source> <translation>%1/offline</translation> </message> <message> <location line="+2"/> <source>%1/unconfirmed</source> <translation>%1/não confirmadas</translation> </message> <message> <location line="+2"/> <source>%1 confirmations</source> <translation>%1 confirmações</translation> </message> <message> <location line="+17"/> <source>Status</source> <translation>Status</translation> </message> <message numerus="yes"> <location line="+7"/> <source>, broadcast through %n node(s)</source> <translation><numerusform>, difundir atráves de %n nó</numerusform><numerusform>, difundir atráves de %n nós</numerusform></translation> </message> <message> <location line="+4"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+7"/> <source>Source</source> <translation>Fonte</translation> </message> <message> <location line="+0"/> <source>Generated</source> <translation>Gerados</translation> </message> <message> <location line="+5"/> <location line="+17"/> <source>From</source> <translation>De</translation> </message> <message> <location line="+1"/> <location line="+22"/> <location line="+58"/> <source>To</source> <translation>Para</translation> </message> <message> <location line="-77"/> <location line="+2"/> <source>own address</source> <translation>seu próprio endereço</translation> </message> <message> <location line="-2"/> <source>label</source> <translation>etiqueta</translation> </message> <message> <location line="+37"/> <location line="+12"/> <location line="+45"/> <location line="+17"/> <location line="+30"/> <source>Credit</source> <translation>Crédito</translation> </message> <message numerus="yes"> <location line="-102"/> <source>matures in %n more block(s)</source> <translation><numerusform>matura em mais %n bloco</numerusform><numerusform>matura em mais %n blocos</numerusform></translation> </message> <message> <location line="+2"/> <source>not accepted</source> <translation>não aceito</translation> </message> <message> <location line="+44"/> <location line="+8"/> <location line="+15"/> <location line="+30"/> <source>Debit</source> <translation>Débito</translation> </message> <message> <location line="-39"/> <source>Transaction fee</source> <translation>Taxa de transação</translation> </message> <message> <location line="+16"/> <source>Net amount</source> <translation>Valor líquido</translation> </message> <message> <location line="+6"/> <source>Message</source> <translation>Mensagem</translation> </message> <message> <location line="+2"/> <source>Comment</source> <translation>Comentário</translation> </message> <message> <location line="+2"/> <source>Transaction ID</source> <translation>ID da transação</translation> </message> <message> <location line="+3"/> <source>Generated coins must mature 510 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 &quot;not accepted&quot; and it won&apos;t be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Debug information</source> <translation>Informação de depuração</translation> </message> <message> <location line="+8"/> <source>Transaction</source> <translation>Transação</translation> </message> <message> <location line="+5"/> <source>Inputs</source> <translation>Entradas</translation> </message> <message> <location line="+21"/> <source>Amount</source> <translation>Quantidade</translation> </message> <message> <location line="+1"/> <source>true</source> <translation>verdadeiro</translation> </message> <message> <location line="+0"/> <source>false</source> <translation>falso</translation> </message> <message> <location line="-209"/> <source>, has not been successfully broadcast yet</source> <translation>, ainda não foi propagada na rede com sucesso.</translation> </message> <message numerus="yes"> <location line="-36"/> <source>Open for %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+71"/> <source>unknown</source> <translation>desconhecido</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../forms/<API key>.ui" line="+14"/> <source>Transaction details</source> <translation>Detalhes da transação</translation> </message> <message> <location line="+6"/> <source>This pane shows a detailed description of the transaction</source> <translation>Este painel mostra uma descrição detalhada da transação</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../<API key>.cpp" line="+231"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+0"/> <source>Type</source> <translation>Tipo</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Endereço</translation> </message> <message> <location line="+0"/> <source>Amount</source> <translation>Quantidade</translation> </message> <message> <location line="+52"/> <source>Open until %1</source> <translation>Aberto até %1</translation> </message> <message> <location line="+12"/> <source>Confirmed (%1 confirmations)</source> <translation>Confirmado (%1 confirmações)</translation> </message> <message numerus="yes"> <location line="-15"/> <source>Open for %n more block(s)</source> <translation><numerusform>Abrir para mais %n bloco</numerusform><numerusform>Abrir para mais %n blocos</numerusform></translation> </message> <message> <location line="+6"/> <source>Offline</source> <translation>Offline</translation> </message> <message> <location line="+3"/> <source>Unconfirmed</source> <translation>Não confirmado</translation> </message> <message> <location line="+3"/> <source>Confirming (%1 of %2 recommended confirmations)</source> <translation>Confirmando (%1 de %2 confirmações recomendadas)</translation> </message> <message> <location line="+6"/> <source>Conflicted</source> <translation>Conflitou</translation> </message> <message> <location line="+3"/> <source>Immature (%1 confirmations, will be available after %2)</source> <translation>Recém-criado (%1 confirmações, disponível somente após %2)</translation> </message> <message> <location line="+3"/> <source>This block was not received by any other nodes and will probably not be accepted!</source> <translation>Este bloco não foi recebido por nenhum outro participante da rede e provavelmente não será aceito!</translation> </message> <message> <location line="+3"/> <source>Generated but not accepted</source> <translation>Gerado mas não aceito</translation> </message> <message> <location line="+42"/> <source>Received with</source> <translation>Recebido por</translation> </message> <message> <location line="+2"/> <source>Received from</source> <translation>Recebido de</translation> </message> <message> <location line="+3"/> <source>Sent to</source> <translation>Enviado para</translation> </message> <message> <location line="+2"/> <source>Payment to yourself</source> <translation>Pagamento para você mesmo</translation> </message> <message> <location line="+2"/> <source>Mined</source> <translation>Minerado</translation> </message> <message> <location line="+38"/> <source>(n/a)</source> <translation>(n/a)</translation> </message> <message> <location line="+194"/> <source>Transaction status. Hover over this field to show number of confirmations.</source> <translation>Status da transação. Passe o mouse sobre este campo para mostrar o número de confirmações.</translation> </message> <message> <location line="+2"/> <source>Date and time that the transaction was received.</source> <translation>Data e hora em que a transação foi recebida.</translation> </message> <message> <location line="+2"/> <source>Type of transaction.</source> <translation>Tipo de transação.</translation> </message> <message> <location line="+2"/> <source>Destination address of transaction.</source> <translation>Endereço de destino da transação.</translation> </message> <message> <location line="+2"/> <source>Amount removed from or added to balance.</source> <translation>Quantidade debitada ou creditada ao saldo.</translation> </message> </context> <context> <name>TransactionView</name> <message> <location filename="../transactionview.cpp" line="+54"/> <location line="+17"/> <source>All</source> <translation>Todos</translation> </message> <message> <location line="-16"/> <source>Today</source> <translation>Hoje</translation> </message> <message> <location line="+1"/> <source>This week</source> <translation>Esta semana</translation> </message> <message> <location line="+1"/> <source>This month</source> <translation>Este mês</translation> </message> <message> <location line="+1"/> <source>Last month</source> <translation>Mês passado</translation> </message> <message> <location line="+1"/> <source>This year</source> <translation>Este ano</translation> </message> <message> <location line="+1"/> <source>Range...</source> <translation>Intervalo...</translation> </message> <message> <location line="+12"/> <source>Received with</source> <translation>Recebido por</translation> </message> <message> <location line="+2"/> <source>Sent to</source> <translation>Enviado para</translation> </message> <message> <location line="+2"/> <source>To yourself</source> <translation>Para você mesmo</translation> </message> <message> <location line="+1"/> <source>Mined</source> <translation>Minerado</translation> </message> <message> <location line="+1"/> <source>Other</source> <translation>Outro</translation> </message> <message> <location line="+7"/> <source>Enter address or label to search</source> <translation>Procure um endereço ou etiqueta</translation> </message> <message> <location line="+7"/> <source>Min amount</source> <translation>Quantidade mínima</translation> </message> <message> <location line="+34"/> <source>Copy address</source> <translation>Copiar endereço</translation> </message> <message> <location line="+1"/> <source>Copy label</source> <translation>Copiar etiqueta</translation> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation>Copiar quantia</translation> </message> <message> <location line="+1"/> <source>Copy transaction ID</source> <translation>Copiar ID da transação</translation> </message> <message> <location line="+1"/> <source>Edit label</source> <translation>Editar etiqueta</translation> </message> <message> <location line="+1"/> <source>Show transaction details</source> <translation>Mostrar detalhes da transação</translation> </message> <message> <location line="+138"/> <source>Export Transaction Data</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Arquivo separado por vírgulas (*. csv)</translation> </message> <message> <location line="+8"/> <source>Confirmed</source> <translation>Confirmado</translation> </message> <message> <location line="+1"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+1"/> <source>Type</source> <translation>Tipo</translation> </message> <message> <location line="+1"/> <source>Label</source> <translation>Etiqueta</translation> </message> <message> <location line="+1"/> <source>Address</source> <translation>Endereço</translation> </message> <message> <location line="+1"/> <source>Amount</source> <translation>Quantidade</translation> </message> <message> <location line="+1"/> <source>ID</source> <translation>ID</translation> </message> <message> <location line="+4"/> <source>Error exporting</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation type="unfinished"/> </message> <message> <location line="+100"/> <source>Range:</source> <translation>Intervalo: </translation> </message> <message> <location line="+8"/> <source>to</source> <translation>para</translation> </message> </context> <context> <name>WalletModel</name> <message> <location filename="../walletmodel.cpp" line="+208"/> <source>Sending...</source> <translation type="unfinished"/> </message> </context> <context> <name>bitcoin-core</name> <message> <location filename="../bitcoinstrings.cpp" line="+173"/> <source>StakeCoin version</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Usage:</source> <translation>Uso:</translation> </message> <message> <location line="+1"/> <source>Send command to -server or stakecoind</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>List commands</source> <translation>Lista de comandos</translation> </message> <message> <location line="+1"/> <source>Get help for a command</source> <translation>Obtenha ajuda sobre um comando</translation> </message> <message> <location line="-147"/> <source>Options:</source> <translation>Opções:</translation> </message> <message> <location line="+2"/> <source>Specify configuration file (default: stakecoin.conf)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Specify pid file (default: stakecoind.pid)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Specify wallet file (within data directory)</source> <translation>Especifique o arquivo da carteira (dentro do diretório de dados)</translation> </message> <message> <location line="-1"/> <source>Specify data directory</source> <translation>Especificar diretório de dados</translation> </message> <message> <location line="-25"/> <source>%s, you must set a rpcpassword in the configuration file: %s It is recommended you use the following random password: rpcuser=stakecoinrpc 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 &quot;StakeCoin Alert&quot; admin@foo.com </source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Set database cache size in megabytes (default: 25)</source> <translation>Definir o tamanho do cache do banco de dados em megabytes (padrão: 25)</translation> </message> <message> <location line="+1"/> <source>Set database disk log size in megabytes (default: 100)</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Listen for connections on &lt;port&gt; (default: 16814 or testnet: 26814)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Maintain at most &lt;n&gt; connections to peers (default: 125)</source> <translation>Manter no máximo &lt;n&gt; conexões aos peers (padrão: 125)</translation> </message> <message> <location line="+3"/> <source>Connect to a node to retrieve peer addresses, and disconnect</source> <translation>Conectar a um nó para receber endereços de participantes, e desconectar.</translation> </message> <message> <location line="+1"/> <source>Specify your own public address</source> <translation>Especificar seu próprio endereço público</translation> </message> <message> <location line="+4"/> <source>Bind to given address. Use [host]:port notation for IPv6</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Query for peer addresses via DNS lookup, if low on addresses (default: 1 unless -connect)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Always query for peer addresses via DNS lookup (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Threshold for disconnecting misbehaving peers (default: 100)</source> <translation>Limite para desconectar peers mal comportados (padrão: 100)</translation> </message> <message> <location line="+1"/> <source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source> <translation>Número de segundos para impedir que peers mal comportados reconectem (padrão: 86400)</translation> </message> <message> <location line="-37"/> <source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source> <translation>Um erro ocorreu ao configurar a porta RPC %u para escuta em IPv4: %s</translation> </message> <message> <location line="+65"/> <source>Listen for JSON-RPC connections on &lt;port&gt; (default: 16815 or testnet: 26815)</source> <translation type="unfinished"/> </message> <message> <location line="-17"/> <source>Accept command line and JSON-RPC commands</source> <translation>Aceitar linha de comando e comandos JSON-RPC</translation> </message> <message> <location line="+1"/> <source>Run in the background as a daemon and accept commands</source> <translation>Rodar em segundo plano como serviço e aceitar comandos</translation> </message> <message> <location line="+1"/> <source>Use the test network</source> <translation>Usar rede de teste</translation> </message> <message> <location line="-24"/> <source>Accept connections from outside (default: 1 if no -proxy or -connect)</source> <translation>Aceitar conexões externas (padrão: 1 se opções -proxy ou -connect não estiverem presentes)</translation> </message> <message> <location line="-29"/> <source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source> <translation>Um erro ocorreu ao configurar a porta RPC %u para escuta em IPv6, voltando ao IPv4: %s</translation> </message> <message> <location line="+96"/> <source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source> <translation>Cuidado: valor de -paytxfee escolhido é muito alto! Este é o valor da taxa de transação que você irá pagar se enviar a transação.</translation> </message> <message> <location line="-103"/> <source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong StakeCoin will not work properly.</source> <translation type="unfinished"/> </message> <message> <location line="+132"/> <source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source> <translation>Cuidado: erro ao ler arquivo wallet.dat! Todas as chaves foram lidas corretamente, mas dados transações e do catálogo de endereços podem estar faltando ou estar incorretas.</translation> </message> <message> <location line="-18"/> <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>Aviso: wallet.dat corrompido, dados recuperados! Arquivo wallet.dat original salvo como wallet.{timestamp}.bak em %s; se seu saldo ou transações estiverem incorretos, você deve restauras o backup.</translation> </message> <message> <location line="-31"/> <source>Attempt to recover private keys from a corrupt wallet.dat</source> <translation>Tentar recuperar chaves privadas de um arquivo wallet.dat corrompido</translation> </message> <message> <location line="+5"/> <source>Block creation options:</source> <translation>Opções de criação de blocos:</translation> </message> <message> <location line="-69"/> <source>Connect only to the specified node(s)</source> <translation>Conectar apenas a nó(s) específico(s)</translation> </message> <message> <location line="+4"/> <source>Discover own IP address (default: 1 when listening and no -externalip)</source> <translation>Descobrir os próprios endereços IP (padrão: 1 quando no modo listening e opção -externalip não estiver presente)</translation> </message> <message> <location line="+101"/> <source>Failed to listen on any port. Use -listen=0 if you want this.</source> <translation>Falha ao escutar em qualquer porta. Use -listen=0 se você quiser isso.</translation> </message> <message> <location line="-91"/> <source>Sync checkpoints policy (default: strict)</source> <translation type="unfinished"/> </message> <message> <location line="+89"/> <source>Invalid -tor address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Invalid amount for -reservebalance=&lt;amount&gt;</source> <translation type="unfinished"/> </message> <message> <location line="-88"/> <source>Maximum per-connection receive buffer, &lt;n&gt;*1000 bytes (default: 5000)</source> <translation>Buffer máximo de recebimento por conexão, &lt;n&gt;*1000 bytes (padrão: 5000)</translation> </message> <message> <location line="+1"/> <source>Maximum per-connection send buffer, &lt;n&gt;*1000 bytes (default: 1000)</source> <translation>Buffer máximo de envio por conexão, &lt;n&gt;*1000 bytes (padrão: 1000)</translation> </message> <message> <location line="-17"/> <source>Only connect to nodes in network &lt;net&gt; (IPv4, IPv6 or Tor)</source> <translation>Apenas conectar em nós na rede &lt;net&gt; (IPv4, IPv6, ou Tor)</translation> </message> <message> <location line="+31"/> <source>Prepend debug output with timestamp</source> <translation type="unfinished"/> </message> <message> <location line="+41"/> <source>SSL options: (see the Bitcoin Wiki for SSL setup instructions)</source> <translation>Opções SSL: (veja a Wiki do Bitcoin para instruções de configuração SSL)</translation> </message> <message> <location line="-81"/> <source>Select the version of socks proxy to use (4-5, default: 5)</source> <translation type="unfinished"/> </message> <message> <location line="+42"/> <source>Send trace/debug info to console instead of debug.log file</source> <translation>Mandar informação de trace/debug para o console em vez de para o arquivo debug.log</translation> </message> <message> <location line="+5"/> <source>Send trace/debug info to debugger</source> <translation type="unfinished"/> </message> <message> <location line="+30"/> <source>Set maximum block size in bytes (default: 250000)</source> <translation type="unfinished"/> </message> <message> <location line="-1"/> <source>Set minimum block size in bytes (default: 0)</source> <translation>Determinar tamanho mínimo de bloco em bytes (padrão: 0)</translation> </message> <message> <location line="-35"/> <source>Shrink debug.log file on client startup (default: 1 when no -debug)</source> <translation>Encolher arquivo debug.log ao iniciar o cliente (padrão 1 se opção -debug não estiver presente)</translation> </message> <message> <location line="-43"/> <source>Specify connection timeout in milliseconds (default: 5000)</source> <translation>Especifique o tempo limite (timeout) da conexão em milissegundos (padrão: 5000) </translation> </message> <message> <location line="+116"/> <source>Unable to sign checkpoint, wrong checkpointkey? </source> <translation type="unfinished"/> </message> <message> <location line="-86"/> <source>Use UPnP to map the listening port (default: 0)</source> <translation>Usar UPnP para mapear porta de escuta (padrão: 0)</translation> </message> <message> <location line="-1"/> <source>Use UPnP to map the listening port (default: 1 when listening)</source> <translation>Usar UPnP para mapear porta de escuta (padrão: 1 quando estiver escutando)</translation> </message> <message> <location line="-26"/> <source>Use proxy to reach tor hidden services (default: same as -proxy)</source> <translation type="unfinished"/> </message> <message> <location line="+47"/> <source>Username for JSON-RPC connections</source> <translation>Nome de usuário para conexões JSON-RPC</translation> </message> <message> <location line="+51"/> <source>Verifying database integrity...</source> <translation type="unfinished"/> </message> <message> <location line="+44"/> <source>Error: Wallet locked, unable to create transaction!</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <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 type="unfinished"/> </message> <message> <location line="+3"/> <source>Error: Transaction creation failed!</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <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 type="unfinished"/> </message> <message> <location line="+7"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>WARNING: syncronized checkpoint violation detected, but skipped!</source> <translation type="unfinished"/> </message> <message> <location line="-1"/> <source>Warning: This version is obsolete, upgrade required!</source> <translation>Cuidado: Esta versão está obsoleta, atualização exigida!</translation> </message> <message> <location line="-54"/> <source>wallet.dat corrupt, salvage failed</source> <translation>wallet.dat corrompido, recuperação falhou</translation> </message> <message> <location line="-56"/> <source>Password for JSON-RPC connections</source> <translation>Senha para conexões JSON-RPC</translation> </message> <message> <location line="-32"/> <source>Sync time with other nodes. Disable if time on your system is precise e.g. syncing with NTP (default: 1)</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>When creating transactions, ignore inputs with value less than this (default: 0.01)</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Output debugging information (default: 0, supplying &lt;category&gt; is optional)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>If &lt;category&gt; is not supplied, output all debugging information.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>&lt;category&gt; can be:</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Enter regression test mode, which uses a special chain in which blocks can be solved instantly. This is intended for regression testing tools and app development.</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Allow JSON-RPC connections from specified IP address</source> <translation>Permitir conexões JSON-RPC de endereços IP específicos</translation> </message> <message> <location line="+1"/> <source>Send commands to node running on &lt;ip&gt; (default: 127.0.0.1)</source> <translation>Enviar comando para nó rodando em &lt;ip&gt; (pardão: 127.0.0.1)</translation> </message> <message> <location line="+1"/> <source>Wait for RPC server to start</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Set the number of threads to service RPC calls (default: 4)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source> <translation>Executar comando quando o melhor bloco mudar (%s no comando será substituído pelo hash do bloco)</translation> </message> <message> <location line="+3"/> <source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source> <translation>Executar comando quando uma transação da carteira mudar (%s no comando será substituído por TxID)</translation> </message> <message> <location line="+3"/> <source>Require a confirmations for change (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Upgrade wallet to latest format</source> <translation>Atualizar carteira para o formato mais recente</translation> </message> <message> <location line="+1"/> <source>Set key pool size to &lt;n&gt; (default: 100)</source> <translation>Determinar tamanho do pool de endereços para &lt;n&gt; (padrão: 100)</translation> </message> <message> <location line="+1"/> <source>Rescan the block chain for missing wallet transactions</source> <translation>Re-escanear blocos procurando por transações perdidas da carteira</translation> </message> <message> <location line="+3"/> <source>How thorough the block verification is (0-6, default: 1)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Imports blocks from external blk000?.dat file</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Use OpenSSL (https) for JSON-RPC connections</source> <translation>Usar OpenSSL (https) para conexões JSON-RPC</translation> </message> <message> <location line="+1"/> <source>Server certificate file (default: server.cert)</source> <translation>Arquivo de certificado do servidor (padrão: server.cert)</translation> </message> <message> <location line="+1"/> <source>Server private key (default: server.pem)</source> <translation>Chave privada do servidor (padrão: server.pem)</translation> </message> <message> <location line="+10"/> <source>Initialization sanity check failed. StakeCoin is shutting down.</source> <translation type="unfinished"/> </message> <message> <location line="+50"/> <source>Error: Wallet unlocked for staking only, unable to create transaction.</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Error: Disk space is low!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>WARNING: Invalid checkpoint found! Displayed transactions may not be correct! You may need to upgrade, or notify developers.</source> <translation type="unfinished"/> </message> <message> <location line="-174"/> <source>This help message</source> <translation>Esta mensagem de ajuda</translation> </message> <message> <location line="+104"/> <source>Wallet %s resides outside data directory %s.</source> <translation type="unfinished"/> </message> <message> <location line="+37"/> <source>Unable to bind to %s on this computer (bind returned error %d, %s)</source> <translation>Impossível vincular a %s neste computador (bind retornou erro %d, %s)</translation> </message> <message> <location line="-133"/> <source>Connect through socks proxy</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Allow DNS lookups for -addnode, -seednode and -connect</source> <translation>Permitir consultas DNS para -addnode, -seednode e -connect</translation> </message> <message> <location line="+126"/> <source>Loading addresses...</source> <translation>Carregando endereços...</translation> </message> <message> <location line="-12"/> <source>Error loading blkindex.dat</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Error loading wallet.dat: Wallet corrupted</source> <translation>Erro ao carregar wallet.dat: Carteira corrompida</translation> </message> <message> <location line="+4"/> <source>Error loading wallet.dat: Wallet requires newer version of StakeCoin</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Wallet needed to be rewritten: restart StakeCoin to complete</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error loading wallet.dat</source> <translation>Erro ao carregar wallet.dat</translation> </message> <message> <location line="-16"/> <source>Invalid -proxy address: &apos;%s&apos;</source> <translation>Endereço -proxy inválido: &apos;%s&apos;</translation> </message> <message> <location line="-1"/> <source>Unknown network specified in -onlynet: &apos;%s&apos;</source> <translation>Rede desconhecida especificada em -onlynet: &apos;%s&apos;</translation> </message> <message> <location line="-1"/> <source>Unknown -socks proxy version requested: %i</source> <translation>Versão desconhecida do proxy -socks requisitada: %i</translation> </message> <message> <location line="+4"/> <source>Cannot resolve -bind address: &apos;%s&apos;</source> <translation>Impossível encontrar o endereço -bind: &apos;%s&apos;</translation> </message> <message> <location line="+2"/> <source>Cannot resolve -externalip address: &apos;%s&apos;</source> <translation>Impossível encontrar endereço -externalip: &apos;%s&apos;</translation> </message> <message> <location line="-23"/> <source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>Quantidade inválida para -paytxfee=&lt;quantidade&gt;: &apos;%s&apos;</translation> </message> <message> <location line="+60"/> <source>Sending...</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Invalid amount</source> <translation>Quantidade inválida</translation> </message> <message> <location line="+1"/> <source>Insufficient funds</source> <translation>Saldo insuficiente</translation> </message> <message> <location line="-40"/> <source>Loading block index...</source> <translation>Carregando índice de blocos...</translation> </message> <message> <location line="-110"/> <source>Add a node to connect to and attempt to keep the connection open</source> <translation>Adicionar um nó com o qual se conectar e tentar manter a conexão ativa</translation> </message> <message> <location line="+125"/> <source>Unable to bind to %s on this computer. StakeCoin is probably already running.</source> <translation type="unfinished"/> </message> <message> <location line="-101"/> <source>Fee per KB to add to transactions you send</source> <translation type="unfinished"/> </message> <message> <location line="+34"/> <source>Minimize weight consumption (experimental) (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>How many blocks to check at startup (default: 500, 0 = all)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Keep at most &lt;n&gt; unconnectable blocks in memory (default: %u)</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Acceptable ciphers (default: TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: Deprecated argument -debugnet ignored, use -debug=net</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Invalid amount for -mininput=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Cannot obtain a lock on data directory %s. StakeCoin is probably already running.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error initializing wallet database environment %s!</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Loading wallet...</source> <translation>Carregando carteira...</translation> </message> <message> <location line="+8"/> <source>Cannot downgrade wallet</source> <translation>Não é possível fazer downgrade da carteira</translation> </message> <message> <location line="+1"/> <source>Cannot write default address</source> <translation>Não foi possível escrever no endereço padrão</translation> </message> <message> <location line="+1"/> <source>Rescanning...</source> <translation>Re-escaneando...</translation> </message> <message> <location line="+2"/> <source>Done loading</source> <translation>Carregamento terminado</translation> </message> <message> <location line="-161"/> <source>To use the %s option</source> <translation>Para usar a opção %s</translation> </message> <message> <location line="+188"/> <source>Error</source> <translation>Erro</translation> </message> <message> <location line="-18"/> <source>You must set rpcpassword=&lt;password&gt; in the configuration file: %s If the file does not exist, create it with owner-readable-only file permissions.</source> <translation>Você precisa especificar rpcpassword=&lt;senha&gt; no arquivo de configurações:⏎ %s⏎ Se o arquivo não existir, crie um com permissão de leitura apenas pelo dono</translation> </message> </context> </TS>
const path = require('path') const webpack = require('webpack') const { merge } = require('webpack-merge') const WebpackChain = require('webpack-chain') const { VueLoaderPlugin } = require('vue-loader') const <API key> = require('./plugin.progress') const BootDefaultExport = require('./plugin.boot-default-export') const parseBuildEnv = require('../helpers/parse-build-env') const appPaths = require('../app-paths') const injectStyleRules = require('./inject.style-rules') const { webpackNames } = require('./symbols') function <API key> (list) { const deps = list.map(dep => { if (typeof dep === 'string') { return path.join('node_modules', dep, '/') .replace(/\\/g, '[\\\\/]') // windows support } else if (dep instanceof RegExp) { return dep.source } }) return new RegExp(deps.join('|')) } function getRootDefines (rootDefines, configName) { if (configName === webpackNames.ssr.serverSide) { return { ...rootDefines, <API key>: true } } if (configName === webpackNames.ssr.clientSide) { return { ...rootDefines, <API key>: true } } return rootDefines } module.exports = function (cfg, configName) { const chain = new WebpackChain() const useFastHash = cfg.ctx.dev || ['electron', 'cordova', 'capacitor', 'bex'].includes(cfg.ctx.modeName) const fileHash = useFastHash === true ? '' : '.[contenthash:8]' const assetHash = useFastHash === true ? '.[hash:8]' : '.[contenthash:8]' const resolveModules = [ 'node_modules', appPaths.resolve.app('node_modules'), appPaths.resolve.cli('node_modules') ] chain.entry('app').add(appPaths.resolve.app('.quasar/client-entry.js')) chain.mode(cfg.ctx.dev ? 'development' : 'production') chain.devtool(cfg.build.sourceMap ? cfg.build.devtool : false) if (cfg.ctx.prod || cfg.ctx.mode.ssr) { chain.output .path( cfg.ctx.mode.ssr ? path.join(cfg.build.distDir, 'www') : cfg.build.distDir ) .publicPath(cfg.build.publicPath) .filename(`js/[name]${fileHash}.js`) .chunkFilename(`js/[name]${useFastHash === true ? '' : '.[chunkhash:8]'}.js`) } chain.resolve.extensions .merge( cfg.supportTS !== false ? [ '.mjs', '.ts', '.js', '.vue', '.json', '.wasm' ] : [ '.mjs', '.js', '.vue', '.json', '.wasm' ] ) chain.resolve.modules .merge(resolveModules) chain.resolve.alias .merge({ src: appPaths.srcDir, app: appPaths.appDir, components: appPaths.resolve.src(`components`), layouts: appPaths.resolve.src(`layouts`), pages: appPaths.resolve.src(`pages`), assets: appPaths.resolve.src(`assets`), boot: appPaths.resolve.src(`boot`), 'src-bex': appPaths.bexDir // needed for app/templates }) const vueFile = configName === webpackNames.ssr.serverSide ? (cfg.ctx.prod ? 'vue.cjs.prod.js' : 'vue.cjs.js') : ( cfg.build.vueCompiler ? 'vue.esm-bundler.js' : 'vue.runtime.esm-bundler.js' ) chain.resolve.alias.set('vue$', 'vue/dist/' + vueFile) const vueI18nFile = configName === webpackNames.ssr.serverSide ? (cfg.ctx.prod ? 'vue-i18n.cjs.prod.js' : 'vue-i18n.cjs.js') : 'vue-i18n.esm-bundler.js' chain.resolve.alias.set('vue-i18n$', 'vue-i18n/dist/' + vueI18nFile) chain.resolveLoader.modules .merge(resolveModules) chain.module.noParse( /^(vue|vue-router|vuex|vuex-router-sync|@quasar[\\/]extras|quasar[\\/]dist)$/ ) const vueRule = chain.module.rule('vue') .test(/\.vue$/) vueRule.use('<API key>') .loader(path.join(__dirname, 'loader.vue.auto-import-quasar.js')) .options({ <API key>: cfg.framework.<API key>, isServerBuild: configName === webpackNames.ssr.serverSide }) vueRule.use('vue-loader') .loader('vue-loader') .options( merge( {}, cfg.build.vueLoaderOptions, { isServerBuild: configName === webpackNames.ssr.serverSide, compilerOptions: configName === webpackNames.ssr.serverSide ? { directiveTransforms: cfg.ssr.directiveTransforms, ssr: true } : {} } ) ) if (configName !== webpackNames.ssr.serverSide) { chain.module.rule('<API key>') .test(/\.(t|j)sx?$/) .use('<API key>') .loader(path.join(__dirname, 'loader.js.<API key>.js')) } if (cfg.build.transpile === true) { const nodeModulesRegex = /[\\/]node_modules[\\/]/ const exceptionsRegex = <API key>( [ /\.vue\.js$/, configName === webpackNames.ssr.serverSide ? 'quasar/src' : 'quasar', '@babel/runtime' ] .concat(cfg.build.<API key>) ) chain.module.rule('babel') .test(/\.js$/) .exclude .add(filepath => ( // Transpile the exceptions: exceptionsRegex.test(filepath) === false && // Don't transpile anything else in node_modules: nodeModulesRegex.test(filepath) )) .end() .use('babel-loader') .loader('babel-loader') .options({ compact: false, extends: appPaths.resolve.app('babel.config.js') }) } if (cfg.supportTS !== false) { chain.module .rule('typescript') .test(/\.ts$/) .use('ts-loader') .loader('ts-loader') .options({ // custom config is merged if present, but vue setup and type checking disable are always applied (cfg.supportTS.tsLoaderConfig || {}), appendTsSuffixTo: [ /\.vue$/ ], // Type checking is handled by <API key> transpileOnly: true }) const <API key> = require('<API key>') chain .plugin('ts-checker') // https://github.com/TypeStrong/<API key>#options .use(<API key>, [ // custom config is merged if present, but vue option is always enabled merge({}, cfg.supportTS.tsCheckerConfig || {}, { typescript: { extensions: { vue: { enabled: true, compiler: '@vue/compiler-sfc' } } } }) ]) } // TODO: change to Asset Management when webpack-chain is webpack5 compatible chain.module.rule('images') .test(/\.(png|jpe?g|gif|svg|webp|avif|ico)(\?.*)?$/) .type('javascript/auto') .use('url-loader') .loader('url-loader') .options({ esModule: false, limit: 10000, name: `img/[name]${assetHash}.[ext]` }) // TODO: change to Asset Management when webpack-chain is webpack5 compatible chain.module.rule('fonts') .test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/) .type('javascript/auto') .use('url-loader') .loader('url-loader') .options({ esModule: false, limit: 10000, name: `fonts/[name]${assetHash}.[ext]` }) // TODO: change to Asset Management when webpack-chain is webpack5 compatible chain.module.rule('media') .test(/\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/) .type('javascript/auto') .use('url-loader') .loader('url-loader') .options({ esModule: false, limit: 10000, name: `media/[name]${assetHash}.[ext]` }) injectStyleRules(chain, { isServerBuild: configName === webpackNames.ssr.serverSide, rtl: cfg.build.rtl, sourceMap: cfg.build.sourceMap, extract: cfg.build.extractCSS, minify: cfg.build.minify, stylusLoaderOptions: cfg.build.stylusLoaderOptions, sassLoaderOptions: cfg.build.sassLoaderOptions, scssLoaderOptions: cfg.build.scssLoaderOptions, lessLoaderOptions: cfg.build.lessLoaderOptions }) chain.module .rule('mjs') .test(/\.mjs$/) .type('javascript/auto') .include .add(/[\\/]node_modules[\\/]/) chain.plugin('vue-loader') .use(VueLoaderPlugin) chain.plugin('define') .use(webpack.DefinePlugin, [ parseBuildEnv(cfg.build.env, getRootDefines(cfg.__rootDefines, configName)) ]) chain.optimization .nodeEnv(false) if (cfg.ctx.dev && configName !== webpackNames.ssr.serverSide && cfg.ctx.mode.pwa && cfg.pwa.workboxPluginMode === 'InjectManifest') { // need to place it here before the status plugin const <API key> = require('./pwa/plugin.custom-sw-warning') chain.plugin('custom-sw-warning') .use(<API key>) } chain.plugin('progress') .use(<API key>, [{ name: configName, cfg }]) chain.plugin('boot-default-export') .use(BootDefaultExport) chain.performance .hints(false) .maxAssetSize(500000) if (configName !== webpackNames.ssr.serverSide && cfg.vendor.disable !== true) { const { add, remove } = cfg.vendor const regex = /[\\/]node_modules[\\/]/ chain.optimization.splitChunks({ cacheGroups: { defaultVendors: { name: 'vendor', chunks: 'all', priority: -10, // a module is extracted into the vendor chunk if... test: add !== void 0 || remove !== void 0 ? module => { if (module.resource) { if (remove !== void 0 && remove.test(module.resource)) { return false } if (add !== void 0 && add.test(module.resource)) { return true } } return regex.test(module.resource) } : regex }, common: { name: `chunk-common`, minChunks: 2, priority: -20, chunks: 'all', reuseExistingChunk: true } } }) } // extract css into its own file if (configName !== webpackNames.ssr.serverSide && cfg.build.extractCSS) { const <API key> = require('<API key>') chain.plugin('mini-css-extract') .use(<API key>, [{ filename: `css/[name]${fileHash}.css` }]) } if (cfg.ctx.prod) { if ( cfg.build.ignorePublicFolder !== true && configName !== webpackNames.ssr.serverSide ) { // copy /public to dist folder const CopyWebpackPlugin = require('copy-webpack-plugin') const ignore = [ '**/.DS_Store', '**/.Thumbs.db', '**/*.sublime*', '**/.idea', '**/.editorconfig', '**/.vscode' ] // avoid useless files to be copied if (['electron', 'cordova', 'capacitor'].includes(cfg.ctx.modeName)) { ignore.push( '**/public/icons', '**/public/favicon.ico' ) } const patterns = [{ from: appPaths.resolve.app('public'), noErrorOnMissing: true, globOptions: { ignore } }] chain.plugin('copy-webpack') .use(CopyWebpackPlugin, [{ patterns }]) } chain.optimization .concatenateModules(cfg.ctx.mode.ssr !== true) if (cfg.ctx.debug) { // reset default webpack 4 minimizer chain.optimization.minimizers.delete('js') // also: chain.optimization.minimize(false) } else if (cfg.build.minify) { const TerserPlugin = require('<API key>') chain.optimization .minimizer('js') .use(TerserPlugin, [{ terserOptions: cfg.build.uglifyOptions, extractComments: false, parallel: true }]) } if (configName !== webpackNames.ssr.serverSide) { // dedupe & minify CSS (only if extracted) if (cfg.build.extractCSS && cfg.build.minify) { const CssMinimizerPlugin = require('<API key>') // We are using this plugin so that possible // duplicated CSS = require(different components) can be deduped. chain.optimization .minimizer('css') .use(CssMinimizerPlugin, [{ parallel: true }]) } // also produce a gzipped version if (cfg.build.gzip) { const <API key> = require('<API key>') chain.plugin('compress-webpack') .use(<API key>, [ cfg.build.gzip ]) } if (cfg.build.analyze) { const <API key> = require('<API key>').<API key> chain.plugin('bundle-analyzer') .use(<API key>, [ Object.assign({}, cfg.build.analyze) ]) } } } return chain }
// <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Cdn.Models { <summary> The <API key>. </summary> public readonly partial struct <API key> : IEquatable<<API key>> { private readonly string _value; <summary> Initializes a new instance of <see cref="<API key>"/>. </summary> <exception cref="<API key>"> <paramref name="value"/> is null. </exception> public <API key>(string value) { _value = value ?? throw new <API key>(nameof(value)); } private const string <API key> = "#Microsoft.Azure.Cdn.Models.<API key>"; <summary> #Microsoft.Azure.Cdn.Models.<API key>. </summary> public static <API key> <API key> { get; } = new <API key>(<API key>); <summary> Determines if two <see cref="<API key>"/> values are the same. </summary> public static bool operator ==(<API key> left, <API key> right) => left.Equals(right); <summary> Determines if two <see cref="<API key>"/> values are not the same. </summary> public static bool operator !=(<API key> left, <API key> right) => !left.Equals(right); <summary> Converts a string to a <see cref="<API key>"/>. </summary> public static implicit operator <API key>(string value) => new <API key>(value); <inheritdoc /> [EditorBrowsable(<API key>.Never)] public override bool Equals(object obj) => obj is <API key> other && Equals(other); <inheritdoc /> public bool Equals(<API key> other) => string.Equals(_value, other._value, StringComparison.<API key>); <inheritdoc /> [EditorBrowsable(<API key>.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; <inheritdoc /> public override string ToString() => _value; } }
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # Note that this schema.rb definition is the authoritative source for your # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 20160404041855) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "admin_users", force: :cascade do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false t.string "<API key>" t.datetime "<API key>" t.datetime "remember_created_at" t.integer "sign_in_count", default: 0, null: false t.datetime "current_sign_in_at" t.datetime "last_sign_in_at" t.inet "current_sign_in_ip" t.inet "last_sign_in_ip" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "admin_users", ["email"], name: "<API key>", unique: true, using: :btree add_index "admin_users", ["<API key>"], name: "<API key>", unique: true, using: :btree create_table "nav_items", force: :cascade do |t| t.string "title", null: false t.integer "url_type", default: 0, null: false t.integer "url_page_id" t.string "url_text" t.integer "prior", default: 9, null: false t.boolean "hided", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "nav_items", ["hided"], name: "<API key>", using: :btree add_index "nav_items", ["prior"], name: "<API key>", using: :btree create_table "news", force: :cascade do |t| t.string "title", null: false t.string "slug", null: false t.datetime "published_at", null: false t.string "preview" t.text "intro" t.text "body" t.text "seodata" t.boolean "hided", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "news", ["hided"], name: "index_news_on_hided", using: :btree add_index "news", ["published_at"], name: "<API key>", using: :btree add_index "news", ["slug"], name: "index_news_on_slug", unique: true, using: :btree create_table "pages", force: :cascade do |t| t.string "title" t.string "path", null: false t.boolean "fixed" t.text "body" t.text "seodata" t.integer "prior", default: 9, null: false t.boolean "hided", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "pages", ["hided"], name: "<API key>", using: :btree add_index "pages", ["path"], name: "index_pages_on_path", using: :btree add_index "pages", ["prior"], name: "<API key>", using: :btree create_table "product_properties", force: :cascade do |t| t.string "name" t.string "latin_name" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "<API key>", id: false, force: :cascade do |t| t.integer "product_property_id" t.integer "prototype_id" end add_index "<API key>", ["product_property_id"], name: "<API key>", using: :btree add_index "<API key>", ["prototype_id"], name: "<API key>", using: :btree create_table "<API key>", force: :cascade do |t| t.string "value" t.integer "product_property_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "<API key>", ["product_property_id"], name: "<API key>", using: :btree create_table "<API key>", id: false, force: :cascade do |t| t.integer "product_id" t.integer "<API key>" end add_index "<API key>", ["product_id"], name: "<API key>", using: :btree add_index "<API key>", ["<API key>"], name: "<API key>", using: :btree create_table "products", force: :cascade do |t| t.string "name" t.text "description" t.string "slug" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "prototype_id" end add_index "products", ["prototype_id"], name: "<API key>", using: :btree create_table "products_taxons", id: false, force: :cascade do |t| t.integer "product_id" t.integer "taxon_id" end add_index "products_taxons", ["product_id"], name: "<API key>", using: :btree add_index "products_taxons", ["taxon_id"], name: "<API key>", using: :btree create_table "prototypes", force: :cascade do |t| t.string "name" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "<API key>", id: false, force: :cascade do |t| t.integer "prototype_id" t.integer "taxonomy_id" end add_index "<API key>", ["prototype_id"], name: "<API key>", using: :btree add_index "<API key>", ["taxonomy_id"], name: "<API key>", using: :btree create_table "<API key>", id: false, force: :cascade do |t| t.integer "prototype_id" t.integer "variant_option_id" end add_index "<API key>", ["prototype_id"], name: "<API key>", using: :btree add_index "<API key>", ["variant_option_id"], name: "<API key>", using: :btree create_table "settings", force: :cascade do |t| t.string "ident", null: false t.string "name" t.text "descr" t.integer "vtype" t.text "val" t.string "group" t.boolean "often" t.boolean "hidden", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "settings", ["hidden"], name: "<API key>", using: :btree add_index "settings", ["ident"], name: "<API key>", using: :btree add_index "settings", ["often"], name: "<API key>", using: :btree create_table "static_files", force: :cascade do |t| t.integer "holder_id" t.string "holder_type" t.string "file", null: false t.string "filetype" t.string "name" t.float "size" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "static_files", ["holder_type", "holder_id"], name: "<API key>", using: :btree create_table "taxonomies", force: :cascade do |t| t.string "name" t.string "latin_name" t.boolean "multiple", default: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "taxons", force: :cascade do |t| t.string "name" t.string "latin_name" t.integer "taxonomy_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "taxons", ["taxonomy_id"], name: "<API key>", using: :btree create_table "<API key>", force: :cascade do |t| t.string "value" t.integer "variant_option_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "<API key>", ["variant_option_id"], name: "<API key>", using: :btree create_table "<API key>", id: false, force: :cascade do |t| t.integer "variant_id" t.integer "<API key>" end add_index "<API key>", ["variant_id"], name: "<API key>", using: :btree add_index "<API key>", ["<API key>"], name: "<API key>", using: :btree create_table "variant_options", force: :cascade do |t| t.string "name" t.string "latin_name" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "variants", force: :cascade do |t| t.string "sku" t.string "width" t.integer "product_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "variants", ["product_id"], name: "<API key>", using: :btree add_foreign_key "nav_items", "pages", column: "url_page_id", on_delete: :cascade add_foreign_key "<API key>", "product_properties" add_foreign_key "taxons", "taxonomies" add_foreign_key "<API key>", "variant_options" end
/** * Default log file name */ const LOG_FILE_NAME = 'red-face' let winston = require('winston') let logger = new (winston.Logger)({ transports: [ //use console logger new (winston.transports.Console)(), //use file logger new (winston.transports.File)({ filename: [LOG_FILE_NAME, '.log'].join('') }), ], }) logger.setLevels({ debug: 0, info: 1, silly: 2, warn: 3, error: 4 }) module.exports = logger
<?php /* <a href="./data/Katmai_Crater_1980.jpg" data-lightbox="gallery" data-title="Katmai Crater - Mount Katmai, Alaska ... Posted 2014.05.05 by donald, in landscape"> <img src="./data/thumb/Katmai_Crater_1980.jpg"/></a> */ ?> <img src="../data/players/{mug}"/><br> <a class="name" href="player/{id}">{Name}</a>
<html> <head> <title>User agent detail - SAMSUNG-SGH-E720</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> SAMSUNG-SGH-E720 </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Source result (test suite)</th></tr><tr><td>ua-parser/uap-core<br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-E720</td><td></td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td></td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-test">Detail</a> <!-- Modal Structure --> <div id="modal-test" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Testsuite result detail</h4> <p><pre><code class="php">Array ( [user_agent_string] => SAMSUNG-SGH-E720 [family] => Samsung SGH-E720 [brand] => Samsung [model] => SGH-E720 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapPhp<br /><small>6012</small></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>DonatjUAParser<br /><small>v0.5.0</small></td><td>SAMSUNG-SGH-E720 </td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => [browser] => SAMSUNG-SGH-E720 [version] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>NeutrinoApiCom<br /><small></small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-E720</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.18902</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [<API key>] => 0 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => Samsung [mobile_model] => SGH-E720 [version] => [is_android] => [browser_name] => unknown [<API key>] => unknown [<API key>] => [is_ios] => [producer] => Samsung [operating_system] => unknown [mobile_screen_width] => 0 [mobile_browser] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.5.2</small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-E720</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.01</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => [operatingSystem] => Array ( ) [device] => Array ( [brand] => SA [brandName] => Samsung [model] => SGH-E720 [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [<API key>] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td><API key><br /><small>6.0.0</small></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>UAParser<br /><small>v3.4.5</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-E720</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.003</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => [minor] => [patch] => [family] => Other ) [os] => UAParser\Result\OperatingSystem Object ( [major] => [minor] => [patch] => [patchMinor] => [family] => Other ) [device] => UAParser\Result\Device Object ( [brand] => Samsung [model] => SGH-E720 [family] => Samsung SGH-E720 ) [originalUserAgent] => SAMSUNG-SGH-E720 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentStringCom<br /><small></small></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>WhatIsMyBrowserCom<br /><small></small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.40304</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [<API key>] => [<API key>] => [<API key>] => [browser_version] => [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => Array ( ) [layout_engine_name] => [detected_addons] => Array ( ) [<API key>] => [<API key>] => [<API key>] => [<API key>] => Array ( ) [browser_name_code] => [<API key>] => [<API key>] => Samsung SGH-E720 [is_abusive] => [<API key>] => [<API key>] => Array ( ) [<API key>] => Samsung [operating_system] => [<API key>] => [<API key>] => SGH-E720 [browser_name] => [<API key>] => [user_agent] => SAMSUNG-SGH-E720 [<API key>] => [browser] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhichBrowser<br /><small>2.0.10</small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-E720</td><td>mobile:feature</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.021</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [device] => Array ( [type] => mobile [subtype] => feature [manufacturer] => Samsung [model] => SGH-E720 ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>Wurfl<br /><small>1.6.4</small></td><td>Opera 11.10</td><td><i class="material-icons">close</i></td><td>Linux armv6l </td><td style="border-left: 1px solid #555"></td><td></td><td>Feature Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.014</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a> <!-- Modal Structure --> <div id="<API key>" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => false [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => false [is_mobile] => true [is_robot] => false [is_smartphone] => false [is_touchscreen] => false [is_wml_preferred] => false [<API key>] => true [is_html_preferred] => false [<API key>] => Linux armv6l [<API key>] => [advertised_browser] => Opera [<API key>] => 11.10 [<API key>] => [form_factor] => Feature Phone [is_phone] => true [is_app_webview] => false ) [all] => Array ( [brand_name] => [model_name] => [unique] => true [<API key>] => [is_wireless_device] => true [<API key>] => false [has_qwerty_keyboard] => false [<API key>] => false [uaprof] => [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => [mobile_browser] => [<API key>] => [device_os_version] => [pointing_method] => [release_date] => 2002_january [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [<API key>] => true [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [<API key>] => false [card_title_support] => true [softkey_support] => false [table_support] => true [numbered_menus] => false [<API key>] => false [<API key>] => true [<API key>] => false [<API key>] => true [access_key_support] => false [wrap_mode_support] => false [<API key>] => false [<API key>] => false [<API key>] => true [wizards_recommended] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => wtai://wp/mc; [<API key>] => false [emoji] => false [<API key>] => false [<API key>] => false [imode_region] => none [<API key>] => tel: [chtml_table_support] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [xhtml_nowrap_mode] => false [<API key>] => false [<API key>] => #FFFFFF [<API key>] => #FFFFFF [<API key>] => false [<API key>] => true [<API key>] => utf8 [<API key>] => false [<API key>] => tel: [<API key>] => application/vnd.wap.xhtml+xml [xhtml_table_support] => false [<API key>] => none [<API key>] => none [xhtml_file_upload] => not_supported [cookie_support] => true [<API key>] => true [<API key>] => none [<API key>] => false [<API key>] => none [<API key>] => false [ajax_manipulate_css] => false [<API key>] => false [<API key>] => false [ajax_xhr_type] => none [ajax_manipulate_dom] => false [ajax_support_events] => false [<API key>] => false [<API key>] => none [xhtml_support_level] => 1 [preferred_markup] => <API key> [wml_1_1] => true [wml_1_2] => false [wml_1_3] => false [<API key>] => true [<API key>] => true [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [html_web_3_2] => false [html_web_4_0] => false [voicexml] => false [multipart_support] => false [<API key>] => false [<API key>] => false [resolution_width] => 90 [resolution_height] => 90 [columns] => 11 [max_image_width] => 90 [max_image_height] => 35 [rows] => 6 [<API key>] => 27 [<API key>] => 27 [dual_orientation] => false [density_class] => 1.0 [wbmp] => true [bmp] => false [epoc_bmp] => false [gif_animated] => false [jpg] => false [png] => false [tiff] => false [<API key>] => false [<API key>] => false [svgt_1_1] => false [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 256 [webp_lossy_support] => false [<API key>] => false [post_method_support] => true [basic_<API key>] => true [<API key>] => true [emptyok] => false [nokia_voice_call] => false [wta_voice_call] => false [wta_phonebook] => false [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 9 [wifi] => false [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 4000 [<API key>] => 128 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [max_no_of_bookmarks] => 0 [<API key>] => 0 [<API key>] => 0 [max_object_size] => 0 [downloadfun_support] => false [<API key>] => false [inline_support] => false [oma_support] => false [ringtone] => false [ringtone_3gpp] => false [<API key>] => false [<API key>] => false [ringtone_imelody] => false [ringtone_digiplug] => false [<API key>] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => false [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => false [ringtone_mp3] => false [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 1 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => false [wallpaper_jpg] => false [wallpaper_png] => false [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 2 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [screensaver] => false [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [<API key>] => false [screensaver_colors] => 2 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [<API key>] => 0 [<API key>] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [video] => false [<API key>] => false [<API key>] => false [<API key>] => false [streaming_video] => false [streaming_3gpp] => false [streaming_mp4] => false [streaming_mov] => false [<API key>] => 0 [<API key>] => none [streaming_flv] => false [streaming_3g2] => false [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [<API key>] => none [<API key>] => none [streaming_wmv] => none [<API key>] => rtsp [<API key>] => none [wap_push_support] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => false [utf8_support] => false [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => false [j2me_cldc_1_1] => false [j2me_midp_1_0] => false [j2me_midp_2_0] => false [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [<API key>] => false [<API key>] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [<API key>] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [<API key>] => false [<API key>] => false [<API key>] => false [<API key>] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [j2me_clear_key_code] => 0 [<API key>] => false [<API key>] => false [receiver] => false [sender] => false [mms_max_size] => 0 [mms_max_height] => 0 [mms_max_width] => 0 [built_in_recorder] => false [built_in_camera] => false [mms_jpeg_baseline] => false [<API key>] => false [mms_gif_static] => false [mms_gif_animated] => false [mms_png] => false [mms_bmp] => false [mms_wbmp] => false [mms_amr] => false [mms_wav] => false [mms_midi_monophonic] => false [mms_midi_polyphonic] => false [<API key>] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => false [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [<API key>] => false [<API key>] => false [<API key>] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => false [mms_vcalendar] => false [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => false [mms_mp4] => false [mms_3gpp] => false [mms_3gpp2] => false [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => false [<API key>] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [<API key>] => 101 [<API key>] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => true [wav] => false [mmf] => false [smf] => false [mld] => false [midi_monophonic] => false [midi_polyphonic] => false [sp_midi] => false [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => false [au] => false [amr] => false [awb] => false [aac] => false [mp3] => false [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => false [<API key>] => true [css_border_image] => none [css_rounded_corners] => none [css_gradient] => none [css_spriting] => false [css_gradient_linear] => none [is_transcoder] => false [<API key>] => user-agent [rss_support] => false [pdf_support] => false [<API key>] => false [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [<API key>] => -1 [playback_real_media] => none [playback_3gpp] => false [playback_3g2] => false [playback_mp4] => false [playback_mov] => false [playback_acodec_amr] => none [playback_acodec_aac] => none [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => 0 [<API key>] => false [playback_wmv] => none [<API key>] => false [html_preferred_dtd] => xhtml_mp1 [viewport_supported] => false [viewport_width] => [<API key>] => [<API key>] => [<API key>] => [<API key>] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => none [image_inlining] => false [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => none [is_sencha_touch_ok] => false [<API key>] => default [controlcap_is_ios] => default [<API key>] => default [controlcap_is_robot] => default [controlcap_is_app] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default [<API key>] => default ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/<API key>">ThaDafinser/<API key></a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-02-13 13:33:35</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.1.1/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
#include <alsa/asoundlib.h> #include "wav.h" #include <stdio.h> const char *playback_strerror(int err) { return snd_strerror(err); } int play(wavHeader wh, wavData wd) { int err; char *device = "default"; snd_pcm_t *handle; snd_pcm_sframes_t frames; err = snd_pcm_open(&handle, device, <API key>, 0); if (err < 0) return err; err = snd_pcm_set_params(handle, <API key>, <API key>, wh.channels, wh.sample_rate, 1, // soft resample 500000 // latency, microsec. ); if (err < 0) return err; frames = snd_pcm_writei(handle, wd.data, wd.length); if (frames < 0) frames = snd_pcm_recover(handle, frames, 0); if (frames < 0) return frames; if (frames > 0 && frames < (long) wd.length) fprintf(stderr, "Short write (expected %li, wrote %li)\n", (long)wd.length, frames); snd_pcm_close(handle); return 0; }
'use strict'; const pg = require('pg'); pg.defaults.ssl = true; class DB { constructor(config) { this.pool = new pg.Pool(config); } startTransaction() { return this._getClient() .then((client) => { return client.query('BEGIN;').return(client); }) .then((client) => { return new Transaction(client); }); } query(sql, args) { return this.pool.query(sql, args) .then((result) => result.rows); } _getClient() { return this.pool.connect(); } } class Transaction { /** * @param client: pg connection client */ constructor(client) { this.client = clinet; } query(sql, args) { return this.client.query(sql, args) .then((result) => result.rows) } commit() { return this.query('COMMIT;') .then(() => { return this._end(); }); } rollback() { return this.query('ROLLBACK;') .then(() => { return this._end(); }); } _end() { if (this.client) { this.client.end(); } } } let instance = null; function getInstance() { if (!instance) { instance = new DB(require('../config').db); } return instance; } module.exports = { instance: getInstance(), class: DB };
FROM node:16.0.0-alpine ENV CI=true WORKDIR /app COPY package.json yarn.lock ./ RUN yarn COPY . /app RUN yarn test CMD [ "yarn", "start" ]
// NSURL+Utility.h // seguecodePlugin #import <Foundation/Foundation.h> @interface NSURL (Utility) + (NSURL *)URLWithFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2); - (NSRange)rangeOfString:(NSString *)searchString; - (NSString *)<API key>; @end
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>schroeder: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file: <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif] </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.8.0 / schroeder - 8.7.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> schroeder <small> 8.7.0 <span class="label label-info">Not compatible </span> </small> </h1> <p> <em><script>document.write(moment("2022-02-28 15:52:49 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-28 15:52:49 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 <API key> of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.8.0 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.03.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.03.0 Official 4.03.0 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/schroeder&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Schroeder&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.7&quot; &amp; &lt; &quot;8.8~&quot;} ] tags: [ &quot;keyword: Schroeder-Bernstein&quot; &quot;keyword: set theory&quot; &quot;category: Mathematics/Logic/Set theory&quot; ] authors: [ &quot;Hugo herbelin&quot; ] bug-reports: &quot;https://github.com/coq-contribs/schroeder/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/schroeder.git&quot; synopsis: &quot;The Theorem of Schroeder-Bernstein&quot; description: &quot;&quot;&quot; Fraenkel&#39;s proof of Schroeder-Bernstein theorem on decidable sets is formalized in a constructive variant of set theory based on stratified universes (the one defined in the Ensemble library). The informal proof can be found for instance in &quot;Axiomatic Set Theory&quot; from P. Suppes.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/schroeder/archive/v8.7.0.tar.gz&quot; checksum: &quot;md5=<API key>&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install </h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-schroeder.8.7.0 coq.8.8.0</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.8.0). The following dependencies couldn&#39;t be met: - coq-schroeder -&gt; coq &lt; 8.8~ -&gt; ocaml &lt; 4.03.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-schroeder.8.7.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install </h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https: </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
package org.xtext.example.mydsl.referencesuntyped.ui.contentassist.antlr.internal; // Hack: Use our own Lexer superclass by means of import. // Currently there is no other way to specify the superclass for the lexer. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; @SuppressWarnings("all") public class InternalMyDslLexer extends Lexer { public static final int RULE_STRING=4; public static final int RULE_SL_COMMENT=8; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__11=11; public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; public static final int EOF=-1; public static final int RULE_ID=5; public static final int RULE_WS=9; public static final int RULE_ANY_OTHER=10; public static final int T__26=26; public static final int T__27=27; public static final int RULE_INT=6; public static final int T__22=22; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; // delegates // delegators public InternalMyDslLexer() {;} public InternalMyDslLexer(CharStream input) { this(input, new <API key>()); } public InternalMyDslLexer(CharStream input, <API key> state) { super(input,state); } public String getGrammarFileName() { return "../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g"; } // $ANTLR start "T__11" public final void mT__11() throws <API key> { try { int _type = T__11; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:11:7: ( 'OrdersType' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:11:9: 'OrdersType' { match("OrdersType"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__11" // $ANTLR start "T__12" public final void mT__12() throws <API key> { try { int _type = T__12; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:12:7: ( '{' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:12:9: '{' { match('{'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__12" // $ANTLR start "T__13" public final void mT__13() throws <API key> { try { int _type = T__13; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:13:7: ( 'order1' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:13:9: 'order1' { match("order1"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__13" // $ANTLR start "T__14" public final void mT__14() throws <API key> { try { int _type = T__14; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:14:7: ( '}' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:14:9: '}' { match('}'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__14" // $ANTLR start "T__15" public final void mT__15() throws <API key> { try { int _type = T__15; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:15:7: ( 'order2' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:15:9: 'order2' { match("order2"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__15" // $ANTLR start "T__16" public final void mT__16() throws <API key> { try { int _type = T__16; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:16:7: ( 'orderReference1' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:16:9: 'orderReference1' { match("orderReference1"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__16" // $ANTLR start "T__17" public final void mT__17() throws <API key> { try { int _type = T__17; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:17:7: ( 'orderReference2' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:17:9: 'orderReference2' { match("orderReference2"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__17" // $ANTLR start "T__18" public final void mT__18() throws <API key> { try { int _type = T__18; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:18:7: ( ',' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:18:9: ',' { match(','); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__18" // $ANTLR start "T__19" public final void mT__19() throws <API key> { try { int _type = T__19; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:19:7: ( 'OrderDetail1' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:19:9: 'OrderDetail1' { match("OrderDetail1"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__19" // $ANTLR start "T__20" public final void mT__20() throws <API key> { try { int _type = T__20; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:20:7: ( 'customerAddress' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:20:9: 'customerAddress' { match("customerAddress"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__20" // $ANTLR start "T__21" public final void mT__21() throws <API key> { try { int _type = T__21; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:21:7: ( 'customerContact' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:21:9: 'customerContact' { match("customerContact"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__21" // $ANTLR start "T__22" public final void mT__22() throws <API key> { try { int _type = T__22; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:22:7: ( 'customerName' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:22:9: 'customerName' { match("customerName"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__22" // $ANTLR start "T__23" public final void mT__23() throws <API key> { try { int _type = T__23; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:23:7: ( 'OrderDetail2' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:23:9: 'OrderDetail2' { match("OrderDetail2"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__23" // $ANTLR start "T__24" public final void mT__24() throws <API key> { try { int _type = T__24; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:24:7: ( 'OrderRef1' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:24:9: 'OrderRef1' { match("OrderRef1"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__24" // $ANTLR start "T__25" public final void mT__25() throws <API key> { try { int _type = T__25; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:25:7: ( 'orderDetail1' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:25:9: 'orderDetail1' { match("orderDetail1"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__25" // $ANTLR start "T__26" public final void mT__26() throws <API key> { try { int _type = T__26; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:26:7: ( 'OrderRef2' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:26:9: 'OrderRef2' { match("OrderRef2"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__26" // $ANTLR start "T__27" public final void mT__27() throws <API key> { try { int _type = T__27; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:27:7: ( 'orderDetail2' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:27:9: 'orderDetail2' { match("orderDetail2"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__27" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws <API key> { try { int _type = RULE_ID; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2678:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2678:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2678:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0=='^') ) { alt1=1; } switch (alt1) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2678:11: '^' { match('^'); } break; } if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2678:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { alt2=1; } switch (alt2) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g: { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} } break; default : break loop2; } } while (true); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ID" // $ANTLR start "RULE_INT" public final void mRULE_INT() throws <API key> { try { int _type = RULE_INT; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2680:10: ( ( '0' .. '9' )+ ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2680:12: ( '0' .. '9' )+ { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2680:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { int alt3=2; int LA3_0 = input.LA(1); if ( ((LA3_0>='0' && LA3_0<='9')) ) { alt3=1; } switch (alt3) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2680:13: '0' .. '9' { matchRange('0','9'); } break; default : if ( cnt3 >= 1 ) break loop3; EarlyExitException eee = new EarlyExitException(3, input); throw eee; } cnt3++; } while (true); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_INT" // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws <API key> { try { int _type = RULE_STRING; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0=='\"') ) { alt6=1; } else if ( (LA6_0=='\'') ) { alt6=2; } else { <API key> nvae = new <API key>("", 6, 0, input); throw nvae; } switch (alt6) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; int LA4_0 = input.LA(1); if ( (LA4_0=='\\') ) { alt4=1; } else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { alt4=2; } switch (alt4) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:21: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} } break; default : break loop4; } } while (true); match('\"'); } break; case 2 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; int LA5_0 = input.LA(1); if ( (LA5_0=='\\') ) { alt5=1; } else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { alt5=2; } switch (alt5) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:54: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2682:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} } break; default : break loop5; } } while (true); match('\''); } break; } } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_STRING" // $ANTLR start "RULE_ML_COMMENT" public final void mRULE_ML_COMMENT() throws <API key> { try { int _type = RULE_ML_COMMENT; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2684:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2684:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2684:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0=='*') ) { int LA7_1 = input.LA(2); if ( (LA7_1=='/') ) { alt7=2; } else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { alt7=1; } } else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { alt7=1; } switch (alt7) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2684:52: . { matchAny(); } break; default : break loop7; } } while (true); match("*/"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ML_COMMENT" // $ANTLR start "RULE_SL_COMMENT" public final void mRULE_SL_COMMENT() throws <API key> { try { int _type = RULE_SL_COMMENT; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match(" // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { alt8=1; } switch (alt8) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} } break; default : break loop8; } } while (true); // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0=='\n'||LA10_0=='\r') ) { alt10=1; } switch (alt10) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:41: ( '\\r' )? '\\n' { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0=='\r') ) { alt9=1; } switch (alt9) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2686:41: '\\r' { match('\r'); } break; } match('\n'); } break; } } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_SL_COMMENT" // $ANTLR start "RULE_WS" public final void mRULE_WS() throws <API key> { try { int _type = RULE_WS; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2688:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2688:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2688:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { int alt11=2; int LA11_0 = input.LA(1); if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { alt11=1; } switch (alt11) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g: { if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { input.consume(); } else { <API key> mse = new <API key>(null,input); recover(mse); throw mse;} } break; default : if ( cnt11 >= 1 ) break loop11; EarlyExitException eee = new EarlyExitException(11, input); throw eee; } cnt11++; } while (true); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_WS" // $ANTLR start "RULE_ANY_OTHER" public final void mRULE_ANY_OTHER() throws <API key> { try { int _type = RULE_ANY_OTHER; int _channel = <API key>; // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2690:16: ( . ) // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:2690:18: . { matchAny(); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws <API key> { // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) int alt12=24; alt12 = dfa12.predict(input); switch (alt12) { case 1 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:10: T__11 { mT__11(); } break; case 2 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:16: T__12 { mT__12(); } break; case 3 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:22: T__13 { mT__13(); } break; case 4 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:28: T__14 { mT__14(); } break; case 5 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:34: T__15 { mT__15(); } break; case 6 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:40: T__16 { mT__16(); } break; case 7 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:46: T__17 { mT__17(); } break; case 8 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:52: T__18 { mT__18(); } break; case 9 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:58: T__19 { mT__19(); } break; case 10 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:64: T__20 { mT__20(); } break; case 11 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:70: T__21 { mT__21(); } break; case 12 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:76: T__22 { mT__22(); } break; case 13 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:82: T__23 { mT__23(); } break; case 14 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:88: T__24 { mT__24(); } break; case 15 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:94: T__25 { mT__25(); } break; case 16 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:100: T__26 { mT__26(); } break; case 17 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:106: T__27 { mT__27(); } break; case 18 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:112: RULE_ID { mRULE_ID(); } break; case 19 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:120: RULE_INT { mRULE_INT(); } break; case 20 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:129: RULE_STRING { mRULE_STRING(); } break; case 21 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:141: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; case 22 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:157: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; case 23 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:173: RULE_WS { mRULE_WS(); } break; case 24 : // ../org.xtext.example.mydsl.referencesuntyped.ui/src-gen/org/xtext/example/mydsl/referencesuntyped/ui/contentassist/antlr/internal/InternalMyDsl.g:1:181: RULE_ANY_OTHER { mRULE_ANY_OTHER(); } break; } } protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = "\1\uffff\1\20\1\uffff\1\20\2\uffff\1\20\1\16\2\uffff\3\16\2\uffff"+ "\1\20\2\uffff\1\20\2\uffff\1\20\5\uffff\14\20\1\57\1\60\6\20\2\uffff"+ "\13\20\1\105\1\106\5\20\1\114\1\20\2\uffff\5\20\1\uffff\6\20\1\133"+ "\1\134\1\20\1\136\1\137\2\20\1\142\2\uffff\1\20\2\uffff\2\20\1\uffff"+ "\3\20\1\152\1\153\1\154\1\155\4\uffff"; static final String DFA12_eofS = "\156\uffff"; static final String DFA12_minS = "\1\0\1\162\1\uffff\1\162\2\uffff\1\165\1\101\2\uffff\2\0\1\52\2"+ "\uffff\1\144\2\uffff\1\144\2\uffff\1\163\5\uffff\2\145\1\164\2\162"+ "\1\157\1\104\1\61\1\155\1\124\2\145\2\60\3\145\1\171\1\164\1\146"+ "\2\uffff\1\146\1\164\1\162\1\160\1\141\1\61\1\145\1\141\1\101\1"+ "\145\1\151\2\60\1\162\1\151\1\144\1\157\1\141\1\60\1\154\2\uffff"+ "\1\145\1\154\1\144\1\156\1\155\1\uffff\1\61\1\156\1\61\1\162\1\164"+ "\1\145\2\60\1\143\2\60\1\145\1\141\1\60\2\uffff\1\145\2\uffff\1"+ "\163\1\143\1\uffff\1\61\1\163\1\164\4\60\4\uffff"; static final String DFA12_maxS = "\1\uffff\1\162\1\uffff\1\162\2\uffff\1\165\1\172\2\uffff\2\uffff"+ "\1\57\2\uffff\1\144\2\uffff\1\144\2\uffff\1\163\5\uffff\2\145\1"+ "\164\2\162\1\157\1\163\1\122\1\155\1\124\2\145\2\172\3\145\1\171"+ "\1\164\1\146\2\uffff\1\146\1\164\1\162\1\160\1\141\1\62\1\145\1"+ "\141\1\116\1\145\1\151\2\172\1\162\1\151\1\144\1\157\1\141\1\172"+ "\1\154\2\uffff\1\145\1\154\1\144\1\156\1\155\1\uffff\1\62\1\156"+ "\1\62\1\162\1\164\1\145\2\172\1\143\2\172\1\145\1\141\1\172\2\uffff"+ "\1\145\2\uffff\1\163\1\143\1\uffff\1\62\1\163\1\164\4\172\4\uffff"; static final String DFA12_acceptS = "\2\uffff\1\2\1\uffff\1\4\1\10\2\uffff\1\22\1\23\3\uffff\1\27\1"+ "\30\1\uffff\1\22\1\2\1\uffff\1\4\1\10\1\uffff\1\23\1\24\1\25\1\26"+ "\1\27\24\uffff\1\3\1\5\24\uffff\1\16\1\20\5\uffff\1\1\16\uffff\1"+ "\11\1\15\1\uffff\1\17\1\21\2\uffff\1\14\7\uffff\1\6\1\7\1\12\1\13"; static final String DFA12_specialS = "\1\1\11\uffff\1\2\1\0\142\uffff}>"; static final String[] DFA12_transitionS = { "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\4\16\1"+ "\5\2\16\1\14\12\11\7\16\16\10\1\1\13\10\3\16\1\7\1\10\1\16\2"+ "\10\1\6\13\10\1\3\13\10\1\2\1\16\1\4\uff82\16", "\1\17", "", "\1\22", "", "", "\1\25", "\32\20\4\uffff\1\20\1\uffff\32\20", "", "", "\0\27", "\0\27", "\1\30\4\uffff\1\31", "", "", "\1\33", "", "", "\1\34", "", "", "\1\35", "", "", "", "", "", "\1\36", "\1\37", "\1\40", "\1\41", "\1\42", "\1\43", "\1\45\15\uffff\1\46\40\uffff\1\44", "\1\47\1\50\21\uffff\1\52\15\uffff\1\51", "\1\53", "\1\54", "\1\55", "\1\56", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\1\61", "\1\62", "\1\63", "\1\64", "\1\65", "\1\66", "", "", "\1\67", "\1\70", "\1\71", "\1\72", "\1\73", "\1\74\1\75", "\1\76", "\1\77", "\1\100\1\uffff\1\101\12\uffff\1\102", "\1\103", "\1\104", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\1\107", "\1\110", "\1\111", "\1\112", "\1\113", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\1\115", "", "", "\1\116", "\1\117", "\1\120", "\1\121", "\1\122", "", "\1\123\1\124", "\1\125", "\1\126\1\127", "\1\130", "\1\131", "\1\132", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\1\135", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\1\140", "\1\141", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "", "", "\1\143", "", "", "\1\144", "\1\145", "", "\1\146\1\147", "\1\150", "\1\151", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20", "", "", "", "" }; static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); static final char[] DFA12_min = DFA.<API key>(DFA12_minS); static final char[] DFA12_max = DFA.<API key>(DFA12_maxS); static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); static final short[][] DFA12_transition; static { int numStates = DFA12_transitionS.length; DFA12_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); } } static class DFA12 extends DFA { public DFA12(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 12; this.eot = DFA12_eot; this.eof = DFA12_eof; this.min = DFA12_min; this.max = DFA12_max; this.accept = DFA12_accept; this.special = DFA12_special; this.transition = DFA12_transition; } public String getDescription() { return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int <API key>(int s, IntStream _input) throws <API key> { IntStream input = _input; int _s = s; switch ( s ) { case 0 : int LA12_11 = input.LA(1); s = -1; if ( ((LA12_11>='\u0000' && LA12_11<='\uFFFF')) ) {s = 23;} else s = 14; if ( s>=0 ) return s; break; case 1 : int LA12_0 = input.LA(1); s = -1; if ( (LA12_0=='O') ) {s = 1;} else if ( (LA12_0=='{') ) {s = 2;} else if ( (LA12_0=='o') ) {s = 3;} else if ( (LA12_0=='}') ) {s = 4;} else if ( (LA12_0==',') ) {s = 5;} else if ( (LA12_0=='c') ) {s = 6;} else if ( (LA12_0=='^') ) {s = 7;} else if ( ((LA12_0>='A' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||(LA12_0>='d' && LA12_0<='n')||(LA12_0>='p' && LA12_0<='z')) ) {s = 8;} else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 9;} else if ( (LA12_0=='\"') ) {s = 10;} else if ( (LA12_0=='\'') ) {s = 11;} else if ( (LA12_0=='/') ) {s = 12;} else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 13;} else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 14;} if ( s>=0 ) return s; break; case 2 : int LA12_10 = input.LA(1); s = -1; if ( ((LA12_10>='\u0000' && LA12_10<='\uFFFF')) ) {s = 23;} else s = 14; if ( s>=0 ) return s; break; } <API key> nvae = new <API key>(getDescription(), 12, _s, input); error(nvae); throw nvae; } } }
#include "pch.h" #include "UserInterface.h" #include "Game.h" #include "SpriteBatch.h" UserInterface::UserInterface() { } UserInterface::~UserInterface() { } void UserInterface::Initialize(DX::DeviceResources * device, UINT height, UINT width) { m_spriteBatch.reset(new SpriteBatch(device->GetD3DDeviceContext())); m_height = height; m_width = width; } void UserInterface::Menu(Text *m_text, Microsoft::WRL::ComPtr<<API key>> m_texture, Microsoft::WRL::ComPtr<<API key>> m_texture2, int menu_selection){ m_spriteBatch->Begin(); UINT w = m_width / 3; UINT h = m_height / 5; if (menu_selection == 0) { m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 2*h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 3*h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 4*h)); } else if (menu_selection == 1) { m_spriteBatch->Draw(m_texture2.Get(), XMFLOAT2(w, h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 2 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 3 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 4 * h)); } else if (menu_selection == 2) { m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, h)); m_spriteBatch->Draw(m_texture2.Get(), XMFLOAT2(w, 2 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 3 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 4 * h)); } else if (menu_selection == 3) { m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 2 * h)); m_spriteBatch->Draw(m_texture2.Get(), XMFLOAT2(w, 3 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 4 * h)); } else if (menu_selection == 4) { m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 2 * h)); m_spriteBatch->Draw(m_texture.Get(), XMFLOAT2(w, 3 * h)); m_spriteBatch->Draw(m_texture2.Get(), XMFLOAT2(w, 4 * h)); } //w needs to be 1/3 accross - so 4/9 screen 4/3 of w w = 4 * w / 3 ; UINT h2 = h / 3; m_text->SetPosition(w, h+h2); m_text->SetText("Play Game"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(w, 2*h + h2); m_text->SetText("Game Instructions"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(w, 3*h + h2); m_text->SetText("Credits"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(w, 4*h + h2 ); m_text->SetText("Leave Game"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(0, 0); m_text->SetText("Use Up and Down Arrows to navigate menu."); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(0, 25); m_text->SetText("Press enter to select option. Press Esc to leave."); m_text->Render(m_spriteBatch.get()); m_spriteBatch->End(); } void UserInterface::Credits(Text *m_text) { m_spriteBatch->Begin(); UINT w = m_width/10; UINT h = m_height/20; UINT h2 = h / 2; m_text->SetPosition(0, h2); m_text->SetText("Game Engine Created by K-State CIS 585 Game Engine Design Class"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(w, h+h2); m_text->SetText("Developers:"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2*w, 2*h+h2); m_text->SetText("Mohammed Alsayyari"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 3 * h + h2); m_text->SetText("David Barnes"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 4 * h + h2); m_text->SetText("Joshua Benard"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 5 * h + h2); m_text->SetText("Kyle Brown"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 6 * h + h2); m_text->SetText("Zhiang Fan"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 7 * h + h2); m_text->SetText("Sergio Murilo Varela Lima De Gois"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 8 * h + h2); m_text->SetText("Jonathan Gooden"); m_text->Render(m_spriteBatch.get()); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 9 * h + h2); m_text->SetText("Richard Habeeb"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 10 * h + h2); m_text->SetText("Christopher Handyside"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 11 * h + h2); m_text->SetText("Kien Le"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 12 * h + h2); m_text->SetText("Simon Novelly"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 13 * h + h2); m_text->SetText("Yashkumar Patel"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 14 * h + h2); m_text->SetText("Aaron Schif"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 15 * h + h2); m_text->SetText("Robert Stewart"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 16 * h + h2); m_text->SetText("Wyatt Watson"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(w, 17 * h + h2); m_text->SetText("Taught By:"); m_text->Render(m_spriteBatch.get()); m_text->SetPosition(2 * w, 18 * h + h2); m_text->SetText("Nathan Bean"); m_text->Render(m_spriteBatch.get()); m_spriteBatch->End(); } void UserInterface::Help(Text* text) { UINT w = m_width / 5; UINT h = m_height / 10; UINT h2 = h / 2; m_spriteBatch->Begin(); text->SetPosition(0, h2); text->SetText("Press Esc at any time to leave game help menu."); text->Render(m_spriteBatch.get()); text->SetPosition(0, h+h2); text->SetText("Driving Directions:"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 2*h+h2); text->SetText("W key = Moves Forward"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 3 * h + h2); text->SetText("D Key = turn Right"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 4 * h + h2); text->SetText("S Key = Move Backwards"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 5 * h + h2); text->SetText("A key = Turn Left"); text->Render(m_spriteBatch.get()); text->SetPosition(0, 6 * h + h2); text->SetText("Rotate Turret"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 7 * h + h2); text->SetText("Right Arrow = rotate Right"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 8 * h + h2); text->SetText("Left Arrow = rotate Left"); text->Render(m_spriteBatch.get()); text->SetPosition(w, 9 * h + h2); text->SetText("Space Bar = Shoot Bullets"); text->Render(m_spriteBatch.get()); m_spriteBatch->End(); } /* 25 - 48 40 - 65 */
package com.softlayer.api.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface ApiMethod { /** If provided, this is the name of the method. Otherwise it is the name of the method it is on. */ String value() default ""; /** If provided and true, this method can only be invoked on a service with an identifier */ boolean instanceRequired() default false; }
package space.spacelift.mq.proxy.impl.amqp import akka.actor.{ActorRef, Props} import akka.event.LoggingReceive import com.rabbitmq.client.AMQP.BasicProperties import com.rabbitmq.client.{Channel, Envelope} import space.spacelift.amqp.Amqp._ import space.spacelift.amqp.Consumer import space.spacelift.mq.proxy.MessageProperties import space.spacelift.mq.proxy.patterns.{ProcessResult, Processor, RpcServer} import scala.concurrent.ExecutionContext import scala.util.{Failure, Success} object AmqpRpcServer { def props( processor: Processor, init: Seq[Request] = Seq.empty[Request], channelParams: Option[ChannelParameters] = None )(implicit ctx: ExecutionContext): Props = Props(new AmqpRpcServer(processor, init, channelParams)) def props( queue: QueueParameters, exchange: ExchangeParameters, routingKey: String, proc: Processor, channelParams: ChannelParameters )(implicit ctx: ExecutionContext): Props = props(processor = proc, init = List(AddBinding(Binding(exchange, queue, routingKey))), channelParams = Some(channelParams)) def props(queue: QueueParameters, exchange: ExchangeParameters, routingKey: String, proc: Processor)(implicit ctx: ExecutionContext): Props = props(processor = proc, init = List(AddBinding(Binding(exchange, queue, routingKey)))) } /** * RPC Server, which * <ul> * <Li>consume messages from a set of queues</li> * <li>passes the message bodies to a "processor"</li> * <li>sends back the result queue specified in the "replyTo" property</li> * </ul> * * @param processor [[Processor]] implementation * @param channelParams optional channel parameters */ class AmqpRpcServer( val processor: Processor, init: Seq[Request] = Seq.empty[Request], channelParams: Option[ChannelParameters] = None )(implicit ctx: ExecutionContext = ExecutionContext.Implicits.global) extends Consumer( listener = None, autoack = false, init = init, channelParams = channelParams ) with RpcServer { private def sendResponse(result: ProcessResult, properties: BasicProperties, channel: Channel) { result match { // scalastyle:off null // send a reply only if processor return something *and* replyTo is set case ProcessResult(Some(data), customProperties) if (properties.getReplyTo != null) => { // scalastyle:on null // publish the response with the same correlation id as the request val props = new BasicProperties .Builder() .deliveryMode(properties.getDeliveryMode) .correlationId(properties.getCorrelationId) if (customProperties.isDefined) { props.contentEncoding(customProperties.get.clazz) props.contentType(customProperties.get.contentType) } channel.basicPublish("", properties.getReplyTo, true, false, props.build(), data) } case _ => {} } } override def connected(channel: Channel, forwarder: ActorRef) : Receive = LoggingReceive({ case delivery@Delivery(consumerTag: String, envelope: Envelope, properties: BasicProperties, body: Array[Byte]) => { log.debug("processing delivery") val proxyDelivery = AmqpProxy.<API key>(delivery) processor.process(proxyDelivery).onComplete { case Success(result) => { sendResponse(result, properties, channel) channel.basicAck(envelope.getDeliveryTag, false) } case Failure(error) => { envelope.isRedeliver match { // first failure: reject and requeue the message case false => { log.error(error, "processing {} failed, rejecting message", delivery) channel.basicReject(envelope.getDeliveryTag, true) } // second failure: reply with an error message, reject (but don't requeue) the message case true => { log.error(error, "processing {} failed for the second time, acking message", delivery) val result = processor.onFailure(proxyDelivery, error) sendResponse(result, properties, channel) channel.basicReject(envelope.getDeliveryTag, false) } } } } } }: Receive) orElse super.connected(channel, forwarder) }
var mongoose = require("mongoose"); var EngineType = mongoose.model("EngineType"); module.exports = { getAllEngineTypes: function(req, res) { EngineType.find({}).select('_id name').exec(function (err, collection) { if (err) { res.status('500'); res.send({ message: 'Engine types could not be loaded' }); return; } res.send(collection); }) } };
using System.Linq; using System.Xml; using System.Collections; namespace WcfRestContrib.Xml { public static class XmlNodeExtensions { public static void SortAlphabetically<T>(this XmlNode node, bool includeChildren) where T : XmlNode { IEnumerable nodes = node.ChildNodes.OfType<T>().OrderBy(n => n.Name); foreach (XmlElement child in nodes) { node.AppendChild(child); if (includeChildren && node.HasChildNodes) SortAlphabetically<T>(child, true); } } } }
<?php defined('_JEXEC') or die('Restricted access'); ?><?php JHTML::_('behavior.modal','a.modal'); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php')){ echo 'This module can not work without the AcyMailing Component'; } if(!ACYMAILING_J16){ class <API key> extends JElement { function fetchElement($name, $value, &$node, $control_name) { $link = 'index.php?option=com_acymailing&amp;tmpl=component&amp;ctrl=chooselist&amp;task=customfields&amp;values='.$value.'&amp;control='.$control_name; $text = '<input class="inputbox" id="'.$control_name.'customfields" name="'.$control_name.'['.$name.']" type="text" style="width:100px" value="'.$value.'">'; $text .= '<a class="modal" id="link'.$control_name.'customfields" title="'.<API key>('EXTRA_FIELDS').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 650, y: 375}}"><button class="btn" onclick="return false">'.<API key>('Select').'</button></a>'; return $text; } } }else{ class <API key> extends JFormField { var $type = 'help'; function getInput() { $link = 'index.php?option=com_acymailing&amp;tmpl=component&amp;ctrl=chooselist&amp;task=customfields&amp;values='.$this->value.'&amp;control='; $text = '<input class="inputbox" id="customfields" name="'.$this->name.'" type="text" style="width:100px" value="'.$this->value.'">'; $text .= '<a class="modal" id="linkcustomfields" title="'.<API key>('EXTRA_FIELDS').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 650, y: 375}}"><button class="btn" onclick="return false">'.<API key>('Select').'</button></a>'; return $text; } } }
<!DOCTYPE html> <html> <head> <link href="css/awsdocs.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/awsdocs.min.js"></script> <meta charset="utf-8"> </head> <body> <div id="content" style="padding: 10px 30px;"> <h1 class="topictitle" id="<API key>">Amazon CloudWatch Events Rule KinesisParameters</h1><p>The <code class="code">KinesisParameters</code> property type specifies settings that control shard assignment for a Kinesis stream target. </p><p> <code class="code">KinesisParameters</code> is a property of the <a href="<API key>.html">Target</a> property type. </p><h2 id="<API key>">Syntax</h2><p>To declare this entity in your AWS CloudFormation template, use the following syntax:</p><div id="JSON" name="JSON" class="section langfilter"> <h3 id="<API key>.json">JSON</h3> <pre class="programlisting"><div class="code-btn-container"><div class="btn-copy-code" title="Copy"></div><div class="btn-dark-theme" title="Dark theme" title-dark="Dark theme" title-light="Light theme"></div></div><code class="nohighlight">{ &quot;<a href="<API key>.html#<API key>">PartitionKeyPath</a>&quot; : <em class="replaceable"><code>String</code></em> }</code></pre> </div><div id="YAML" name="YAML" class="section langfilter"> <h3 id="<API key>.yaml">YAML</h3> <pre class="programlisting"><div class="code-btn-container"><div class="btn-copy-code" title="Copy"></div><div class="btn-dark-theme" title="Dark theme" title-dark="Dark theme" title-light="Light theme"></div></div><code class="nohighlight"><a href="<API key>.html#<API key>">PartitionKeyPath</a>: <em class="replaceable"><code>String</code></em></code></pre> </div><h2 id="<API key>">Properties</h2><p>For more information, including constraints, see <a href="https://docs.aws.amazon.com/<API key>/latest/APIReference/<API key>.html">KinesisParameters</a> in the <em>Amazon CloudWatch Events API Reference</em>. </p><div class="variablelist"> <dl> <dt><a id="<API key>"></a><span class="term"><code class="code">PartitionKeyPath</code></span></dt> <dd> <p>The JSON path to extract from the event and use as the partition key. The default is to use the <code class="code">eventId</code> as the partition key. For more information, see <a href="https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key">Amazon Kinesis Streams Key Concepts</a> in the <em>Kinesis Streams Developer Guide</em>. </p> <p> <em>Required</em>: Yes </p> <p> <em>Type</em>: String </p> <p> <em>Update requires</em>: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/<API key>.html#update-no-interrupt">No interruption</a> </p> </dd> </dl> </div></div> </body> </html>