code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30 values | license stringclasses 15 values | size int64 3 1.01M |
|---|---|---|---|---|---|
package tweet
import (
"common"
"encoding/json"
"appengine"
"appengine/urlfetch"
"bytes"
"fmt"
"io/ioutil"
"net/http"
)
//Show tweets in array(slice) by paging whit a uid.
//When uid==0 then show all. Show also tweets of user self by his uid.
func ShowTweetList(w http.ResponseWriter, r *http.Request, pTweetsList *TweetsList, uid int, page int) {
s := fmt.Sprintf(`{"status":%d, "tweets":%s}`, common.STATUS_OK, pTweetsList.StringTweetsArray())
w.Header().Set("Content-Type", common.API_RESTYPE)
fmt.Fprintf(w, s)
}
func TweetList(cxt appengine.Context, uid int, session string, access_token string, page int, ch chan *TweetsList) {
client := urlfetch.Client(cxt)
body := fmt.Sprintf(common.TWEET_LIST_SCHEME, uid, access_token, page)
if r, e := http.NewRequest(common.POST, common.TWEET_LIST_URL, bytes.NewBufferString(body)); e == nil {
common.MakeHeader(r, "oscid="+session, 0)
if resp, e := client.Do(r); e == nil {
if resp != nil {
defer resp.Body.Close()
}
pTweetsList := new(TweetsList)
if bytes, e := ioutil.ReadAll(resp.Body); e == nil {
if e := json.Unmarshal(bytes, pTweetsList); e == nil {
ch <- pTweetsList
} else {
ch <- nil
cxt.Errorf("Error but still going: %v", e)
}
} else {
ch <- nil
panic(e)
}
} else {
ch <- nil
cxt.Errorf("Error but still going: %v", e)
}
} else {
ch <- nil
panic(e)
}
}
| XinyueZ/osc-server | src/tweet/tweet_list.go | GO | mit | 1,408 |
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Framework.Editor.Base
{
[CustomPropertyDrawer(typeof(AsReorderableList))]
public class ReorderableListDrawer : PropertyDrawer
{
private UnityEditorInternal.ReorderableList List;
private bool Initialize(SerializedProperty property)
{
if (property == null)
return false;
if (!property.isArray || property.serializedObject == null)
return false;
if (List == null)
List = new UnityEditorInternal.ReorderableList(property.serializedObject, property);
List.displayRemove = true;
List.displayAdd = true;
List.draggable = true;
List.drawHeaderCallback = rect => EditorGUI.PrefixLabel(rect, new GUIContent(property.name));
List.drawElementCallback = (rect, index, active, focused) =>
{
rect.x += 20;
rect.y += 2;
var element = property.GetArrayElementAtIndex(index);
EditorGUI.BeginProperty(rect, new GUIContent(element.displayName), element);
{
EditorGUI.PropertyField(rect, element, true);
}
EditorGUI.EndProperty();
};
List.elementHeightCallback = index => {
var element = property.GetArrayElementAtIndex(index);
if (element.isExpanded)
return 44;
return 22;
};
return true;
}
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
if (!Initialize(property))
{
EditorGUI.HelpBox(position, "Unable to use 'ReorderableList' for " + property.name, MessageType.Error);
return;
}
List.DoList(position);
}
}
} | MrJaqbq/Unity3DFramework | Editor/Base/ReorderableListDrawer.cs | C# | mit | 2,070 |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
{% include _head.html %}
</head>
<body class="page">
{% include _browser-upgrade.html %}
{% include _navigation.html %}
{% if page.image.feature %}
<div class="image-wrap">
<img src="../images/blank.JPG" alt=""
data-echo={% if page.image.feature contains 'http' %} "{{ page.image.feature }}"
{% else %} "{{ site.url }}/images/{{ page.image.feature }}" {% endif %} alt="{{ page.title }} feature image">
{% if page.image.credit %}
<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
{% endif %}
</div><!-- /.image-wrap -->
{% endif %}
<div id="main" role="main">
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<article class="page">
<h1>{{ page.title }}</h1>
<div class="article-wrap">
{{ content }}
</div><!-- /.article-wrap -->
{% if site.owner.disqus-shortname and page.comments == true %}
<section id="disqus_thread"></section><!-- /#disqus_thread -->
{% endif %}
</article>
</div><!-- /#index -->
<div class="footer-wrap">
<footer>
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include _scripts.html %}
{% include lazyload.html %}
</body>
</html> | luiscspinho/luiscspinho.github.io | _layouts/page.html | HTML | mit | 1,643 |
///<reference path="../coreReferences.ts"/>
/**
* Created by Johanna on 2015-08-28.
*/
module Moosetrail.Core.Authentication {
export class Authenticator {
authData: Authentication.TokenAuthorization;
http: DataAccess.HttpDataFactory;
q: ng.IQService;
localStroage : ng.local.storage.ILocalStorageService;
static $inject = ["$q", "localStorageService", "HttpDataFactory"];
constructor($q: ng.IQService, localStorage: ng.local.storage.ILocalStorageService, factory: DataAccess.HttpDataFactory) {
this.http = factory;
this.q = $q;
this.localStroage = localStorage;
this.clearAuthData();
}
private clearAuthData(): void {
this.authData = new TokenAuthorization("", null);
}
login(username: string, password: string): ng.IPromise<DataAccess.DataResult> {
var deferred = this.q.defer();
const data = `grant_type=password&username=${username}&password=${password}`;
const headers = { 'Content-Type': "application/x-www-form-urlencoded" };
this.http.postWithHeader("token", data, headers).then(
(result: DataAccess.DataResult) => this.setAuthentication(username, result, deferred),
(reason: DataAccess.DataResult) => this.handleFailedLogin(reason, deferred));
return deferred.promise;
}
private setAuthentication(username: string, result:any, def: any) {
const authData = new TokenAuthorization(username, result.data.access_token);
if (result.data.roles.indexOf("Admin") > -1) {
authData.setRoles([UserRole.Admin, UserRole.User]);
} else {
authData.setRoles([UserRole.User]);
}
this.localStroage.set("authorizationData", authData);
this.setAuthData(authData);
def.resolve(result);
}
private setAuthData(authData : TokenAuthorization) {
this.authData = authData;
}
private handleFailedLogin(reason: Core.DataAccess.DataResult, def: angular.IDeferred<Object>) {
this.logout();
def.reject(reason);
}
logout() {
this.localStroage.remove("authorizationData");
this.clearAuthData();
}
setPremision(roles: UserRole[]):void {
this.authData.setRoles(roles);
this.localStroage.set("authorizationData", this.authData);
}
fillAuthData() : UserCredentials {
const authData = this.localStroage.get<TokenAuthorization>("authorizationData");
if (authData)
this.setAuthData(authData);
else
this.clearAuthData();
return this.authData;
}
hasAuthorizationFor(role: UserRole): boolean {
if (role === UserRole.User)
return this.authData.isAuthenticated;
else if (this.authData.roles != null) {
for (let i = 0; i < this.authData.roles.length; i++) {
if (this.authData.roles[i].toString() === role.toString())
return true;
}
return false;
}
else
return false;
}
}
} | moosetrail/angular-core-seed | src/Moosetrail.Angular.Core/Core/Authentication/authenticator.service.ts | TypeScript | mit | 3,383 |
import {Injectable} from '@angular/core';
@Injectable()
export class PreloaderService {
private static loaders:Array<Promise<any>> = [];
public static registerLoader(method:Promise<any>):void {
PreloaderService.loaders.push(method);
}
public static clear():void {
PreloaderService.loaders = [];
}
public static load():Promise<any> {
return new Promise((resolve, reject) => {
PreloaderService.executeAll(resolve);
});
}
private static executeAll(done:Function):void {
setTimeout(() => {
Promise.all(PreloaderService.loaders).then((values) => {
done.call(null, values);
}).catch((error) => {
console.error(error);
});
});
}
}
| TeamIllegalSkillsException/CashFlow | client/app/shared/services/preloader/preloader.service.ts | TypeScript | mit | 713 |
all: build
help:
@echo ""
@echo "-- Help Menu"
@echo ""
@echo " 1. make build - build the gitlab image"
@echo " 2. make quickstart - start gitlab"
@echo " 3. make stop - stop gitlab"
@echo " 4. make logs - view logs"
@echo " 5. make purge - stop and remove the container"
build:
@docker build --tag=quay.io/sameersbn/gitlab .
release: build
@docker build --tag=quay.io/sameersbn/gitlab:$(shell cat VERSION) .
quickstart:
@echo "Starting postgresql container..."
@docker run --name=gitlab-postgresql -d \
--env='DB_NAME=gitlabhq_production' \
--env='DB_USER=gitlab' --env='DB_PASS=password' \
quay.io/sameersbn/postgresql:latest
@echo "Starting redis container..."
@docker run --name=gitlab-redis -d \
quay.io/sameersbn/redis:latest
@echo "Starting gitlab container..."
@docker run --name='gitlab-demo' -d \
--link=gitlab-postgresql:postgresql --link=gitlab-redis:redisio \
--publish=10022:22 --publish=10080:80 \
--env='GITLAB_PORT=10080' --env='GITLAB_SSH_PORT=10022' \
quay.io/sameersbn/gitlab:latest
@echo "Please be patient. This could take a while..."
@echo "GitLab will be available at http://localhost:10080"
@echo "Type 'make logs' for the logs"
stop:
@echo "Stopping gitlab..."
@docker stop gitlab-demo >/dev/null
@echo "Stopping redis..."
@docker stop gitlab-redis >/dev/null
@echo "Stopping postgresql..."
@docker stop gitlab-postgresql >/dev/null
purge: stop
@echo "Removing stopped containers..."
@docker rm -v gitlab-demo >/dev/null
@docker rm -v gitlab-redis >/dev/null
@docker rm -v gitlab-postgresql >/dev/null
logs:
@docker logs -f gitlab-demo
| ichizok/docker-gitlab | Makefile | Makefile | mit | 1,657 |
/**
* A simple theme for reveal.js presentations, similar
* to the default theme. The accent color is brown.
*
* This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
*/
@font-face {
font-family: Adventure;
src: url(/reveal.js/css/fonts/Adventure.otf); }
@font-face {
font-family: Adventure Subtitles;
src: url(/reveal.js/css/fonts/AdventureSubtitles.otf); }
.reveal section a:hover {
text-decoration: underline; }
/*********************************************
* GLOBAL STYLES
*********************************************/
body {
background: white;
background-color: white; }
.reveal {
font-family: "Verdana", "Helvetica", sans-serif;
font-size: 40px;
font-weight: normal;
color: #282828; }
::selection {
color: #fff;
background: #26351C;
text-shadow: none; }
::-moz-selection {
color: #fff;
background: #26351C;
text-shadow: none; }
.reveal .slides > section,
.reveal .slides > section > section {
line-height: 1.3;
font-weight: inherit; }
/*********************************************
* HEADERS
*********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
margin: 0 0 20px 0;
color: #282828;
font-family: "Adventure", "Verdana", "Helvetica", sans-serif;
font-weight: normal;
line-height: 1.2;
letter-spacing: normal;
text-transform: none;
text-shadow: none;
word-wrap: break-word; }
.reveal h1 {
font-size: 3.77em; }
.reveal h2 {
font-size: 2.11em; }
.reveal h3 {
font-size: 1.55em; }
.reveal h4 {
font-size: 1em; }
.reveal h1 {
text-shadow: none; }
/*********************************************
* OTHER
*********************************************/
.reveal p {
margin: 20px 0;
line-height: 1.3; }
/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
max-width: 95%;
max-height: 95%; }
.reveal strong,
.reveal b {
font-weight: bold; }
.reveal em {
font-style: italic; }
.reveal ol,
.reveal dl,
.reveal ul {
display: inline-block;
text-align: left;
margin: 0 0 0 1em; }
.reveal ol {
list-style-type: decimal; }
.reveal ul {
list-style-type: disc; }
.reveal ul ul {
list-style-type: square; }
.reveal ul ul ul {
list-style-type: circle; }
.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
display: block;
margin-left: 40px; }
.reveal dt {
font-weight: bold; }
.reveal dd {
margin-left: 40px; }
.reveal q,
.reveal blockquote {
quotes: none; }
.reveal blockquote {
display: block;
position: relative;
width: 70%;
margin: 20px auto;
padding: 5px;
font-style: italic;
background: rgba(255, 255, 255, 0.05);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
display: inline-block; }
.reveal q {
font-style: italic; }
.reveal pre {
display: block;
position: relative;
width: 90%;
margin: 20px auto;
text-align: left;
font-size: 0.55em;
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
.reveal code {
font-family: monospace; }
.reveal pre code {
display: block;
padding: 5px;
overflow: auto;
max-height: 400px;
word-wrap: normal; }
.reveal table {
margin: auto;
border-collapse: collapse;
border-spacing: 0; }
.reveal table th {
font-weight: bold; }
.reveal table th,
.reveal table td {
text-align: left;
padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; }
.reveal table th[align="center"],
.reveal table td[align="center"] {
text-align: center; }
.reveal table th[align="right"],
.reveal table td[align="right"] {
text-align: right; }
.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
border-bottom: none; }
.reveal sup {
vertical-align: super; }
.reveal sub {
vertical-align: sub; }
.reveal small {
display: inline-block;
font-size: 0.6em;
line-height: 1.2em;
vertical-align: top; }
.reveal small * {
vertical-align: top; }
/*********************************************
* LINKS
*********************************************/
.reveal a {
color: #282828;
text-decoration: none;
-webkit-transition: color .15s ease;
-moz-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:hover {
color: black;
text-shadow: none;
border: none; }
.reveal .roll span:after {
color: #fff;
background: #020202; }
/*********************************************
* IMAGES
*********************************************/
.reveal section img {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 4px solid #282828;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
.reveal section img.plain {
border: 0;
box-shadow: none; }
.reveal a img {
-webkit-transition: all .15s linear;
-moz-transition: all .15s linear;
transition: all .15s linear; }
.reveal a:hover img {
background: rgba(255, 255, 255, 0.2);
border-color: #282828;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls .navigate-left,
.reveal .controls .navigate-left.enabled {
border-right-color: #282828; }
.reveal .controls .navigate-right,
.reveal .controls .navigate-right.enabled {
border-left-color: #282828; }
.reveal .controls .navigate-up,
.reveal .controls .navigate-up.enabled {
border-bottom-color: #282828; }
.reveal .controls .navigate-down,
.reveal .controls .navigate-down.enabled {
border-top-color: #282828; }
.reveal .controls .navigate-left.enabled:hover {
border-right-color: black; }
.reveal .controls .navigate-right.enabled:hover {
border-left-color: black; }
.reveal .controls .navigate-up.enabled:hover {
border-bottom-color: black; }
.reveal .controls .navigate-down.enabled:hover {
border-top-color: black; }
/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2); }
.reveal .progress span {
background: #282828;
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
.reveal section:not(.no-background) {
background-color: rgba(255, 255, 255, 0.9); }
.reveal .flex-grid {
display: flex;
margin: 0 5px 0 5px; }
.reveal .flex-col {
flex: 1;
margin: 0 5px 10px 5px;
padding: 10px;
background: white; }
.reveal .code-shadow {
-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
.reveal h1 {
font-size: 1.5em;
letter-spacing: 7px;
font-weight: bold;
text-transform: capitalize; }
.reveal h2 {
font-size: 1.0em;
text-transform: capitalize; }
.reveal section img {
border: none; }
.reveal img:not(.nomax) {
max-width: 70%;
max-height: 70%; }
.reveal img.shadow {
box-shadow: -2px -2px 29px black;
-webkit-box-shadow: -2px -2px 29px black;
-moz-box-shadow: -2px -2px 29px black; }
.reveal ul,
.reveal ol {
font-size: 0.7em; }
.main ul,
.main ol {
text-align: center;
list-style: none;
margin: 0;
font-size: 0.7em;
font-weight: bold; }
.reveal blockquote {
box-shadow: none; }
.reveal h1.no-capitalize, .reveal h2.no-capitalize, .reveal h3.no-capitalize, .reveal h4.no-capitalize, .reveal h5.no-capitalize, .reveal h6.no-capitalize {
text-transform: none; }
.reveal mark {
background-color: transparent;
border-style: dotted;
border-width: 3px;
border-color: #1119ff; }
.reveal mark.transparent {
background-color: transparent;
border-style: dotted;
border-width: 3px;
border-color: transparent; }
.reveal code {
font-weight: bold; }
.hljs-string {
color: black; }
| AlmeroSteyn/almerosteyn.github.io | reveal.js/css/theme/adventure.css | CSS | mit | 7,990 |
// This file is automatically generated.
package adila.db;
/*
* Coolpad Y91-921
*
* DEVICE: Y91
* MODEL: Coolpad Y891
*/
final class y91_coolpad20y891 {
public static final String DATA = "Coolpad|Y91-921|";
}
| karim/adila | database/src/main/java/adila/db/y91_coolpad20y891.java | Java | mit | 220 |
#![crate_name = "kill"]
#![feature(collections, core, old_io, rustc_private, unicode)]
/*
* This file is part of the uutils coreutils package.
*
* (c) Maciej Dziardziel <fiedzia@gmail.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
extern crate getopts;
extern crate libc;
extern crate collections;
extern crate serialize;
#[macro_use] extern crate log;
use std::process::Child;
use getopts::{
getopts,
optopt,
optflag,
optflagopt,
usage,
};
use signals::ALL_SIGNALS;
#[path = "../common/util.rs"]
#[macro_use]
mod util;
#[path = "signals.rs"]
mod signals;
static NAME: &'static str = "kill";
static VERSION: &'static str = "0.0.1";
static EXIT_OK: i32 = 0;
static EXIT_ERR: i32 = 1;
#[derive(Clone)]
pub enum Mode {
Kill,
Table,
List,
Help,
Version,
}
impl Copy for Mode {}
pub fn main(args: Vec<String>) -> i32 {
let opts = [
optflag("h", "help", "display this help and exit"),
optflag("V", "version", "output version information and exit"),
optopt("s", "signal", "specify the <signal> to be sent", "SIGNAL"),
optflagopt("l", "list", "list all signal names, or convert one to a name", "LIST"),
optflag("L", "table", "list all signal names in a nice table"),
];
let usage = usage("[options] <pid> [...]", &opts);
let (args, obs_signal) = handle_obsolete(args);
let matches = match getopts(args.tail(), &opts) {
Ok(m) => m,
Err(e) => {
show_error!("{}\n{}", e, get_help_text(NAME, usage.as_slice()));
return EXIT_ERR;
},
};
let mode = if matches.opt_present("version") {
Mode::Version
} else if matches.opt_present("help") {
Mode::Help
} else if matches.opt_present("table") {
Mode::Table
} else if matches.opt_present("list") {
Mode::List
} else {
Mode::Kill
};
match mode {
Mode::Kill => return kill(matches.opt_str("signal").unwrap_or(obs_signal.unwrap_or("9".to_string())).as_slice(), matches.free),
Mode::Table => table(),
Mode::List => list(matches.opt_str("list")),
Mode::Help => help(NAME, usage.as_slice()),
Mode::Version => version(),
}
0
}
fn version() {
println!("{} {}", NAME, VERSION);
}
fn handle_obsolete(mut args: Vec<String>) -> (Vec<String>, Option<String>) {
let mut i = 0;
while i < args.len() {
// this is safe because slice is valid when it is referenced
let slice: &str = unsafe { std::mem::transmute(args[i].as_slice()) };
if slice.char_at(0) == '-' && slice.len() > 1 && slice.char_at(1).is_digit(10) {
let val = &slice[1..];
match val.parse() {
Ok(num) => {
if signals::is_signal(num) {
args.remove(i);
return (args, Some(val.to_string()));
}
}
Err(_)=> break /* getopts will error out for us */
}
}
i += 1;
}
(args, None)
}
fn table() {
let mut name_width = 0;
/* Compute the maximum width of a signal name. */
for s in ALL_SIGNALS.iter() {
if s.name.len() > name_width {
name_width = s.name.len()
}
}
for (idx, signal) in ALL_SIGNALS.iter().enumerate() {
print!("{0: >#2} {1: <#8}", idx+1, signal.name);
//TODO: obtain max signal width here
if (idx+1) % 7 == 0 {
println!("");
}
}
}
fn print_signal(signal_name_or_value: &str) {
for signal in ALL_SIGNALS.iter() {
if signal.name == signal_name_or_value || (format!("SIG{}", signal.name).as_slice()) == signal_name_or_value {
println!("{}", signal.value);
exit!(EXIT_OK as i32)
} else if signal_name_or_value == signal.value.as_slice() {
println!("{}", signal.name);
exit!(EXIT_OK as i32)
}
}
crash!(EXIT_ERR, "unknown signal name {}", signal_name_or_value)
}
fn print_signals() {
let mut pos = 0;
for (idx, signal) in ALL_SIGNALS.iter().enumerate() {
pos += signal.name.len();
print!("{}", signal.name);
if idx > 0 && pos > 73 {
println!("");
pos = 0;
} else {
pos += 1;
print!(" ");
}
}
}
fn list(arg: Option<String>) {
match arg {
Some(x) => print_signal(x.as_slice()),
None => print_signals(),
};
}
fn get_help_text(progname: &str, usage: &str) -> String {
format!("Usage: \n {0} {1}", progname, usage)
}
fn help(progname: &str, usage: &str) {
println!("{}", get_help_text(progname, usage));
}
fn kill(signalname: &str, pids: std::vec::Vec<String>) -> i32 {
let mut status = 0;
let optional_signal_value = signals::signal_by_name_or_value(signalname);
let signal_value = match optional_signal_value {
Some(x) => x,
None => crash!(EXIT_ERR, "unknown signal name {}", signalname)
};
for pid in pids.iter() {
match pid.as_slice().parse() {
Ok(x) => {
let result = Child::kill(x, signal_value as isize);
match result {
Ok(_) => (),
Err(f) => {
show_error!("{}", f);
status = 1;
}
};
},
Err(e) => crash!(EXIT_ERR, "failed to parse argument {}: {}", pid, e)
};
}
status
} | vertexclique/trafo | src/kill/kill.rs | Rust | mit | 5,648 |
Evolving the Cells
==================
##### In this unit the students will learn how to modify the cells of Conway's Game of Life
The only remaining thing to do now is applying the cell life/death rules we
listed earlier. To do this, we’ll need a way to iterate through the neighbours
of each cell, and see how many are alive.
Luckily, we wrote something similar to this for our Boggle solver, so it should
be familiar:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def get_neighbours((x, y)):
positions = [(x - 1, y - 1), (x, y - 1), (x + 1, y - 1), (x + 1, y),
(x + 1, y + 1), (x, y + 1), (x - 1, y + 1), (x - 1, y)]
return [cells[r, c] for (r, c) in positions if 0 <= r < rows and 0 <= c < columns]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We’re just returning the neighbours of a given cell, making sure that each one
is in the grid. Now that we know the neighbours around each cell, it’s just a
case of writing
a [function](http://codeinstitute.wpengine.com/glossary/function/) to iterate
through all the cells in the grid and change
their [state](http://codeinstitute.wpengine.com/glossary/state/) accordingly:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def evolve():
for position, alive in cells.items():
live_neighbours = sum(get_neighbours(position))
if alive:
if live_neighbours not in [2, 3]:
cells[position] = False
elif live_neighbours == 3:
cells[position] = True
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Line 2: **We iterate through the key and value of each cell dictionary entry.
So **position** is the **coordinate**, and **alive** is
a [boolean](http://codeinstitute.wpengine.com/glossary/boolean/).
**Line 3:** We use a trick here to get the number of live neighbours.
Python’s **sum** [function](http://codeinstitute.wpengine.com/glossary/function/) allows
us to sum a list of numbers – but True and False evaluate to 1 and 0
respectively, so **sum** in this case will return the number of live neighbours.
**Lines 4-8:** These are the rules introduced at the start of the lesson.
In **line 5**, we’re saying ‘if a cell doesn’t have 2 or 3 neighbours, it will
die’. We could have also written it as **if live\_neighbours \<
2** or **live\_neighbours \> 3**.
The program should now look like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import random
import sys
import pygame
from colours import dark_blue, green, black
def draw_grid():
for x in range(0, width, cell_size):
pygame.draw.line(screen, dark_blue, (x, 0), (x, height))
for y in range(0, height, cell_size):
pygame.draw.line(screen, dark_blue, (0, y), (width, y))
def draw_cells():
for (x, y) in cells:
colour = green if cells[x, y] else black
rectangle = (x * cell_size, y * cell_size, cell_size, cell_size)
pygame.draw.rect(screen, colour, rectangle)
def get_neighbours((x, y)):
positions = [(x - 1, y - 1), (x, y - 1), (x + 1, y - 1), (x + 1, y),
(x + 1, y + 1), (x, y + 1), (x - 1, y + 1), (x - 1, y)]
return [cells[r, c] for (r, c) in positions if 0 <= r < rows and 0 <= c < columns]
def evolve():
for position, alive in cells.items():
live_neighbours = sum(get_neighbours(position))
if alive:
if live_neighbours < 2 or live_neighbours > 3:
cells[position] = False
elif live_neighbours == 3:
cells[position] = True
def get_cells(density=0.2):
return {(c, r): random.random() < density for c in range(columns) for r in range(rows)}
pygame.init()
columns, rows = 50, 50
cells = get_cells()
cell_size = 10
size = width, height = columns * cell_size, rows * cell_size
screen = pygame.display.set_mode(size)
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
sys.exit()
draw_cells()
evolve()
draw_grid()
pygame.display.update()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Try running the program, and adjusting the population density. You’ll notice the
simulation is running far too fast – we need to slow it down somehow.
The simplest way to do this is adding a call to **time.sleep** in the game loop,
which expects the time in seconds as an argument:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
time.sleep(1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This isn’t a particularly great way of managing the frame rate though, because
the delay will always be equal to computation time + 1 second, and computation
time might change depending on a factor such as the grid size.
A better way is to use PyGames built in clock:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clock = pygame.time.Clock()
while True:
clock.tick(2)
for event in pygame.event.get():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Instead of specifying the time to sleep, we can specify the frame rate,
so **clock.tick(2)** will make sure the frame rate is 2 frames/s.
### SUMMARY
In this lesson you have:
- learned that it’s possible to create a complex system with just a small set
of rules
- installed PyGame
- learned to use PyGames event system and respond to events
- learned about random number generators
CHALLENGE
=========
- here are many interesting patterns which have been discovered, some of which
are
at <https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Examples_of_patterns>.
- Try and implement them in the program. For the smaller patterns, you might
start off setting all cells to False, then adding one pixel at a time using
cells[x,y]=True. For larger patterns it might be necessary to define them as
a string, then convert them to cells, e.g.:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
boat = """
00000
01100
01010
00100
00000
"""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Add some controls to the program, for instance pressing left and right could
slow down / speed up the frame rate. You can find the key code for all the
keys at <http://www.pygame.org/docs/ref/key.html>
Please Note:
My actual solution will follow in the near future, due to work and time
restrictions I will be rushing through the course to get the content complete
and coming back to the solutions at a later date. Thanks
| GunnerJnr/_CodeInstitute | Stream-2/Back-End-Development/8.Conways-Game-Of-Life/5.Evolving-The-Cells/ReadMe.md | Markdown | mit | 6,937 |
module EbayTrading # :nodoc:
module Types # :nodoc:
# == Attributes
# text_node :site, 'Site', :optional => true
# numeric_node :site_id, 'SiteID', :optional => true
# text_node :detail_version, 'DetailVersion', :optional => true
# datetime_node :update_time, 'UpdateTime', :optional => true
class SiteDetails
include XML::Mapping
include Initializer
root_element_name 'SiteDetails'
text_node :site, 'Site', :optional => true
numeric_node :site_id, 'SiteID', :optional => true
text_node :detail_version, 'DetailVersion', :optional => true
datetime_node :update_time, 'UpdateTime', :optional => true
end
end
end
| plzen/ebay | lib/ebay_trading/types/site_details.rb | Ruby | mit | 692 |
var async = require('async');
var settings = require('../settings/settings.js');
var Post = require('../models/post.js');
var List = require('../models/list.js');
module.exports = function(app){
app.get('/getArchive',function(req,res,next){
if(req.sessionID){
var list = new List({
pageIndex:1,
pageSize:settings.pageSize,
queryObj:{}
});
list.getArchive(function(err,archiveArray){
if(!(err)&&archiveArray){
res.json(archiveArray);
res.end();
}else{
res.json({status:404,message:''});
res.end();
}
});
}else{
res.end();
}
});
app.get('/getPageCount',function(req,res,next){
if(req.sessionID){
var list = new List({
pageIndex:1,
pageSize:settings.pageSize,
queryObj:{}
});
list.getCount(function(err,count){
if(!(err)&&(count!=0)){
res.json(Math.ceil(count/settings.pageSize));
res.end();
}else{
res.json({status:404,message:''});
res.end();
}
});
}else{
res.end();
}
});
app.get('/',function(req,res,next){
if(req.sessionID){
var list = new List({
pageIndex:1,
pageSize:settings.pageSize,
queryObj:{}
});
list.getList(function(err,docs){
if(!(err)&&docs){
res.json(docs);
res.end();
}else{
res.json({status:404,message:''});
res.end();
}
});
}else{
res.end();
}
});
} | mywei1989/blog_angular | api/routes/list.js | JavaScript | mit | 1,575 |
#!/usr/bin/env python
import sys
from collections import defaultdict
import itertools
import operator
from operator import itemgetter
counters = defaultdict(int)
trueCounters = defaultdict(int)
fr = open('allworks','r')
wc = 0
for line in fr:
line = line.strip()
words = ''.join(c for c in line if c.isalpha() or c.isspace()).split()
for word in words:
wc += 1
thresold = 0.01 * wc
# 1st Pass
fr.seek(0)
for line in fr:
line = line.strip()
words = ''.join(c for c in line if c.isalpha() or c.isspace()).split()
for word in words:
if word in counters:
counters[word] += 1
elif len(counters) < 99:
counters[word] = 1
else:
delCounters = []
for key in counters:
counters[key] -= 1
if counters[key] == 0:
delCounters.append(key)
for word in delCounters:
del counters[word]
# 2nd Pass: True count, Delete by thresold
fr.seek(0)
for line in fr:
line = line.strip()
words = ''.join(c for c in line if c.isalpha() or c.isspace()).split()
for word in words:
if word in counters:
if word in trueCounters:
trueCounters[word] += 1
else:
trueCounters[word] = 1
delCounters = []
for word in trueCounters:
if trueCounters[word] < thresold:
delCounters.append(word)
for word in delCounters:
del trueCounters[word]
for key, value in sorted(trueCounters.iteritems(), key=operator.itemgetter(1), reverse=True):
print key, value
| fortesit/data-structure | Data Stream Algorithm/Heavy Hitters.py | Python | mit | 1,605 |
<!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>DivulPlace</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
<!-- Theme CSS -->
<link id="maincss" href="css/divulplace.css" rel="stylesheet">
<!-- 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" integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY" crossorigin="anonymous"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js" integrity="sha384-ZoaMbDF+4LeFxg6WdScQ9nnR1QC2MIRxA1O9KWEXQwns1G8UNyIEZIQidzb0T1fo" crossorigin="anonymous"></script>
<![endif]-->
</head>
<body id="page-top" class="index">
<!-- Navigation -->
<nav id="mainNav" class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand page-scroll" href="#page-top">
<span class="divulplace-brand"></span>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a class="page-scroll" href="#page-top">Inicio</a>
</li>
<li>
<a class="page-scroll" href="#about">Sobre</a>
</li>
<li>
<a class="page-scroll" href="#services">Serviços</a>
</li>
<li>
<a class="page-scroll" href="#contact">Contato</a>
</li>
<li>
<a class="page-scroll" href="#more">Mais</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<button class="btn btn-bar" href="#">Cadastrar</button>
</li>
<li>
<a href="#">Login</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<!-- Header Carousel -->
<header id="myCarousel" class="carousel slide">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<div class="fill carousel-item-01"></div>
<div class="carousel-caption">
<!-- <h2>Caption 1</h2> -->
</div>
</div>
<div class="item">
<div class="fill carousel-item-02"></div>
<div class="carousel-caption">
<!-- <h2>Caption 2</h2> -->
</div>
</div>
<div class="item">
<div class="fill carousel-item-03">
<div class="item-03-info">
<a href="servicos/oportunidade/index.html#thought01">
<span class="btn-03-oportunidade"></span>
</a>
<!--
<span class="item-03-brand"></span>
<p class="item-03-mensagem">
Existe um momento na vida de cada pessoa que é possível sonhar ou fazer acontecer
</p>
-->
</div>
</div>
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="icon-prev"></span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="icon-next"></span>
</a>
</header>
<!-- Thought 01 Section -->
<section id="thought01" class="thoughts-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<blockquote class="blockquote-reverse">
<p>"A única história que vale alguma coisa é a história que fazemos hoje."</p>
<footer>Henry Ford <cite title="Source Title"></cite></footer>
</blockquote>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2 class="section-heading">Sobre</h2>
</div>
</div>
<div class="row row-break">
<div class="col-md-8">
<h4>A Empresa</h4>
<p class="text-muted recuo">
A DivulPlace foi formada com o propósito de apresentar serviços diferenciados para que empreendedores, consultores, vendedores e pessoas que possuem um trabalho próprio centralizem a divulgação dos seus produtos e serviços através de nossa plataforma on-line, por ser uma empresa focada em qualidade, respeito, comprometimento e transparência com todos os nossos afiliados.
</p>
<p class="text-muted recuo">
O objetivo da empresa é através de recursos on-line disponibilizar alternativas para nossos afiliados na divulgação dos seus próprios produtos e serviços, alcançando uma quantidade de clientes que somente a própria internet permite atingir.
</p>
</div>
<div class="col-md-4">
<div class="timeline-image">
<img class="img-semi-square img-responsive" src="img/img_empresa.jpg" alt="Empresa">
</div>
</div>
</div>
<div class="row row-break">
<div class="col-lg-12">
<div class="timeline-image">
<img class="img-responsive" src="img/750x450.png" alt="">
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<ul class="timeline">
<li>
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/img_missao.png" alt="">
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>Missão</h4>
</div>
<div class="timeline-body">
<p class="text-muted">
Nossa Missão é levar ao sucesso profissional e pessoal para todos os nossos afiliados e divulgadores, através da propensão significativa de seus clientes, disponibilizando serviços de qualidade para que todos consigam conquistar seus objetivos através de nossa empresa.
</p>
</div>
</div>
</li>
<li class="timeline-inverted">
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/img_visao.png" alt="">
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 class="service-heading">Visão</h4>
</div>
<div class="timeline-body">
<p class="text-muted">
Ser o principal intermediador entre empreendedores e seus clientes, oferecendo a oportunidade de realizarem seus sonhos.
</p>
</div>
</div>
</li>
<li>
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/img_valores.png" alt="">
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>Valores</h4>
</div>
<div class="timeline-body">
<p class="text-muted">
Proporcionar aos nossos afiliados e divulgadores serviços de qualidade com comprometimento e segurança.
</p>
<ul class="valores">
<li>Transparência e ética – Como alicerce da empresa.</li>
<li>Responsabilidade – Em manter todos os serviços sempre disponíveis.</li>
<li>Inovação – Sempre em busca de aperfeiçoar os serviços disponibilizados.</li>
</ul>
</div>
</div>
</li>
</ul>
</div>
</div>
<!--
<div class="row text-center row-break">
<div class="col-md-4">
<h4 class="service-heading">Missão</h4>
</div>
<div class="col-md-4">
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/400x300.png" alt="">
</div>
</div>
<div class="col-md-4">
<p class="text-muted">
A DivulPlace tem como Missão levar ao sucesso profissional e pessoal todos os nossos clientes e divulgadores, através da propensão significativa de seus clientes, disponibilizando serviços de qualidade para que todos consigam conquistar seus objetivos através de nossa empresa.
</p>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-4">
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/400x300.png" alt="">
</div>
</div>
<div class="col-md-4">
<h4 class="service-heading">Visão</h4>
</div>
<div class="col-md-4">
<p class="text-muted">
Disponibilizar os melhores serviços online para o crescimento de nossos clientes e divulgadores.
</p>
</div>
</div>
<div class="row text-center">
<div class="col-md-4">
<h4 class="service-heading">Valores</h4>
</div>
<div class="col-md-4">
<div class="timeline-image">
<img class="img-circle img-responsive" src="img/400x300.png" alt="">
</div>
</div>
<div class="col-md-4">
<p class="text-muted">
Para os nossos Clientes e divulgadores – Serviços de qualidade, comprometimento, transparência e disponibilidade.
</p>
<ul class="valores">
<li>Transparência e ética – Como alicerce da empresa.</li>
<li>Responsabilidade – Em manter todos os serviços sempre disponíveis.</li>
<li>Inovação – Sempre em busca de aperfeiçoar os serviços disponibilizados</li>
</ul>
</div>
</div>
-->
</div>
</section>
<!-- Thought 02 Section -->
<section id="thought02" class="thoughts-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<blockquote>
<p>"Não há domínio ao mesmo tempo maior e mais humilde que o que exercemos sobre nós próprios."</p>
<footer>Leonardo da Vinci <cite title="Source Title"></cite></footer>
</blockquote>
</div>
</div>
</div>
</section>
<!-- Services Section
<section id="services">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2 class="section-heading">Serviços</h2>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-4">
<div class="timeline-image">
<a href="servicos/portifolio/index.html#thought01">
<img class="img-responsive" src="img/500x300.png" alt="Mais Informações sobre o Portfólio Digital">
</a>
</div>
<h4>Portfólio Digital</h4>
<p class="text-muted">
Sua página digital personalizada para apresentar os seus produtos e serviços com qualidade e totalmente profissional, customizado por uma equipe especializada com o objetivo de centralizar seus negócios em um único local on-line.
</p>
<a class="btn btn-primary btn-service" href="servicos/portifolio/index.html#thought01">Mais Informações...</a>
</div>
<div class="col-md-4">
<div class="timeline-image">
<a href="servicos/index.html#thought02">
<img class="img-responsive" src="img/500x300.png" alt="">
</a>
</div>
<h4>Folders e Flyers</h4>
<p class="text-muted">
Disponibilizamos uma ferramenta on-line com modelos prontos onde poderá em poucos momentos personalizar um folder ou flyer com seus produtos e serviços gerando um arquivo que pode ser utilizado por sua gráfica de preferência.
</p>
<a class="btn btn-primary btn-service" href="servicos/index.html#thought02">Mais Informações...</a>
</div>
<div class="col-md-4">
<div class="timeline-image">
<a href="servicos/index.html#thought01">
<img class="img-responsive" src="img/500x300.png" alt="">
</a>
</div>
<h4>Cartão de Visitas</h4>
<p class="text-muted">
O cartão de visita é a principal ferramenta para iniciar as relações de seu networking. Utilizando nossa ferramenta on-line você personaliza seu próprio cartão de visitas e gera um arquivo que pode ser utilizado por sua gráfica de preferência.
</p>
<a class="btn btn-primary btn-service" href="servicos/index.html#thought01">Mais Informações...</a>
</div>
</div>
<div class="row row-break">
<div class="col-lg-12 text-center">
<h2>Oportunidade de Negócio</h2>
</div>
</div>
<div class="row row-break">
<div class="col-md-12">
<div class="timeline-image">
<a href="servicos/oportunidade/index.html#thought01">
<img class="img-responsive" src="img/img_oportunidade_negocio.png" alt="">
</a>
</div>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-4">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-money fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="col-md-4">
<p class="text-muted">
Seja um de nossos Divulgadores, ao indicar nossos serviços você além de receber comissões por cada cliente cadastrado poderá receber também bônus mensais, trazendo uma renda adicional para você e sua família.
</p>
<a class="btn btn-primary btn-service" href="servicos/oportunidade/index.html#thought01">Mais Informações...</a>
</div>
<div class="col-md-4">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-comments-o fa-stack-1x fa-inverse"></i>
</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="timeline-image">
<img class="img-responsive" src="img/750x450.png" alt="">
</div>
</div>
</div>
</div>
</section> -->
<section id="services">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2 class="section-heading">Serviços</h2>
</div>
</div>
<div class="row text-center">
<div class="col-md-1">
</div>
<div class="col-md-10">
<p class="text-muted recuo">Quantas vezes já pensou em ter seu próprio negócio?</p>
<p class="text-muted recuo">De se tornar um empreendedor?</p>
<p class="text-muted recuo">De tomar as rédeas de sua vida?</p>
<p class="text-muted recuo">De você fazer o que realmente te faz feliz?</p>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-1">
</div>
<div class="col-md-10">
<p class="text-muted recuo">
Quantas vezes você se sentiu na situação de ter quer ir para um local que não gostaria de estar, de não precisar mais sair antes do sol nascer e voltar apenas depois do sol se pôr, sem ter tempo de qualidade para aquilo que gostaria, muitas vezes cansado apenas pensando em seu repouso.
</p>
<p class="text-muted recuo">
Pensando em você que quer tomar as rédeas de sua vida, criamos a empresa DivulPlace, que fará a diferença em seu negócio. E você que ainda não sabe por onde começar sua independência financeira, de como fazer algo que realmente possa te tirar desta situação. Te apresentamos o caminho por onde começar para que possa alcançar o sucesso que almeja para sua vida, e conseguir trilhar um caminho que possa realizar todos seus sonhos de forma independente.
</p>
<p class="text-muted recuo">
A Divulplace apresenta a solução para estes problemas com as ferramentas necessárias para que você não dependa mais de alguém para divulgar seu negócio com o visual que você não se identifica e apresenta outras oportunidades para você complementar sua renda.
</p>
</div>
</div>
<div class="row text-center row-break">
<h4>Portfólio Digital</h4>
<div class="timeline-image">
<a href="servicos/portifolio/index.html#thought01">
<img class="img-responsive" src="img/portfolio_digital_1.png" alt="Mais Informações sobre o Portfólio Digital">
</a>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-4">
</div>
<div class="col-md-4">
<p class="text-muted">
Sua página digital personalizada para apresentar os seus produtos e serviços com qualidade e totalmente profissional, customizado por uma equipe especializada com o objetivo de centralizar seus negócios em um único local on-line.
</p>
<a class="btn btn-primary btn-service" href="servicos/portifolio/index.html#thought01">Mais Informações...</a>
</div>
<div class="col-md-4">
</div>
</div>
<div class="row row-break">
<div class="col-lg-12 text-center">
<h2>Oportunidade de Negócio</h2>
</div>
</div>
<div class="row row-break">
<div class="col-md-12">
<div class="timeline-image">
<a href="servicos/oportunidade/index.html#thought01">
<img class="img-responsive" src="img/img_oportunidade_negocio.png" alt="">
</a>
</div>
</div>
</div>
<div class="row text-center row-break">
<div class="col-md-4">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-money fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="col-md-4">
<p class="text-muted">
Seja um de nossos Divulgadores, ao indicar nossos serviços você além de receber comissões por cada cliente cadastrado poderá receber também bônus mensais, trazendo uma renda adicional para você e sua família.
</p>
<a class="btn btn-primary btn-service" href="servicos/oportunidade/index.html#thought01">Mais Informações...</a>
</div>
<div class="col-md-4">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-comments-o fa-stack-1x fa-inverse"></i>
</span>
</div>
</div>
<!-- <div class="row">
<div class="col-md-12">
<div class="timeline-image">
<img class="img-responsive" src="img/750x450.png" alt="">
</div>
</div>
</div> -->
</div>
</section>
<!-- Thought 03 Section -->
<section id="thought03" class="thoughts-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<blockquote class="blockquote-reverse">
<p>"Há um punhado de homens que conseguem enriquecer simplesmente porque prestam atenção aos pormenores que a maioria despreza."</p>
<footer>Henry Ford <cite title="Source Title"></cite></footer>
</blockquote>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2 class="section-heading">Contato</h2>
</div>
</div>
<div class="row text-center">
<div class="col-lg-12">
<h3 class="section-subheading">Em caso de dúvidas, não hesite em nos enviar uma mensagem.</h3>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<form name="sentMessage" id="contactForm" novalidate>
<div class="row">
<div class="col-md-offset-3 col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="Seu nome *" id="name" required data-validation-required-message="Por favor digite seu nome.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Seu e-mail *" id="email" required data-validation-required-message="Por favor digite seu e-mail.">
<p class="help-block text-danger"></p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-offset-3 col-md-6">
<div class="form-group">
<textarea class="form-control" placeholder="Sua mensagem *" id="message" required data-validation-required-message="Por favor digite uma mensagem."></textarea>
<p class="help-block text-danger"></p>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
<div id="success"></div>
<button type="submit" class="btn btn-xl">Enviar</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Thought 04 Section -->
<section id="thought04" class="thoughts-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<blockquote>
<p>"Se seus sonhos estiverem nas nuvens, não se preocupe, pois eles estão no lugar certo; agora construa os alicerces."</p>
<footer>Dalai Lama<cite title="Source Title"></cite></footer>
</blockquote>
</div>
</div>
</div>
</section>
<!-- More Section -->
<section id="more">
<!-- Clients Aside -->
<aside class="clients">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<a href="#">
<img src="img/logos/200x50.jpg" class="img-responsive img-centered" alt="">
</a>
</div>
<div class="col-md-3 col-sm-6">
<a href="#">
<img src="img/logos/200x50.jpg" class="img-responsive img-centered" alt="">
</a>
</div>
<div class="col-md-3 col-sm-6">
<a href="#">
<img src="img/logos/200x50.jpg" class="img-responsive img-centered" alt="">
</a>
</div>
<div class="col-md-3 col-sm-6">
<a href="#">
<img src="img/logos/200x50.jpg" class="img-responsive img-centered" alt="">
</a>
</div>
</div>
</div>
</aside>
</section>
<footer class="end-section">
<div class="container">
<div class="row">
<div class="col-md-4">
<span class="copyright">© 2017 - Todos os Direitos Reservados</span>
</div>
<div class="col-md-4">
<ul class="list-inline social-buttons">
<li><a href="#"><i class="fa fa-twitter"></i></a>
</li>
<li><a href="#"><i class="fa fa-facebook"></i></a>
</li>
<li><a href="#"><i class="fa fa-linkedin"></i></a>
</li>
<li><a href="#"><i class="fa fa-google-plus"></i></a>
</li>
<li><a href="#"><i class="fa fa-youtube"></i></a>
</li>
<li><a href="#"><i class="fa fa-pinterest-p"></i></a>
</li>
</ul>
</div>
<div class="col-md-4">
<ul class="list-inline quicklinks">
<li><a href="#">Política de Privacidade</a>
</li>
<li><a href="#">Termos de Uso</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<!-- jQuery -->
<script src="js/jquery/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- Plugin JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" integrity="sha384-mE6eXfrb8jxl0rzJDBRanYqgBxtJ6Unn4/1F7q4xRRyIw7Vdg9jP4ycT7x1iVsgb" crossorigin="anonymous"></script>
<!-- Theme JavaScript -->
<script src="js/divulplace.js"></script>
</body>
</html>
| irisvam/divulplace | index.html | HTML | mit | 27,901 |
<?php
namespace AdvertBundle\Document;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\Document(
* collection="make",
* repositoryClass="AdvertBundle\Document\MakeRepository"
* )
*/
class Make
{
/**
* @var string
* @MongoDB\Id
*/
protected $id;
/**
* @var string
* @Assert\NotNull
* @MongoDB\String
*/
protected $name;
/**
* @return string
*/
public function __toString()
{
return $this->getName();
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
} | morcov/traktor | src/AdvertBundle/Document/Make.php | PHP | mit | 912 |
module('Item');
test('.setOptions()', function() {
var item = new Item({
name: 'Name',
category: 'Category',
icon: 'Icon',
value: 'Value',
flavor: 'Flavor',
rarity: 'Rare',
});
item.code = 'Code';
equal(item.getName(),'Name');
equal(item.getCategory(),'Category');
equal(item.getIcon(),'Icon');
equal(item.getValue(),'Value');
equal(item.getFlavor(),'Flavor');
equal(item.getRarity(),'Rare');
equal(item.getCode(),'Code');
equal(item.isEquipment(),false);
});
test('Rarity Classes', function() {
var item = Factories.buildItem({});
equal(item.getRarity(),'Common');
equal(item.getClassName(),'highlight-item-common');
item.rarity = 'Uncommon';
equal(item.getClassName(),'highlight-item-uncommon');
item.rarity = 'Rare';
equal(item.getClassName(),'highlight-item-rare');
item.rarity = 'Epic';
equal(item.getClassName(),'highlight-item-epic');
});
| maldrasen/archive | Mephidross/old/reliquary/test/ItemTest.js | JavaScript | mit | 920 |
package org.java_websocket.drafts;
import java.nio.ByteBuffer;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import org.java_websocket.WebSocket.Role;
import org.java_websocket.exceptions.IncompleteHandshakeException;
import org.java_websocket.exceptions.InvalidDataException;
import org.java_websocket.exceptions.InvalidHandshakeException;
import org.java_websocket.exceptions.LimitExedeedException;
import org.java_websocket.framing.CloseFrame;
import org.java_websocket.framing.FrameBuilder;
import org.java_websocket.framing.Framedata;
import org.java_websocket.framing.Framedata.Opcode;
import org.java_websocket.framing.FramedataImpl1;
import org.java_websocket.handshake.ClientHandshake;
import org.java_websocket.handshake.ClientHandshakeBuilder;
import org.java_websocket.handshake.HandshakeBuilder;
import org.java_websocket.handshake.HandshakeImpl1Client;
import org.java_websocket.handshake.HandshakeImpl1Server;
import org.java_websocket.handshake.Handshakedata;
import org.java_websocket.handshake.ServerHandshake;
import org.java_websocket.handshake.ServerHandshakeBuilder;
import org.java_websocket.util.Charsetfunctions;
/**
* Base class for everything of a websocket specification which is not common
* such as the way the handshake is read or frames are transfered.
**/
public abstract class Draft
{
public enum CloseHandshakeType
{
NONE, ONEWAY, TWOWAY
}
public enum HandshakeState
{
/** Handshake matched this Draft successfully */
MATCHED, /** Handshake is does not match this Draft */
NOT_MATCHED
}
public static final byte[] FLASH_POLICY_REQUEST = Charsetfunctions.utf8Bytes("<policy-file-request/>\0");
public static int INITIAL_FAMESIZE = 64;
public static int MAX_FAME_SIZE = 1000 * 1;
protected Opcode continuousFrameType = null;
/**
* In some cases the handshake will be parsed different depending on whether
*/
protected Role role = null;
public static ByteBuffer readLine(ByteBuffer buf)
{
ByteBuffer sbuf = ByteBuffer.allocate(buf.remaining());
byte prev = '0';
byte cur = '0';
while (buf.hasRemaining())
{
prev = cur;
cur = buf.get();
sbuf.put(cur);
if (prev == (byte) '\r' && cur == (byte) '\n')
{
sbuf.limit(sbuf.position() - 2);
sbuf.position(0);
return sbuf;
}
}
// ensure that there wont be any bytes skipped
buf.position(buf.position() - sbuf.position());
return null;
}
public static String readStringLine(ByteBuffer buf)
{
ByteBuffer b = readLine(buf);
return b == null ? null : Charsetfunctions.stringAscii(b.array(), 0, b.limit());
}
public static HandshakeBuilder translateHandshakeHttp(ByteBuffer buf, Role role)
throws InvalidHandshakeException, IncompleteHandshakeException
{
HandshakeBuilder handshake;
String line = readStringLine(buf);
if (line == null)
{
throw new IncompleteHandshakeException(buf.capacity() + 128);
}
String[] firstLineTokens = line.split(" ", 3);// eg. HTTP/1.1 101
// Switching the Protocols
if (firstLineTokens.length != 3)
{
throw new InvalidHandshakeException();
}
if (role == Role.CLIENT)
{
// translating/parsing the response from the SERVER
handshake = new HandshakeImpl1Server();
ServerHandshakeBuilder serverhandshake = (ServerHandshakeBuilder) handshake;
serverhandshake.setHttpStatus(Short.parseShort(firstLineTokens[1]));
serverhandshake.setHttpStatusMessage(firstLineTokens[2]);
}
else
{
// translating/parsing the request from the CLIENT
ClientHandshakeBuilder clienthandshake = new HandshakeImpl1Client();
clienthandshake.setResourceDescriptor(firstLineTokens[1]);
handshake = clienthandshake;
}
line = readStringLine(buf);
while (line != null && line.length() > 0)
{
String[] pair = line.split(":", 2);
if (pair.length != 2)
{
throw new InvalidHandshakeException("not an http header");
}
handshake.put(pair[0], pair[1].replaceFirst("^ +", ""));
line = readStringLine(buf);
}
if (line == null)
{
throw new IncompleteHandshakeException();
}
return handshake;
}
protected boolean basicAccept(Handshakedata handshakedata)
{
return handshakedata.getFieldValue("Upgrade").equalsIgnoreCase("websocket")
&& handshakedata.getFieldValue("Connection").toLowerCase(Locale.ENGLISH).contains("upgrade");
}
public abstract HandshakeState acceptHandshakeAsClient(ClientHandshake request, ServerHandshake response)
throws InvalidHandshakeException;
public abstract HandshakeState acceptHandshakeAsServer(ClientHandshake handshakedata)
throws InvalidHandshakeException;
public int checkAlloc(int bytecount) throws LimitExedeedException, InvalidDataException
{
if (bytecount < 0)
{
throw new InvalidDataException(CloseFrame.PROTOCOL_ERROR, "Negative count");
}
return bytecount;
}
public List<Framedata> continuousFrame(Opcode op, ByteBuffer buffer, boolean fin)
{
if (op != Opcode.BINARY && op != Opcode.TEXT && op != Opcode.TEXT)
{
throw new IllegalArgumentException("Only Opcode.BINARY or Opcode.TEXT are allowed");
}
if (continuousFrameType != null)
{
continuousFrameType = Opcode.CONTINUOUS;
}
else
{
continuousFrameType = op;
}
FrameBuilder bui = new FramedataImpl1(continuousFrameType);
try
{
bui.setPayload(buffer);
}
catch (InvalidDataException e)
{
throw new RuntimeException(e); // can only happen when one builds
// close frames(Opcode.Close)
}
bui.setFin(fin);
if (fin)
{
continuousFrameType = null;
}
else
{
continuousFrameType = op;
}
return Collections.singletonList((Framedata) bui);
}
/**
* Drafts must only be by one websocket at all. To prevent drafts to be used
* more than once the Websocket implementation should call this method in
* order to create a new usable version of a given draft instance.<br>
* The copy can be safely used in conjunction with a new websocket
* connection.
*/
public abstract Draft copyInstance();
public abstract ByteBuffer createBinaryFrame(Framedata framedata); // TODO
// Allow
// to
// send
// data
// on the
// base
// of an
// Iterator
// or
// InputStream
public abstract List<Framedata> createFrames(ByteBuffer binary, boolean mask);
public abstract List<Framedata> createFrames(String text, boolean mask);
public List<ByteBuffer> createHandshake(Handshakedata handshakedata, Role ownrole)
{
return createHandshake(handshakedata, ownrole, true);
}
public List<ByteBuffer> createHandshake(Handshakedata handshakedata, Role ownrole, boolean withcontent)
{
StringBuilder bui = new StringBuilder(100);
if (handshakedata instanceof ClientHandshake)
{
bui.append("GET ");
bui.append(((ClientHandshake) handshakedata).getResourceDescriptor());
bui.append(" HTTP/1.1");
}
else if (handshakedata instanceof ServerHandshake)
{
bui.append("HTTP/1.1 101 " + ((ServerHandshake) handshakedata).getHttpStatusMessage());
}
else
{
throw new RuntimeException("unknow role");
}
bui.append("\r\n");
Iterator<String> it = handshakedata.iterateHttpFields();
while (it.hasNext())
{
String fieldname = it.next();
String fieldvalue = handshakedata.getFieldValue(fieldname);
bui.append(fieldname);
bui.append(": ");
bui.append(fieldvalue);
bui.append("\r\n");
}
bui.append("\r\n");
byte[] httpheader = Charsetfunctions.asciiBytes(bui.toString());
byte[] content = withcontent ? handshakedata.getContent() : null;
ByteBuffer bytebuffer = ByteBuffer.allocate((content == null ? 0 : content.length) + httpheader.length);
bytebuffer.put(httpheader);
if (content != null)
{
bytebuffer.put(content);
}
bytebuffer.flip();
return Collections.singletonList(bytebuffer);
}
public abstract CloseHandshakeType getCloseHandshakeType();
public Role getRole()
{
return role;
}
public abstract ClientHandshakeBuilder postProcessHandshakeRequestAsClient(ClientHandshakeBuilder request)
throws InvalidHandshakeException;
public abstract HandshakeBuilder postProcessHandshakeResponseAsServer(ClientHandshake request,
ServerHandshakeBuilder response) throws InvalidHandshakeException;
public abstract void reset();
public void setParseMode(Role role)
{
this.role = role;
}
public abstract List<Framedata> translateFrame(ByteBuffer buffer) throws InvalidDataException;
public Handshakedata translateHandshake(ByteBuffer buf) throws InvalidHandshakeException
{
return translateHandshakeHttp(buf, role);
}
}
| zcoklin/web_socket | src/main/java/org/java_websocket/drafts/Draft.java | Java | mit | 10,643 |
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.x.axis path {
display: none;
}
.line {
fill: none;
stroke: steelblue;
stroke-width: 1.5px;
}
.line2 {
fill: none;
stroke: red;
stroke-width: 1.5px;
}
</style>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<script>
var B = 0.1;
var n = 128;
var margin = {top: 20, right: 20, bottom: 30, left: 50},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
var parseDate = d3.time.format("%d-%b-%y").parse;
var x = d3.scale.linear()
.range([0, width]);
var y = d3.scale.linear()
.range([height, 0]);
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left");
var line = d3.svg.line()
.x(function(d) { return x(d.x); })
.y(function(d) { return y(d.y); });
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
x.domain([1, n]);
y.domain([0, 10]);
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis);
svg.append("g")
.attr("class", "y axis")
.call(yAxis)
.append("text")
.attr("transform", "rotate(-90)")
.attr("y", 6)
.attr("dy", ".71em")
.style("text-anchor", "end");
var s = function(n){
return 1/(B + (1-B)/n);
};
var e = function(n){
return (1/(B + (1-B)/n))/n;
};
var data = d3.range(1, n).map(function(i){return {x:i, y: s(i)}});
var data2 = d3.range(1, n).map(function(i){return {x:i, y: e(i)}});
svg.append("path")
.datum(data)
.attr("class", "line")
.attr("d", line);
svg.append("path")
.datum(data2)
.attr("class", "line2")
.attr("d", line);
</script>
| ggranito/lecture | 2015-08-27/plot.html | HTML | mit | 2,097 |
/*
*
* NMEA library
* URL: http://nmea.sourceforge.net
* Author: Tim (xtimor@gmail.com)
* Licence: http://www.gnu.org/licenses/lgpl.html
* $Id: generate.c 17 2008-03-11 11:56:11Z xtimor $
*
*/
#include "nmea/tok.h"
#include "nmea/sentence.h"
#include "nmea/generate.h"
#include "nmea/units.h"
#include <string.h>
#include <stdlib.h>
#include <math.h>
int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack)
{
return nmea_printf(buff, buff_sz,
"$GPGGA,%02d%02d%02d.%02d,%07.4f,%C,%07.4f,%C,%1d,%02d,%03.1f,%03.1f,%C,%03.1f,%C,%03.1f,%04d",
pack->utc.hour, pack->utc.min, pack->utc.sec, pack->utc.hsec,
pack->lat, pack->ns, pack->lon, pack->ew,
pack->sig, pack->satinuse, pack->HDOP, pack->elv, pack->elv_units,
pack->diff, pack->diff_units, pack->dgps_age, pack->dgps_sid);
}
int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack)
{
return nmea_printf(buff, buff_sz,
"$GPGSA,%C,%1d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%02d,%03.1f,%03.1f,%03.1f",
pack->fix_mode, pack->fix_type,
pack->sat_prn[0], pack->sat_prn[1], pack->sat_prn[2], pack->sat_prn[3], pack->sat_prn[4], pack->sat_prn[5],
pack->sat_prn[6], pack->sat_prn[7], pack->sat_prn[8], pack->sat_prn[9], pack->sat_prn[10], pack->sat_prn[11],
pack->PDOP, pack->HDOP, pack->VDOP);
}
int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack)
{
return nmea_printf(buff, buff_sz,
"$GPGSV,%1d,%1d,%02d,"
"%02d,%02d,%03d,%02d,"
"%02d,%02d,%03d,%02d,"
"%02d,%02d,%03d,%02d,"
"%02d,%02d,%03d,%02d",
pack->pack_count, pack->pack_index + 1, pack->sat_count,
pack->sat_data[0].id, pack->sat_data[0].elv, pack->sat_data[0].azimuth, pack->sat_data[0].sig,
pack->sat_data[1].id, pack->sat_data[1].elv, pack->sat_data[1].azimuth, pack->sat_data[1].sig,
pack->sat_data[2].id, pack->sat_data[2].elv, pack->sat_data[2].azimuth, pack->sat_data[2].sig,
pack->sat_data[3].id, pack->sat_data[3].elv, pack->sat_data[3].azimuth, pack->sat_data[3].sig);
}
int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack)
{
return nmea_printf(buff, buff_sz,
"$GPRMC,%02d%02d%02d.%02d,%C,%07.4f,%C,%07.4f,%C,%03.1f,%03.1f,%02d%02d%02d,%03.1f,%C,%C",
pack->utc.hour, pack->utc.min, pack->utc.sec, pack->utc.hsec,
pack->status, pack->lat, pack->ns, pack->lon, pack->ew,
pack->speed, pack->direction,
pack->utc.day, pack->utc.mon + 1, pack->utc.year - 100,
pack->declination, pack->declin_ew, pack->mode);
}
int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack)
{
return nmea_printf(buff, buff_sz,
"$GPVTG,%.1f,%C,%.1f,%C,%.1f,%C,%.1f,%C",
pack->dir, pack->dir_t,
pack->dec, pack->dec_m,
pack->spn, pack->spn_n,
pack->spk, pack->spk_k);
}
void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack)
{
nmea_zero_GPGGA(pack);
pack->utc = info->utc;
pack->lat = fabs(info->lat);
pack->ns = ((info->lat > 0)?'N':'S');
pack->lon = fabs(info->lon);
pack->ew = ((info->lon > 0)?'E':'W');
pack->sig = info->sig;
pack->satinuse = info->satinfo.inuse;
pack->HDOP = info->HDOP;
pack->elv = info->elv;
}
void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack)
{
int it;
nmea_zero_GPGSA(pack);
pack->fix_type = info->fix;
pack->PDOP = info->PDOP;
pack->HDOP = info->HDOP;
pack->VDOP = info->VDOP;
for(it = 0; it < NMEA_MAXSAT; ++it)
{
pack->sat_prn[it] =
((info->satinfo.sat[it].in_use)?info->satinfo.sat[it].id:0);
}
}
int nmea_gsv_npack(int sat_count)
{
int pack_count = (int)ceil(((double)sat_count) / NMEA_SATINPACK);
if(0 == pack_count)
pack_count = 1;
return pack_count;
}
void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx)
{
int sit, pit;
nmea_zero_GPGSV(pack);
pack->sat_count = (info->satinfo.inview <= NMEA_MAXSAT)?info->satinfo.inview:NMEA_MAXSAT;
pack->pack_count = nmea_gsv_npack(pack->sat_count);
if(pack->pack_count == 0)
pack->pack_count = 1;
if(pack_idx >= pack->pack_count)
pack->pack_index = pack_idx % pack->pack_count;
else
pack->pack_index = pack_idx;
for(pit = 0, sit = pack->pack_index * NMEA_SATINPACK; pit < NMEA_SATINPACK; ++pit, ++sit)
pack->sat_data[pit] = info->satinfo.sat[sit];
}
void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack)
{
nmea_zero_GPRMC(pack);
pack->utc = info->utc;
pack->status = ((info->sig > 0)?'A':'V');
pack->lat = fabs(info->lat);
pack->ns = ((info->lat > 0)?'N':'S');
pack->lon = fabs(info->lon);
pack->ew = ((info->lon > 0)?'E':'W');
pack->speed = info->speed / NMEA_TUD_KNOTS;
pack->direction = info->direction;
pack->declination = info->declination;
pack->declin_ew = 'E';
pack->mode = ((info->sig > 0)?'A':'N');
}
void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack)
{
nmea_zero_GPVTG(pack);
pack->dir = info->direction;
pack->dec = info->declination;
pack->spn = info->speed / NMEA_TUD_KNOTS;
pack->spk = info->speed;
}
int nmea_generate(
char *buff, int buff_sz,
const nmeaINFO *info,
int generate_mask
)
{
int gen_count = 0, gsv_it, gsv_count;
int pack_mask = generate_mask;
nmeaGPGGA gga;
nmeaGPGSA gsa;
nmeaGPGSV gsv;
nmeaGPRMC rmc;
nmeaGPVTG vtg;
if(!buff)
return 0;
while(pack_mask)
{
if(pack_mask & GPGGA)
{
nmea_info2GPGGA(info, &gga);
gen_count += nmea_gen_GPGGA(buff + gen_count, buff_sz - gen_count, &gga);
pack_mask &= ~GPGGA;
}
else if(pack_mask & GPGSA)
{
nmea_info2GPGSA(info, &gsa);
gen_count += nmea_gen_GPGSA(buff + gen_count, buff_sz - gen_count, &gsa);
pack_mask &= ~GPGSA;
}
else if(pack_mask & GPGSV)
{
gsv_count = nmea_gsv_npack(info->satinfo.inview);
for(gsv_it = 0; gsv_it < gsv_count && buff_sz - gen_count > 0; ++gsv_it)
{
nmea_info2GPGSV(info, &gsv, gsv_it);
gen_count += nmea_gen_GPGSV(buff + gen_count, buff_sz - gen_count, &gsv);
}
pack_mask &= ~GPGSV;
}
else if(pack_mask & GPRMC)
{
nmea_info2GPRMC(info, &rmc);
gen_count += nmea_gen_GPRMC(buff + gen_count, buff_sz - gen_count, &rmc);
pack_mask &= ~GPRMC;
}
else if(pack_mask & GPVTG)
{
nmea_info2GPVTG(info, &vtg);
gen_count += nmea_gen_GPVTG(buff + gen_count, buff_sz - gen_count, &vtg);
pack_mask &= ~GPVTG;
}
else
break;
if(buff_sz - gen_count <= 0)
break;
}
return gen_count;
}
| CORAL-CMU/Qt | NmeaLib/generate.c | C | mit | 7,164 |
<?php
ob_start();
$menu__area="options";
$title="delete subject pool";
include ("header.php");
if (isset($_REQUEST['subpool_id'])) $subpool_id=$_REQUEST['subpool_id']; else $subpool_id="";
if (isset($_REQUEST['betternot']) && $_REQUEST['betternot'])
redirect ('admin/subpool_edit.php?subpool_id='.$subpool_id);
if (isset($_REQUEST['reallydelete']) && $_REQUEST['reallydelete']) $reallydelete=true;
else $reallydelete=false;
$allow=check_allow('subjectpool_delete','subpool_edit.php?subpool_id='.$subpool_id);
$query="SELECT * from ".table('lang')." WHERE content_type='subjectpool' AND content_name='".$subpool_id."'";
$selfdesc=orsee_query($query);
// load subject pool
$subpool=orsee_db_load_array("subpools",$subpool_id,"subpool_id");
// load languages
$languages=get_languages();
foreach ($languages as $language) $subpool[$language]=$selfdesc[$language];
echo '<center><BR>
<h4>'.$lang['delete_subpool'].' "'.$subpool['subpool_name'].'"</h4>';
if ($reallydelete) {
if ($_REQUEST['merge_with']) $merge_with=$_REQUEST['merge_with']; else $merge_with=1;
$query="DELETE FROM ".table('subpools')."
WHERE subpool_id='".$subpool_id."'";
$result=mysql_query($query) or die("Database error: " . mysql_error());
$query="DELETE FROM ".table('lang')."
WHERE content_name='".$subpool_id."'
AND content_type='subjectpool'";
$result=mysql_query($query) or die("Database error: " . mysql_error());
$query="UPDATE ".table('participants')."
SET subpool_id='".$merge_with."'
WHERE subpool_id='".$subpool_id."'";
$result=mysql_query($query) or die("Database error: " . mysql_error());
$query="UPDATE ".table('participants_temp')."
SET subpool_id='".$merge_with."'
WHERE subpool_id='".$subpool_id."'";
$result=mysql_query($query) or die("Database error: " . mysql_error());
$query="UPDATE ".table('participants_os')."
SET subpool_id='".$merge_with."'
WHERE subpool_id='".$subpool_id."'";
$result=mysql_query($query) or die("Database error: " . mysql_error());
log__admin("subjectpool_delete","subjectpool:".$subpool['subpool_name']);
message ($lang['subpool_deleted_part_moved_to'].' "'.subpools__get_subpool_name($merge_with).'".');
redirect ("admin/subpool_main.php");
}
// form
echo ' <CENTER>
<FORM action="subpool_delete.php">
<INPUT type=hidden name="subpool_id" value="'.$subpool_id.'">
<TABLE>
<TR>
<TD colspan=2>
'.$lang['really_delete_subpool?'].'
<BR><BR>';
dump_array($subpool);
echo '
</TD>
</TR>
<TR>
<TD align=left>
<INPUT type=submit name=reallydelete value="'.$lang['yes_delete'].'">
<BR>
'.$lang['merge_subject_pool_with'].' ';
subpools__select_field("merge_with","subpool_id","subpool_name","1",$subpool_id);
echo ' </TD>
</TD>
<TD align=right>
<INPUT type=submit name=betternot value="'.$lang['no_sorry'].'">
</TD>
</TR>
</TABLE>
</FORM>
</center>';
include ("footer.php");
?>
| jrhorn424/orsee | admin/subpool_delete.php | PHP | mit | 3,828 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>persistent-union-find: 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.7.2 / persistent-union-find - 8.6.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
persistent-union-find
<small>
8.6.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-03-08 19:39:34 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-08 19:39:34 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 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.2 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: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/persistent-union-find"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/PersistentUnionFind"]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.7~"}
]
tags: [ "keyword: program verification" "keyword: union-find" "keyword: data structures" "keyword: Tarjan" "category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms" ]
authors: [ "Jean-Christophe Filliâtre" ]
bug-reports: "https://github.com/coq-contribs/persistent-union-find/issues"
dev-repo: "git+https://github.com/coq-contribs/persistent-union-find.git"
synopsis: "Persistent Union Find"
description: """
http://www.lri.fr/~filliatr/puf/
Correctness proof of the Ocaml implementation of a persistent union-find
data structure. See http://www.lri.fr/~filliatr/puf/ for more details."""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/persistent-union-find/archive/v8.6.0.tar.gz"
checksum: "md5=1a1b9fc184e0d23e1fd01ff4b845d01e"
}
</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-persistent-union-find.8.6.0 coq.8.7.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.2).
The following dependencies couldn't be met:
- coq-persistent-union-find -> coq < 8.7~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can'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-persistent-union-find.8.6.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.2/persistent-union-find/8.6.0.html | HTML | mit | 7,336 |
(function (angular) {
// Create all modules and define dependencies to make sure they exist
// and are loaded in the correct order to satisfy dependency injection
// before all nested files are concatenated by Gulp
// Config
angular
.module('jackalMqtt.config', [])
.value('jackalMqtt.config', {
debug: true
});
// Modules
angular
.module('jackalMqtt.services', []);
angular
.module('jackalMqtt', [
'jackalMqtt.config',
'jackalMqtt.services'
]);
})(angular);
angular
.module('jackalMqtt.services')
.factory('mqttService', MqttService)
.factory('dataService', DataService);
DataService.$inject = [ ];
function DataService () {
var service = {
data: { }
};
return service;
}
MqttService.$inject = ['$rootScope', 'dataService'];
function MqttService ($rootScope, dataService) {
var mqttc;
var Paho = Paho;
var callbacks = { };
function addCallback(chanel, callbackName, dataName) {
callbacks[chanel] = [callbackName, dataName];
}
function deleteCallback(chanel){
delete callbacks[chanel];
}
function chanelMatch(chanel, destination) {
var reg = '^';
destination += '/';
var levels = chanel.split('/');
for (var ind = 0; ind < levels.length; ind++){
var lvl = levels[ind];
if(lvl === '+'){
reg = '([a-z]|[0-9])+/';
}else if(lvl === '#'){
reg += '(([a-z]|[0-9])|/)*';
}else{
reg += (lvl + '/');
}
}
reg += '$';
reg = new RegExp(reg);
if(reg.test(destination)){
return true;
}
return false;
}
function onConnect() {
$rootScope.$broadcast('connected');
}
function onConnectionLost(responseObject) {
if(responseObject.errorCode !== 0){
$rootScope.$broadcast('connectionLost');
}
}
function onMessageArrived(message) {
var payload = message.payloadString;
var destination = message.destinationName;
for(var key in callbacks) {
if(callbacks.hasOwnProperty(key)) {
var match = chanelMatch(key, destination);
if(match) {
dataService.data[callbacks[key][1]] = payload;
$rootScope.$broadcast(callbacks[key][0]);
}
}
}
}
function connect(host, port, options) {
mqttc = new Paho.MQTT.Client(host, Number(port), 'web_client_' + Math.round(Math.random() * 1000));
mqttc.onConnectionLost = onConnectionLost;
mqttc.onMessageArrived = onMessageArrived;
options['onSuccess'] = onConnect;
mqttc.connect(options);
}
function disconnect() {
mqttc.disconnect();
}
function subscribe(chanel, callbackName, dataName) {
mqttc.subscribe(chanel);
addCallback(chanel, callbackName, dataName);
}
function unsubscribe(chanel) {
mqttc.unsubscribe(chanel);
deleteCallback(chanel);
}
function publish(chanel, message, retained) {
var payload = JSON.stringify(message);
var mqttMessage = new Paho.MQTT.Message(payload);
mqttMessage.retained = retained;
mqttMessage.detinationName = chanel;
mqttc.send(mqttMessage);
}
return {
connect: connect,
disconnect: disconnect,
subscribe: subscribe,
unsubscribe: unsubscribe,
publish: publish,
/** TEST CODE **/
_addCallback: addCallback,
_deleteCallback: deleteCallback,
_chanelMatch: chanelMatch,
_callbacks: callbacks
/** TEST CODE **/
};
}
| DarkDruiD/jackal-mqtt | dist/jackal-mqtt.js | JavaScript | mit | 3,856 |
<!DOCTYPE html>
<html class="theme-next gemini use-motion" lang="en">
<head><meta name="generator" content="Hexo 3.8.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<script src="/lib/pace/pace.min.js?v=1.0.2"></script>
<link href="/lib/pace/pace-theme-bounce.min.css?v=1.0.2" rel="stylesheet">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">
<link href="/css/main.css?v=6.4.2" rel="stylesheet" type="text/css">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=6.4.2">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=6.4.2">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=6.4.2">
<link rel="mask-icon" href="/images/logo.svg?v=6.4.2" color="#222">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Gemini',
version: '6.4.2',
sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
fancybox: true,
fastclick: false,
lazyload: false,
tabs: true,
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<meta name="description" content="网上找了很多帖子,都说的是注册表的问题,我试了下,发现确实是由于 intel 集成显卡的两个注册表项引起的。解决办法:命令行输入 regedit,打开注册表,进入 HKEY_CLASSES_ROOT\Directory\Background\Shellex\ContextMenuHandlers,删除 ig 开头的两个注册表项,退出即可。 作者:木鱼链接:https://www.zhihu.com">
<meta name="keywords" content="Windows,right-click,menu">
<meta property="og:type" content="article">
<meta property="og:title" content="win10 桌面点右键很慢才出菜单">
<meta property="og:url" content="https://lewistian.github.io/2018/07/11/0x00E.windows-right-click-slow/index.html">
<meta property="og:site_name" content="Tian's Daily Life">
<meta property="og:description" content="网上找了很多帖子,都说的是注册表的问题,我试了下,发现确实是由于 intel 集成显卡的两个注册表项引起的。解决办法:命令行输入 regedit,打开注册表,进入 HKEY_CLASSES_ROOT\Directory\Background\Shellex\ContextMenuHandlers,删除 ig 开头的两个注册表项,退出即可。 作者:木鱼链接:https://www.zhihu.com">
<meta property="og:locale" content="en">
<meta property="og:updated_time" content="2018-10-29T08:23:34.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="win10 桌面点右键很慢才出菜单">
<meta name="twitter:description" content="网上找了很多帖子,都说的是注册表的问题,我试了下,发现确实是由于 intel 集成显卡的两个注册表项引起的。解决办法:命令行输入 regedit,打开注册表,进入 HKEY_CLASSES_ROOT\Directory\Background\Shellex\ContextMenuHandlers,删除 ig 开头的两个注册表项,退出即可。 作者:木鱼链接:https://www.zhihu.com">
<link rel="canonical" href="https://lewistian.github.io/2018/07/11/0x00E.windows-right-click-slow/">
<script type="text/javascript" id="page.configurations">
CONFIG.page = {
sidebar: "",
};
</script>
<title>win10 桌面点右键很慢才出菜单 | Tian's Daily Life</title>
<noscript>
<style type="text/css">
.use-motion .motion-element,
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-title { opacity: initial; }
.use-motion .logo,
.use-motion .site-title,
.use-motion .site-subtitle {
opacity: initial;
top: initial;
}
.use-motion {
.logo-line-before i { left: initial; }
.logo-line-after i { right: initial; }
}
</style>
</noscript>
</head>
<body itemscope="" itemtype="http://schema.org/WebPage" lang="en">
<div class="container sidebar-position-left page-post-detail">
<div class="headband"></div>
<header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">Tian's Daily Life</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle">Everything that kills me makes me feel alive.</p>
</div>
<div class="site-nav-toggle">
<button aria-label="Toggle navigation bar">
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br>Home</a>
</li>
<li class="menu-item menu-item-netease">
<a href="/netease" rel="section">
<i class="menu-item-icon fa fa-fw fa-music"></i> <br>netease</a>
</li>
<li class="menu-item menu-item-c++">
<a href="/categories/C/" rel="section">
<i class="menu-item-icon fa fa-fw fa-file-code-o"></i> <br>c++</a>
</li>
<li class="menu-item menu-item-python">
<a href="/categories/Python/" rel="section">
<i class="menu-item-icon fa fa-fw fa-codepen"></i> <br>python</a>
</li>
<li class="menu-item menu-item-javascript">
<a href="/categories/JavaScript/" rel="section">
<i class="menu-item-icon fa fa-fw fa-code"></i> <br>javascript</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br>Tags</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section">
<i class="menu-item-icon fa fa-fw fa-th"></i> <br>Categories</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br>Archives</a>
</li>
<li class="menu-item menu-item-search">
<a href="javascript:;" class="popup-trigger">
<i class="menu-item-icon fa fa-search fa-fw"></i> <br>Search</a>
</li>
</ul>
<div class="site-search">
<div class="popup search-popup local-search-popup">
<div class="local-search-header clearfix">
<span class="search-icon">
<i class="fa fa-search"></i>
</span>
<span class="popup-btn-close">
<i class="fa fa-times-circle"></i>
</span>
<div class="local-search-input-wrapper">
<input autocomplete="off" placeholder="Searching..." spellcheck="false" type="text" id="local-search-input">
</div>
</div>
<div id="local-search-result"></div>
</div>
</div>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div id="posts" class="posts-expand">
<article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="https://lewistian.github.io/2018/07/11/0x00E.windows-right-click-slow/">
<span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<meta itemprop="name" content="Lewis Tian">
<meta itemprop="description" content="There is no destination for pursuit of knowledge in the finite lifetime.">
<meta itemprop="image" content="https://avatars3.githubusercontent.com/u/23132915?v=4&s=150">
</span>
<span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Tian's Daily Life">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">win10 桌面点右键很慢才出菜单
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2018-07-11 10:22:08" itemprop="dateCreated datePublished" datetime="2018-07-11T10:22:08+08:00">2018-07-11</time>
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2018-10-29 16:23:34" itemprop="dateModified" datetime="2018-10-29T16:23:34+08:00">2018-10-29</time>
</span>
<span class="post-category">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope="" itemtype="http://schema.org/Thing"><a href="/categories/Study/" itemprop="url" rel="index"><span itemprop="name">Study</span></a></span>
</span>
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-eye"></i>
Views:
<span class="busuanzi-value" id="busuanzi_value_page_pv"></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>网上找了很多帖子,都说的是注册表的问题,我试了下,发现确实是由于 intel 集成显卡的两个注册表项引起的。解决办法:命令行输入 regedit,打开注册表,进入 HKEY_CLASSES_ROOT\Directory\Background\Shellex\ContextMenuHandlers,删除 ig 开头的两个注册表项,退出即可。</p>
<p>作者:木鱼<br>链接:<a href="https://www.zhihu.com/question/48817635/answer/112772070" target="_blank" rel="noopener">https://www.zhihu.com/question/48817635/answer/112772070</a><br>来源:知乎<br>著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。</p>
</div>
<div>
<div id="wechat_subscriber" style="display: block; padding: 10px 0; margin: 20px auto; width: 100%; text-align: center">
<img id="wechat_subscriber_qcode" src="/images/wechat-qcode.jpg" alt="Lewis Tian wechat" style="width: 200px; max-width: 100%;">
<div>subscribe to my blog by scanning my public wechat account</div>
</div>
</div>
<div>
<div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
<div>thanks for your donation!</div>
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
<span>Donate</span>
</button>
<div id="QR" style="display: none;">
<div id="wechat" style="display: inline-block">
<img id="wechat_qr" src="/images/wechatpay.jpg" alt="Lewis Tian WeChat Pay">
<p>WeChat Pay</p>
</div>
<div id="alipay" style="display: inline-block">
<img id="alipay_qr" src="/images/alipay.jpg" alt="Lewis Tian Alipay">
<p>Alipay</p>
</div>
</div>
</div>
</div>
<div>
<ul class="post-copyright">
<li class="post-copyright-author">
<strong>Post author: </strong>Lewis Tian</li>
<li class="post-copyright-link">
<strong>Post link: </strong>
<a href="https://lewistian.github.io/2018/07/11/0x00E.windows-right-click-slow/" title="win10 桌面点右键很慢才出菜单">https://lewistian.github.io/2018/07/11/0x00E.windows-right-click-slow/</a>
</li>
<li class="post-copyright-license">
<strong>Copyright Notice: </strong>All articles in this blog are licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 4.0</a> unless stating additionally.</li>
</ul>
</div>
<footer class="post-footer">
<div class="post-tags">
<a href="/tags/Windows/" rel="tag"># Windows</a>
<a href="/tags/right-click/" rel="tag"># right-click</a>
<a href="/tags/menu/" rel="tag"># menu</a>
</div>
<div class="post-nav">
<div class="post-nav-next post-nav-item">
<a href="/2018/07/03/0x00D.intel-cpu-cpuid-instruction/" rel="next" title="Intel CPU的CPUID指令(转载)">
<i class="fa fa-chevron-left"></i> Intel CPU的CPUID指令(转载)
</a>
</div>
<span class="post-nav-divider"></span>
<div class="post-nav-prev post-nav-item">
<a href="/2018/07/16/0x00F.pyqt-mutilanguage/" rel="prev" title="PyQt5 多语言支持">
PyQt5 多语言支持 <i class="fa fa-chevron-right"></i>
</a>
</div>
</div>
</footer>
</div>
</article>
</div>
</div>
<div class="comments" id="comments">
<div id="gitment-container"></div>
</div>
</div>
<div class="sidebar-toggle">
<div class="sidebar-toggle-line-wrap">
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
</div>
</div>
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<section class="site-overview-wrap sidebar-panel sidebar-panel-active">
<div class="site-overview">
<div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image" src="https://avatars3.githubusercontent.com/u/23132915?v=4&s=150" alt="Lewis Tian">
<p class="site-author-name" itemprop="name">Lewis Tian</p>
<p class="site-description motion-element" itemprop="description">There is no destination for pursuit of knowledge in the finite lifetime.</p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">42</span>
<span class="site-state-item-name">posts</span>
</a>
</div>
<div class="site-state-item site-state-categories">
<a href="/categories/index.html">
<span class="site-state-item-count">7</span>
<span class="site-state-item-name">categories</span>
</a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags/index.html">
<span class="site-state-item-count">67</span>
<span class="site-state-item-name">tags</span>
</a>
</div>
</nav>
<div class="links-of-author motion-element">
<span class="links-of-author-item">
<a href="https://github.com/LewisTian" target="_blank" title="GitHub"><i class="fa fa-fw fa-github"></i>GitHub</a>
</span>
<span class="links-of-author-item">
<a href="mailto:chtian@hust.edu.cn" target="_blank" title="Email"><i class="fa fa-fw fa-envelope"></i>Email</a>
</span>
</div>
</div>
</section>
</div>
</aside>
</div>
</main>
<footer id="footer" class="footer">
<div class="footer-inner">
<div class="copyright"> © 2017 – <span itemprop="copyrightYear">2019</span>
<span class="with-love" id="animate">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">Lewis Tian</span>
</div>
<div class="powered-by">Powered by <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> v3.8.0</div>
<span class="post-meta-divider">|</span>
<div class="theme-info">Theme – <a class="theme-link" target="_blank" href="https://theme-next.org">NexT.Gemini</a> v6.4.2</div>
<div class="busuanzi-count">
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span class="site-uv" title="Total Visitors">
<i class="fa fa-user"></i>
<span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
</span>
<span class="site-pv" title="Total Views">
<i class="fa fa-eye"></i>
<span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
</span>
</div>
</div>
</footer>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
</div>
</div>
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/js/src/utils.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/motion.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/affix.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/schemes/pisces.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=6.4.2"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=6.4.2"></script>
<!-- LOCAL: You can save these files to your site and update links -->
<link rel="stylesheet" href="https://www.wenjunjiang.win/css/gitment.css">
<script src="https://www.wenjunjiang.win/js/gitment.js"></script>
<!-- END LOCAL -->
<script type="text/javascript">
function renderGitment(){
var gitment = new Gitment({
<!-- id: window.location.pathname,-->
id: '1531275728000',
owner: 'LewisTian',
repo: 'LewisTian.github.io',
oauth: {
client_secret: '751817fda009fa4f99de4c3f11db8619a4c6037c',
client_id: '098e4bb457b3bde7a945'
}});
gitment.render('gitment-container');
}
renderGitment();
</script>
<script type="text/javascript">
// Popup Window;
var isfetched = false;
var isXml = true;
// Search DB path;
var search_path = "search.xml";
if (search_path.length === 0) {
search_path = "search.xml";
} else if (/json$/i.test(search_path)) {
isXml = false;
}
var path = "/" + search_path;
// monitor main search box;
var onPopupClose = function (e) {
$('.popup').hide();
$('#local-search-input').val('');
$('.search-result-list').remove();
$('#no-result').remove();
$(".local-search-pop-overlay").remove();
$('body').css('overflow', '');
}
function proceedsearch() {
$("body")
.append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
.css('overflow', 'hidden');
$('.search-popup-overlay').click(onPopupClose);
$('.popup').toggle();
var $localSearchInput = $('#local-search-input');
$localSearchInput.attr("autocapitalize", "none");
$localSearchInput.attr("autocorrect", "off");
$localSearchInput.focus();
}
// search function;
var searchFunc = function(path, search_id, content_id) {
'use strict';
// start loading animation
$("body")
.append('<div class="search-popup-overlay local-search-pop-overlay">' +
'<div id="search-loading-icon">' +
'<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
'</div>' +
'</div>')
.css('overflow', 'hidden');
$("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');
$.ajax({
url: path,
dataType: isXml ? "xml" : "json",
async: true,
success: function(res) {
// get the contents from search data
isfetched = true;
$('.popup').detach().appendTo('.header-inner');
var datas = isXml ? $("entry", res).map(function() {
return {
title: $("title", this).text(),
content: $("content",this).text(),
url: $("url" , this).text()
};
}).get() : res;
var input = document.getElementById(search_id);
var resultContent = document.getElementById(content_id);
var inputEventFunction = function() {
var searchText = input.value.trim().toLowerCase();
var keywords = searchText.split(/[\s\-]+/);
if (keywords.length > 1) {
keywords.push(searchText);
}
var resultItems = [];
if (searchText.length > 0) {
// perform local searching
datas.forEach(function(data) {
var isMatch = false;
var hitCount = 0;
var searchTextCount = 0;
var title = data.title.trim();
var titleInLowerCase = title.toLowerCase();
var content = data.content.trim().replace(/<[^>]+>/g,"");
var contentInLowerCase = content.toLowerCase();
var articleUrl = decodeURIComponent(data.url);
var indexOfTitle = [];
var indexOfContent = [];
// only match articles with not empty titles
if(title != '') {
keywords.forEach(function(keyword) {
function getIndexByWord(word, text, caseSensitive) {
var wordLen = word.length;
if (wordLen === 0) {
return [];
}
var startPosition = 0, position = [], index = [];
if (!caseSensitive) {
text = text.toLowerCase();
word = word.toLowerCase();
}
while ((position = text.indexOf(word, startPosition)) > -1) {
index.push({position: position, word: word});
startPosition = position + wordLen;
}
return index;
}
indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
});
if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
isMatch = true;
hitCount = indexOfTitle.length + indexOfContent.length;
}
}
// show search results
if (isMatch) {
// sort index by position of keyword
[indexOfTitle, indexOfContent].forEach(function (index) {
index.sort(function (itemLeft, itemRight) {
if (itemRight.position !== itemLeft.position) {
return itemRight.position - itemLeft.position;
} else {
return itemLeft.word.length - itemRight.word.length;
}
});
});
// merge hits into slices
function mergeIntoSlice(text, start, end, index) {
var item = index[index.length - 1];
var position = item.position;
var word = item.word;
var hits = [];
var searchTextCountInSlice = 0;
while (position + word.length <= end && index.length != 0) {
if (word === searchText) {
searchTextCountInSlice++;
}
hits.push({position: position, length: word.length});
var wordEnd = position + word.length;
// move to next position of hit
index.pop();
while (index.length != 0) {
item = index[index.length - 1];
position = item.position;
word = item.word;
if (wordEnd > position) {
index.pop();
} else {
break;
}
}
}
searchTextCount += searchTextCountInSlice;
return {
hits: hits,
start: start,
end: end,
searchTextCount: searchTextCountInSlice
};
}
var slicesOfTitle = [];
if (indexOfTitle.length != 0) {
slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
}
var slicesOfContent = [];
while (indexOfContent.length != 0) {
var item = indexOfContent[indexOfContent.length - 1];
var position = item.position;
var word = item.word;
// cut out 100 characters
var start = position - 20;
var end = position + 80;
if(start < 0){
start = 0;
}
if (end < position + word.length) {
end = position + word.length;
}
if(end > content.length){
end = content.length;
}
slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
}
// sort slices in content by search text's count and hits' count
slicesOfContent.sort(function (sliceLeft, sliceRight) {
if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
return sliceRight.searchTextCount - sliceLeft.searchTextCount;
} else if (sliceLeft.hits.length !== sliceRight.hits.length) {
return sliceRight.hits.length - sliceLeft.hits.length;
} else {
return sliceLeft.start - sliceRight.start;
}
});
// select top N slices in content
var upperBound = parseInt('1');
if (upperBound >= 0) {
slicesOfContent = slicesOfContent.slice(0, upperBound);
}
// highlight title and content
function highlightKeyword(text, slice) {
var result = '';
var prevEnd = slice.start;
slice.hits.forEach(function (hit) {
result += text.substring(prevEnd, hit.position);
var end = hit.position + hit.length;
result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
prevEnd = end;
});
result += text.substring(prevEnd, slice.end);
return result;
}
var resultItem = '';
if (slicesOfTitle.length != 0) {
resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
} else {
resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
}
slicesOfContent.forEach(function (slice) {
resultItem += "<a href='" + articleUrl + "'>" +
"<p class=\"search-result\">" + highlightKeyword(content, slice) +
"...</p>" + "</a>";
});
resultItem += "</li>";
resultItems.push({
item: resultItem,
searchTextCount: searchTextCount,
hitCount: hitCount,
id: resultItems.length
});
}
})
};
if (keywords.length === 1 && keywords[0] === "") {
resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
} else if (resultItems.length === 0) {
resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
} else {
resultItems.sort(function (resultLeft, resultRight) {
if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
return resultRight.searchTextCount - resultLeft.searchTextCount;
} else if (resultLeft.hitCount !== resultRight.hitCount) {
return resultRight.hitCount - resultLeft.hitCount;
} else {
return resultRight.id - resultLeft.id;
}
});
var searchResultList = '<ul class=\"search-result-list\">';
resultItems.forEach(function (result) {
searchResultList += result.item;
})
searchResultList += "</ul>";
resultContent.innerHTML = searchResultList;
}
}
if ('auto' === 'auto') {
input.addEventListener('input', inputEventFunction);
} else {
$('.search-icon').click(inputEventFunction);
input.addEventListener('keypress', function (event) {
if (event.keyCode === 13) {
inputEventFunction();
}
});
}
// remove loading animation
$(".local-search-pop-overlay").remove();
$('body').css('overflow', '');
proceedsearch();
}
});
}
// handle and trigger popup window;
$('.popup-trigger').click(function(e) {
e.stopPropagation();
if (isfetched === false) {
searchFunc(path, 'local-search-input', 'local-search-result');
} else {
proceedsearch();
};
});
$('.popup-btn-close').click(onPopupClose);
$('.popup').click(function(e){
e.stopPropagation();
});
$(document).on('keyup', function (event) {
var shouldDismissSearchPopup = event.which === 27 &&
$('.search-popup').is(':visible');
if (shouldDismissSearchPopup) {
onPopupClose();
}
});
</script>
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<style>
.copy-btn {
display: inline-block;
padding: 6px 12px;
font-size: 13px;
font-weight: 700;
line-height: 20px;
color: #333;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
background-color: #eee;
background-image: linear-gradient(#fcfcfc, #eee);
border: 1px solid #d5d5d5;
border-radius: 3px;
user-select: none;
outline: 0;
}
.highlight-wrap .copy-btn {
transition: opacity .3s ease-in-out;
opacity: 0;
padding: 2px 6px;
position: absolute;
right: 4px;
top: 8px;
}
.highlight-wrap:hover .copy-btn,
.highlight-wrap .copy-btn:focus {
opacity: 1
}
.highlight-wrap {
position: relative;
}
</style>
<script>
$('.highlight').each(function (i, e) {
var $wrap = $('<div>').addClass('highlight-wrap')
$(e).after($wrap)
$wrap.append($('<button>').addClass('copy-btn').append('Copy').on('click', function (e) {
var code = $(this).parent().find('.code').find('.line').map(function (i, e) {
return $(e).text()
}).toArray().join('\n')
var ta = document.createElement('textarea')
document.body.appendChild(ta)
ta.style.position = 'absolute'
ta.style.top = '0px'
ta.style.left = '0px'
ta.value = code
ta.select()
ta.focus()
var result = document.execCommand('copy')
document.body.removeChild(ta)
$(this).blur()
})).on('mouseleave', function (e) {
var $b = $(this).find('.copy-btn')
setTimeout(function () {
$b.text('Copy')
}, 300)
}).append(e)
})
</script>
<script type="text/javascript" src="/js/src/click-animation.js"></script>
<script type="text/javascript" src="/js/src/one.js"></script>
<script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/hijiki.model.json"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":false},"log":false});</script></body>
</html>
| LewisTian/LewisTian.github.io | 2018/07/11/0x00E.windows-right-click-slow/index.html | HTML | mit | 41,111 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ChampSelector")]
[assembly: AssemblyDescription("Automated champion selector.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ChampSelector")]
[assembly: AssemblyCopyright("Chris Caruso")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("43928a01-87b9-4368-b8d9-a70d8f76ee05")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| chcaru/ChampSelect | ChampSelector/Properties/AssemblyInfo.cs | C# | mit | 1,424 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Crunchcoin</source>
<translation>Crunchcoin-i buruz</translation>
</message>
<message>
<location line="+39"/>
<source><b>Crunchcoin</b> version</source>
<translation><b>Crunchcoin</b> bertsioa</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://www.opensource.org/licenses/mit-license.php.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../aboutdialog.cpp" line="+14"/>
<source>Copyright</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The Crunchcoin developers</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>AddressBookPage</name>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>Address Book</source>
<translation>Helbide-liburua</translation>
</message>
<message>
<location line="+19"/>
<source>Double-click to edit address or label</source>
<translation>Klik bikoitza helbidea edo etiketa editatzeko</translation>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation>Sortu helbide berria</translation>
</message>
<message>
<location line="+14"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation>Kopiatu hautatutako helbidea sistemaren arbelera</translation>
</message>
<message>
<location line="-11"/>
<source>&New Address</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+63"/>
<source>These are your Crunchcoin 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 type="unfinished"/>
</message>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>&Copy Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Show &QR Code</source>
<translation>Erakutsi &QR kodea</translation>
</message>
<message>
<location line="+11"/>
<source>Sign a message to prove you own a Crunchcoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+25"/>
<source>Delete the currently selected address from the list</source>
<translation type="unfinished"/>
</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>&Export</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-44"/>
<source>Verify a message to ensure it was signed with a specified Crunchcoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Verify Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>&Delete</source>
<translation>&Ezabatu</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="-5"/>
<source>These are your Crunchcoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Copy &Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>&Edit</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Send &Coins</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+260"/>
<source>Export Address Book Data</source>
<translation>Esportatu Helbide-liburuaren datuak</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Komaz bereizitako artxiboa (*.csv)</translation>
</message>
<message>
<location line="+13"/>
<source>Error exporting</source>
<translation>Errorea esportatzean</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Ezin idatzi %1 artxiboan.</translation>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<location filename="../addresstablemodel.cpp" line="+144"/>
<source>Label</source>
<translation>Etiketa</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Helbidea</translation>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation>(etiketarik ez)</translation>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<location filename="../forms/askpassphrasedialog.ui" line="+26"/>
<source>Passphrase Dialog</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>Enter passphrase</source>
<translation>Sartu pasahitza</translation>
</message>
<message>
<location line="+14"/>
<source>New passphrase</source>
<translation>Pasahitz berria</translation>
</message>
<message>
<location line="+14"/>
<source>Repeat new passphrase</source>
<translation>Errepikatu pasahitz berria</translation>
</message>
<message>
<location filename="../askpassphrasedialog.cpp" line="+33"/>
<source>Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>.</source>
<translation>Sartu zorrorako pasahitz berria.<br/> Mesedez erabili <b>gutxienez ausazko 10 karaktere</b>, edo <b>gutxienez zortzi hitz</b> pasahitza osatzeko.</translation>
</message>
<message>
<location line="+1"/>
<source>Encrypt wallet</source>
<translation>Enkriptatu zorroa</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation>Eragiketa honek zorroaren pasahitza behar du zorroa desblokeatzeko.</translation>
</message>
<message>
<location line="+5"/>
<source>Unlock wallet</source>
<translation>Desblokeatu zorroa</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation>Eragiketa honek zure zorroaren pasahitza behar du, zorroa desenkriptatzeko.</translation>
</message>
<message>
<location line="+5"/>
<source>Decrypt wallet</source>
<translation>Desenkriptatu zorroa</translation>
</message>
<message>
<location line="+3"/>
<source>Change passphrase</source>
<translation>Aldatu pasahitza</translation>
</message>
<message>
<location line="+1"/>
<source>Enter the old and new passphrase to the wallet.</source>
<translation>Sartu zorroaren pasahitz zaharra eta berria.</translation>
</message>
<message>
<location line="+46"/>
<source>Confirm wallet encryption</source>
<translation>Berretsi zorroaren enkriptazioa</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR BITCOINS</b>!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Are you sure you wish to encrypt your wallet?</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+100"/>
<location line="+24"/>
<source>Warning: The Caps Lock key is on!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-130"/>
<location line="+58"/>
<source>Wallet encrypted</source>
<translation>Zorroa enkriptatuta</translation>
</message>
<message>
<location line="-56"/>
<source>Crunchcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your crunchcoins from being stolen by malware infecting your computer.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<location line="+7"/>
<location line="+42"/>
<location line="+6"/>
<source>Wallet encryption failed</source>
<translation>Zorroaren enkriptazioak huts egin du</translation>
</message>
<message>
<location line="-54"/>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation>Zorroaren enkriptazioak huts egin du barne-errore baten ondorioz. Zure zorroa ez da enkriptatu.</translation>
</message>
<message>
<location line="+7"/>
<location line="+48"/>
<source>The supplied passphrases do not match.</source>
<translation>Eman dituzun pasahitzak ez datoz bat.</translation>
</message>
<message>
<location line="-37"/>
<source>Wallet unlock failed</source>
<translation>Zorroaren desblokeoak huts egin du</translation>
</message>
<message>
<location line="+1"/>
<location line="+11"/>
<location line="+19"/>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation>Zorroa desenkriptatzeko sartutako pasahitza okerra da.</translation>
</message>
<message>
<location line="-20"/>
<source>Wallet decryption failed</source>
<translation>Zorroaren desenkriptazioak huts egin du</translation>
</message>
<message>
<location line="+14"/>
<source>Wallet passphrase was successfully changed.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>CrunchcoinGUI</name>
<message>
<location filename="../crunchcoingui.cpp" line="+233"/>
<source>Sign &message...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+280"/>
<source>Synchronizing with network...</source>
<translation>Sarearekin sinkronizatzen...</translation>
</message>
<message>
<location line="-349"/>
<source>&Overview</source>
<translation>&Gainbegiratu</translation>
</message>
<message>
<location line="+1"/>
<source>Show general overview of wallet</source>
<translation>Ikusi zorroaren begirada orokorra</translation>
</message>
<message>
<location line="+20"/>
<source>&Transactions</source>
<translation>&Transakzioak</translation>
</message>
<message>
<location line="+1"/>
<source>Browse transaction history</source>
<translation>Ikusi transakzioen historia</translation>
</message>
<message>
<location line="+7"/>
<source>Edit the list of stored addresses and labels</source>
<translation>Editatu gordetako helbide eta etiketen zerrenda</translation>
</message>
<message>
<location line="-14"/>
<source>Show the list of addresses for receiving payments</source>
<translation>Erakutsi ordainketak jasotzeko helbideen zerrenda</translation>
</message>
<message>
<location line="+31"/>
<source>E&xit</source>
<translation>Irten</translation>
</message>
<message>
<location line="+1"/>
<source>Quit application</source>
<translation>Irten aplikaziotik</translation>
</message>
<message>
<location line="+4"/>
<source>Show information about Crunchcoin</source>
<translation>Erakutsi Crunchcoin-i buruzko informazioa</translation>
</message>
<message>
<location line="+2"/>
<source>About &Qt</source>
<translation>&Qt-ari buruz</translation>
</message>
<message>
<location line="+1"/>
<source>Show information about Qt</source>
<translation>Erakutsi Crunchcoin-i buruzko informazioa</translation>
</message>
<message>
<location line="+2"/>
<source>&Options...</source>
<translation>&Aukerak...</translation>
</message>
<message>
<location line="+6"/>
<source>&Encrypt Wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Backup Wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>&Change Passphrase...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+285"/>
<source>Importing blocks from disk...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Reindexing blocks on disk...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-347"/>
<source>Send coins to a Crunchcoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+49"/>
<source>Modify configuration options for Crunchcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Backup wallet to another location</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Change the passphrase used for wallet encryption</source>
<translation>Aldatu zorroa enkriptatzeko erabilitako pasahitza</translation>
</message>
<message>
<location line="+6"/>
<source>&Debug window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Open debugging and diagnostic console</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-4"/>
<source>&Verify message...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-165"/>
<location line="+530"/>
<source>Crunchcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-530"/>
<source>Wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+101"/>
<source>&Send</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>&Receive</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>&Addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>&About Crunchcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>&Show / Hide</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show or hide the main Window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Encrypt the private keys that belong to your wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Sign messages with your Crunchcoin addresses to prove you own them</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Verify messages to ensure they were signed with specified Crunchcoin addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+28"/>
<source>&File</source>
<translation>&Artxiboa</translation>
</message>
<message>
<location line="+7"/>
<source>&Settings</source>
<translation>&Ezarpenak</translation>
</message>
<message>
<location line="+6"/>
<source>&Help</source>
<translation>&Laguntza</translation>
</message>
<message>
<location line="+9"/>
<source>Tabs toolbar</source>
<translation>Fitxen tresna-barra</translation>
</message>
<message>
<location line="+17"/>
<location line="+10"/>
<source>[testnet]</source>
<translation>[testnet]</translation>
</message>
<message>
<location line="+47"/>
<source>Crunchcoin client</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+141"/>
<source>%n active connection(s) to Crunchcoin network</source>
<translation><numerusform>Konexio aktibo %n Crunchcoin-en sarera</numerusform><numerusform>%n konexio aktibo Crunchcoin-en sarera</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 type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Processed %1 blocks of transaction history.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+20"/>
<source>%n hour(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n week(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>%1 behind</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<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="+22"/>
<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="+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 type="unfinished"/>
</message>
<message>
<location line="-140"/>
<source>Up to date</source>
<translation>Egunean</translation>
</message>
<message>
<location line="+31"/>
<source>Catching up...</source>
<translation>Eguneratzen...</translation>
</message>
<message>
<location line="+113"/>
<source>Confirm transaction fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Sent transaction</source>
<translation>Bidalitako transakzioa</translation>
</message>
<message>
<location line="+0"/>
<source>Incoming transaction</source>
<translation>Sarrerako transakzioa</translation>
</message>
<message>
<location line="+1"/>
<source>Date: %1
Amount: %2
Type: %3
Address: %4
</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+33"/>
<location line="+23"/>
<source>URI handling</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-23"/>
<location line="+23"/>
<source>URI can not be parsed! This can be caused by an invalid Crunchcoin address or malformed URI parameters.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+17"/>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation>Zorroa <b>enkriptatuta</b> eta <b>desblokeatuta</b> dago une honetan</translation>
</message>
<message>
<location line="+8"/>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation>Zorroa <b>enkriptatuta</b> eta <b>blokeatuta</b> dago une honetan</translation>
</message>
<message>
<location filename="../crunchcoin.cpp" line="+111"/>
<source>A fatal error occurred. Crunchcoin can no longer continue safely and will quit.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ClientModel</name>
<message>
<location filename="../clientmodel.cpp" line="+104"/>
<source>Network Alert</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation>Editatu helbidea</translation>
</message>
<message>
<location line="+11"/>
<source>&Label</source>
<translation>&Etiketa</translation>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation>Helbide-liburuko sarrera honekin lotutako etiketa</translation>
</message>
<message>
<location line="+7"/>
<source>&Address</source>
<translation>&Helbidea</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>Helbide-liburuko sarrera honekin lotutako helbidea. Bidaltzeko helbideeta soilik alda daiteke.</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+21"/>
<source>New receiving address</source>
<translation>Jasotzeko helbide berria</translation>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation>Bidaltzeko helbide berria</translation>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation>Editatu jasotzeko helbidea</translation>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation>Editatu bidaltzeko helbidea</translation>
</message>
<message>
<location line="+76"/>
<source>The entered address "%1" is already in the address book.</source>
<translation>Sartu berri den helbidea, "%1", helbide-liburuan dago jadanik.</translation>
</message>
<message>
<location line="-5"/>
<source>The entered address "%1" is not a valid Crunchcoin address.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Could not unlock wallet.</source>
<translation>Ezin desblokeatu zorroa.</translation>
</message>
<message>
<location line="+5"/>
<source>New key generation failed.</source>
<translation>Gako berriaren sorrerak huts egin du.</translation>
</message>
</context>
<context>
<name>GUIUtil::HelpMessageBox</name>
<message>
<location filename="../guiutil.cpp" line="+424"/>
<location line="+12"/>
<source>Crunchcoin-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 "de_DE" (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>Aukerak</translation>
</message>
<message>
<location line="+16"/>
<source>&Main</source>
<translation type="unfinished"/>
</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 &fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+31"/>
<source>Automatically start Crunchcoin after logging in to the system.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Start Crunchcoin on system login</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Reset all client options to default.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Reset Options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>&Network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Automatically open the Crunchcoin 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 &UPnP</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Connect to the Crunchcoin network through a SOCKS proxy (e.g. when connecting through Tor).</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Connect through SOCKS proxy:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Proxy &IP:</source>
<translation type="unfinished"/>
</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>&Port:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Port of the proxy (e.g. 9050)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>SOCKS &Version:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>SOCKS version of the proxy (e.g. 5)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+36"/>
<source>&Window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Show only a tray icon after minimizing the window.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Minimize to the tray instead of the taskbar</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>M&inimize on close</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>&Display</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>User Interface &language:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting Crunchcoin.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>&Unit to show amounts in:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Choose the default subdivision unit to show in the interface and when sending coins.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Whether to show Crunchcoin addresses in the transaction list or not.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Display addresses in transaction list</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+71"/>
<source>&OK</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>&Cancel</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>&Apply</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../optionsdialog.cpp" line="+53"/>
<source>default</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+130"/>
<source>Confirm options reset</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Some settings may require a client restart to take effect.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Do you want to proceed?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+42"/>
<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 Crunchcoin.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>The supplied proxy address is invalid.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<location filename="../forms/overviewpage.ui" line="+14"/>
<source>Form</source>
<translation>Inprimakia</translation>
</message>
<message>
<location line="+50"/>
<location line="+166"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the Crunchcoin network after a connection is established, but this process has not completed yet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-124"/>
<source>Balance:</source>
<translation>Saldoa:</translation>
</message>
<message>
<location line="+29"/>
<source>Unconfirmed:</source>
<translation>Konfirmatu gabe:</translation>
</message>
<message>
<location line="-78"/>
<source>Wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+107"/>
<source>Immature:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Mined balance that has not yet matured</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+46"/>
<source><b>Recent transactions</b></source>
<translation><b>Azken transakzioak</b></translation>
</message>
<message>
<location line="-101"/>
<source>Your current balance</source>
<translation>Zure uneko saldoa</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>Oraindik konfirmatu gabe daudenez, uneko saldoab kontatu gabe dagoen transakzio kopurua</translation>
</message>
<message>
<location filename="../overviewpage.cpp" line="+116"/>
<location line="+1"/>
<source>out of sync</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>PaymentServer</name>
<message>
<location filename="../paymentserver.cpp" line="+107"/>
<source>Cannot start crunchcoin: 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>Kopurua</translation>
</message>
<message>
<location line="-44"/>
<source>Label:</source>
<translation>&Etiketa:</translation>
</message>
<message>
<location line="+19"/>
<source>Message:</source>
<translation>Mezua</translation>
</message>
<message>
<location line="+71"/>
<source>&Save As...</source>
<translation>Gorde honela...</translation>
</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 type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="-217"/>
<source>Client version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-45"/>
<source>&Information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+68"/>
<source>Using OpenSSL version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+49"/>
<source>Startup time</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>Network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Number of connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>On testnet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Block chain</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Current number of blocks</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Estimated total blocks</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Last block time</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>&Open</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Command-line options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Show the Crunchcoin-Qt help message to get a list with possible Crunchcoin command-line options.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Show</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+24"/>
<source>&Console</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-260"/>
<source>Build date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-104"/>
<source>Crunchcoin - Debug window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+25"/>
<source>Crunchcoin Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+279"/>
<source>Debug log file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Open the Crunchcoin 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 type="unfinished"/>
</message>
<message>
<location filename="../rpcconsole.cpp" line="-30"/>
<source>Welcome to the Crunchcoin RPC console.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Type <b>help</b> for an overview of available commands.</source>
<translation type="unfinished"/>
</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>Bidali txanponak</translation>
</message>
<message>
<location line="+50"/>
<source>Send to multiple recipients at once</source>
<translation>Bidali hainbat jasotzaileri batera</translation>
</message>
<message>
<location line="+3"/>
<source>Add &Recipient</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+20"/>
<source>Remove all transaction fields</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Clear &All</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>Balance:</source>
<translation>Saldoa:</translation>
</message>
<message>
<location line="+10"/>
<source>123.456 CRC</source>
<translation>123.456 CRC</translation>
</message>
<message>
<location line="+31"/>
<source>Confirm the send action</source>
<translation>Berretsi bidaltzeko ekintza</translation>
</message>
<message>
<location line="+3"/>
<source>S&end</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../sendcoinsdialog.cpp" line="-59"/>
<source><b>%1</b> to %2 (%3)</source>
<translation><b>%1</b> honi: %2 (%3)</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm send coins</source>
<translation>Berretsi txanponak bidaltzea</translation>
</message>
<message>
<location line="+1"/>
<source>Are you sure you want to send %1?</source>
<translation>Ziur zaude %1 bidali nahi duzula?</translation>
</message>
<message>
<location line="+0"/>
<source> and </source>
<translation>eta</translation>
</message>
<message>
<location line="+23"/>
<source>The recipient address is not valid, please recheck.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>The amount to pay must be larger than 0.</source>
<translation>Ordaintzeko kopurua 0 baino handiagoa izan behar du.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount exceeds your balance.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation type="unfinished"/>
</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>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+14"/>
<source>Form</source>
<translation>Inprimakia</translation>
</message>
<message>
<location line="+15"/>
<source>A&mount:</source>
<translation>K&opurua:</translation>
</message>
<message>
<location line="+13"/>
<source>Pay &To:</source>
<translation>Ordaindu &honi:</translation>
</message>
<message>
<location line="+34"/>
<source>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</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>Sartu etiketa bat helbide honetarako, eta gehitu zure helbide-liburuan</translation>
</message>
<message>
<location line="-78"/>
<source>&Label:</source>
<translation>&Etiketa:</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>Itsatsi helbidea arbeletik</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>Ezabatu jasotzaile hau</translation>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a Crunchcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation>Sartu Bitocin helbide bat (adb.: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L) </translation>
</message>
</context>
<context>
<name>SignVerifyMessageDialog</name>
<message>
<location filename="../forms/signverifymessagedialog.ui" line="+14"/>
<source>Signatures - Sign / Verify a Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>&Sign Message</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<location line="+213"/>
<source>Choose an address from the address book</source>
<translation type="unfinished"/>
</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>Itsatsi helbidea arbeletik</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 type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Copy the current signature to the system clipboard</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>Sign the message to prove you own this Crunchcoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Reset all sign message fields</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<location line="+146"/>
<source>Clear &All</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-87"/>
<source>&Verify Message</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified Crunchcoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Verify &Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Reset all verify message fields</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../signverifymessagedialog.cpp" line="+27"/>
<location line="+3"/>
<source>Enter a Crunchcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation>Sartu Bitocin helbide bat (adb.: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L) </translation>
</message>
<message>
<location line="-2"/>
<source>Click "Sign Message" to generate signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Enter Crunchcoin signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+82"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-81"/>
<location line="+8"/>
<location line="+73"/>
<location line="+8"/>
<source>Please check the address and try again.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-73"/>
<source>Wallet unlock was cancelled.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Message signing failed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Message signed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+59"/>
<source>The signature could not be decoded.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<location line="+13"/>
<source>Please check the signature and try again.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The signature did not match the message digest.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Message verification failed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Message verified.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>SplashScreen</name>
<message>
<location filename="../splashscreen.cpp" line="+22"/>
<source>The Crunchcoin 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>Zabalik %1 arte</translation>
</message>
<message>
<location line="+6"/>
<source>%1/offline</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1/unconfirmed</source>
<translation>%1/konfirmatu gabe</translation>
</message>
<message>
<location line="+2"/>
<source>%1 confirmations</source>
<translation>%1 konfirmazioak</translation>
</message>
<message>
<location line="+18"/>
<source>Status</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+7"/>
<source>, broadcast through %n node(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+7"/>
<source>Source</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Generated</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<location line="+17"/>
<source>From</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+22"/>
<location line="+58"/>
<source>To</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-2"/>
<source>label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+37"/>
<location line="+12"/>
<location line="+45"/>
<location line="+17"/>
<location line="+30"/>
<source>Credit</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="-102"/>
<source>matures in %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+2"/>
<source>not accepted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+44"/>
<location line="+8"/>
<location line="+15"/>
<location line="+30"/>
<source>Debit</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-39"/>
<source>Transaction fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Net amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Comment</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Transaction ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Debug information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Transaction</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Inputs</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Amount</source>
<translation>Kopurua</translation>
</message>
<message>
<location line="+1"/>
<source>true</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>false</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-209"/>
<source>, has not been successfully broadcast yet</source>
<translation>, ez da arrakastaz emititu oraindik</translation>
</message>
<message numerus="yes">
<location line="-35"/>
<source>Open for %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+70"/>
<source>unknown</source>
<translation>ezezaguna</translation>
</message>
</context>
<context>
<name>TransactionDescDialog</name>
<message>
<location filename="../forms/transactiondescdialog.ui" line="+14"/>
<source>Transaction details</source>
<translation>Transakzioaren xehetasunak</translation>
</message>
<message>
<location line="+6"/>
<source>This pane shows a detailed description of the transaction</source>
<translation>Panel honek transakzioaren deskribapen xehea erakusten du</translation>
</message>
</context>
<context>
<name>TransactionTableModel</name>
<message>
<location filename="../transactiontablemodel.cpp" line="+225"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+0"/>
<source>Type</source>
<translation>Mota</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Helbidea</translation>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation>Kopurua</translation>
</message>
<message numerus="yes">
<location line="+57"/>
<source>Open for %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+3"/>
<source>Open until %1</source>
<translation>Zabalik %1 arte</translation>
</message>
<message>
<location line="+3"/>
<source>Offline (%1 confirmations)</source>
<translation>Offline (%1 konfirmazio)</translation>
</message>
<message>
<location line="+3"/>
<source>Unconfirmed (%1 of %2 confirmations)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Confirmed (%1 confirmations)</source>
<translation>Konfirmatuta (%1 konfirmazio)</translation>
</message>
<message numerus="yes">
<location line="+8"/>
<source>Mined balance will be available when it matures in %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></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>Bloke hau ez du beste inongo nodorik jaso, eta seguruenik ez da onartuko!</translation>
</message>
<message>
<location line="+3"/>
<source>Generated but not accepted</source>
<translation>Sortua, baina ez onartua</translation>
</message>
<message>
<location line="+43"/>
<source>Received with</source>
<translation>Jasoa honekin: </translation>
</message>
<message>
<location line="+2"/>
<source>Received from</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Sent to</source>
<translation>Honi bidalia: </translation>
</message>
<message>
<location line="+2"/>
<source>Payment to yourself</source>
<translation>Ordainketa zeure buruari</translation>
</message>
<message>
<location line="+2"/>
<source>Mined</source>
<translation>Bildua</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>Transakzioaren egoera. Pasatu sagua gainetik konfirmazio kopurua ikusteko.</translation>
</message>
<message>
<location line="+2"/>
<source>Date and time that the transaction was received.</source>
<translation>Transakzioa jasotako data eta ordua.</translation>
</message>
<message>
<location line="+2"/>
<source>Type of transaction.</source>
<translation>Transakzio mota.</translation>
</message>
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation>Transakzioaren xede-helbidea.</translation>
</message>
<message>
<location line="+2"/>
<source>Amount removed from or added to balance.</source>
<translation>Saldoan kendu edo gehitutako kopurua.</translation>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<location filename="../transactionview.cpp" line="+52"/>
<location line="+16"/>
<source>All</source>
<translation>Denak</translation>
</message>
<message>
<location line="-15"/>
<source>Today</source>
<translation>Gaur</translation>
</message>
<message>
<location line="+1"/>
<source>This week</source>
<translation>Aste honetan</translation>
</message>
<message>
<location line="+1"/>
<source>This month</source>
<translation>Hil honetan</translation>
</message>
<message>
<location line="+1"/>
<source>Last month</source>
<translation>Azken hilean</translation>
</message>
<message>
<location line="+1"/>
<source>This year</source>
<translation>Aurten</translation>
</message>
<message>
<location line="+1"/>
<source>Range...</source>
<translation>Muga...</translation>
</message>
<message>
<location line="+11"/>
<source>Received with</source>
<translation>Jasota honekin: </translation>
</message>
<message>
<location line="+2"/>
<source>Sent to</source>
<translation>Hona bidalia: </translation>
</message>
<message>
<location line="+2"/>
<source>To yourself</source>
<translation>Zeure buruari</translation>
</message>
<message>
<location line="+1"/>
<source>Mined</source>
<translation>Bildua</translation>
</message>
<message>
<location line="+1"/>
<source>Other</source>
<translation>Beste</translation>
</message>
<message>
<location line="+7"/>
<source>Enter address or label to search</source>
<translation>Sartu bilatzeko helbide edo etiketa</translation>
</message>
<message>
<location line="+7"/>
<source>Min amount</source>
<translation>Kopuru minimoa</translation>
</message>
<message>
<location line="+34"/>
<source>Copy address</source>
<translation>Kopiatu helbidea</translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation>Kopiatu etiketa</translation>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy transaction ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Edit label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show transaction details</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+139"/>
<source>Export Transaction Data</source>
<translation>Transakzioaren xehetasunak</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Komaz bereizitako artxiboa (*.csv)</translation>
</message>
<message>
<location line="+8"/>
<source>Confirmed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+1"/>
<source>Type</source>
<translation>Mota</translation>
</message>
<message>
<location line="+1"/>
<source>Label</source>
<translation>Etiketa</translation>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation>Helbidea</translation>
</message>
<message>
<location line="+1"/>
<source>Amount</source>
<translation>Kopurua</translation>
</message>
<message>
<location line="+1"/>
<source>ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Error exporting</source>
<translation>Errorea esportatzean</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Ezin idatzi %1 artxiboan.</translation>
</message>
<message>
<location line="+100"/>
<source>Range:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>to</source>
<translation type="unfinished"/>
</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>&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 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>
<location line="+4"/>
<source>Backup Successful</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The wallet data was successfully saved to the new location.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>crunchcoin-core</name>
<message>
<location filename="../crunchcoinstrings.cpp" line="+94"/>
<source>Crunchcoin version</source>
<translation>Botcoin bertsioa</translation>
</message>
<message>
<location line="+102"/>
<source>Usage:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-29"/>
<source>Send command to -server or crunchcoind</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-23"/>
<source>List commands</source>
<translation>Komandoen lista</translation>
</message>
<message>
<location line="-12"/>
<source>Get help for a command</source>
<translation>Laguntza komando batean</translation>
</message>
<message>
<location line="+24"/>
<source>Options:</source>
<translation>Aukerak</translation>
</message>
<message>
<location line="+24"/>
<source>Specify configuration file (default: crunchcoin.conf)</source>
<translation>Ezarpen fitxategia aukeratu (berezkoa: crunchcoin.conf)</translation>
</message>
<message>
<location line="+3"/>
<source>Specify pid file (default: crunchcoind.pid)</source>
<translation>pid fitxategia aukeratu (berezkoa: crunchcoind.pid)</translation>
</message>
<message>
<location line="-1"/>
<source>Specify data directory</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-9"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-28"/>
<source>Listen for connections on <port> (default: 9336 or testnet: 19336)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Maintain at most <n> connections to peers (default: 125)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-48"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+82"/>
<source>Specify your own public address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Threshold for disconnecting misbehaving peers (default: 100)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-134"/>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-29"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on <port> (default: 9335 or testnet: 19335)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+37"/>
<source>Accept command line and JSON-RPC commands</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+76"/>
<source>Run in the background as a daemon and accept commands</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+37"/>
<source>Use the test network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-112"/>
<source>Accept connections from outside (default: 1 if no -proxy or -connect)</source>
<translation type="unfinished"/>
</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=crunchcoinrpc
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 "Crunchcoin Alert" admin@foo.com
</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Cannot obtain a lock on data directory %s. Crunchcoin is probably already running.</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+3"/>
<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>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</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 type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: Please check that your computer's date and time are correct! If your clock is wrong Crunchcoin will not work properly.</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Attempt to recover private keys from a corrupt wallet.dat</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Block creation options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Connect only to the specified node(s)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Corrupted block database detected</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Do you want to rebuild the block database now?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Error initializing block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error initializing wallet database environment %s!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error loading block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Error opening block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Error: Disk space is low!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: Wallet locked, unable to create transaction!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: system error: </source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to listen on any port. Use -listen=0 if you want this.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to read block info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to read block</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to sync block index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write file info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write to coin database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write transaction index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write undo data</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Find peers using DNS lookup (default: 1 unless -connect)</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>How thorough the block verification is (0-4, default: 3)</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Set the number of threads to service RPC calls (default: 4)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+26"/>
<source>Verifying blocks...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Verifying wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-69"/>
<source>Imports blocks from external blk000??.dat file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-76"/>
<source>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+77"/>
<source>Information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Invalid -tor address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -minrelaytxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -mintxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Maintain a full transaction index (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Only accept block chain matching built-in checkpoints (default: 1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Only connect to nodes in network <net> (IPv4, IPv6 or Tor)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Output extra debugging information. Implies all other -debug* options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Output extra network debugging information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Prepend debug output with timestamp</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>SSL options: (see the Crunchcoin Wiki for SSL setup instructions)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Select the version of socks proxy to use (4-5, default: 5)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Send trace/debug info to console instead of debug.log file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Send trace/debug info to debugger</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<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 type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Shrink debug.log file on client startup (default: 1 when no -debug)</source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>System error: </source>
<translation type="unfinished"/>
</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 type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Use UPnP to map the listening port (default: 1 when listening)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Use proxy to reach tor hidden services (default: same as -proxy)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Username for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Warning</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Warning: This version is obsolete, upgrade required!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>You need to rebuild the databases using -reindex to change -txindex</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>wallet.dat corrupt, salvage failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-50"/>
<source>Password for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-67"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+76"/>
<source>Send commands to node running on <ip> (default: 127.0.0.1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-120"/>
<source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+147"/>
<source>Upgrade wallet to latest format</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-21"/>
<source>Set key pool size to <n> (default: 100)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-12"/>
<source>Rescan the block chain for missing wallet transactions</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Use OpenSSL (https) for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-26"/>
<source>Server certificate file (default: server.cert)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Server private key (default: server.pem)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-151"/>
<source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+165"/>
<source>This help message</source>
<translation>Laguntza mezu hau</translation>
</message>
<message>
<location line="+6"/>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-91"/>
<source>Connect through socks proxy</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-10"/>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+55"/>
<source>Loading addresses...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-35"/>
<source>Error loading wallet.dat: Wallet corrupted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error loading wallet.dat: Wallet requires newer version of Crunchcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+93"/>
<source>Wallet needed to be rewritten: restart Crunchcoin to complete</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-95"/>
<source>Error loading wallet.dat</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+28"/>
<source>Invalid -proxy address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+56"/>
<source>Unknown network specified in -onlynet: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-1"/>
<source>Unknown -socks proxy version requested: %i</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-96"/>
<source>Cannot resolve -bind address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Cannot resolve -externalip address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+44"/>
<source>Invalid amount for -paytxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-6"/>
<source>Insufficient funds</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Loading block index...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-57"/>
<source>Add a node to connect to and attempt to keep the connection open</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-25"/>
<source>Unable to bind to %s on this computer. Crunchcoin is probably already running.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+64"/>
<source>Fee per KB to add to transactions you send</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Loading wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-52"/>
<source>Cannot downgrade wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Cannot write default address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+64"/>
<source>Rescanning...</source>
<translation>Birbilatzen...</translation>
</message>
<message>
<location line="-57"/>
<source>Done loading</source>
<translation>Zamaketa amaitua</translation>
</message>
<message>
<location line="+82"/>
<source>To use the %s option</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-74"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-31"/>
<source>You must set rpcpassword=<password> in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
<translation type="unfinished"/>
</message>
</context>
</TS> | kevin-cantwell/crunchcoin | src/qt/locale/bitcoin_eu_ES.ts | TypeScript | mit | 100,127 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>euler-formula: 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.7.2 / euler-formula - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
euler-formula
<small>
8.8.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-22 06:02:19 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-22 06:02:19 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-ocamlbuild base OCamlbuild binary and libraries distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.7.2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/euler-formula"
license: "LGPL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/EulerFormula"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
tags: [
"keyword: polyhedron"
"keyword: hypermap"
"keyword: genus"
"keyword: Euler formula"
"keyword: assisted proofs"
"category: Mathematics/Geometry"
"date: 2006-09"
]
authors: [ "Jean-François Dufourd <dufourd@dpt-info.u-strasbg.fr> [http://dpt-info.u-strasbg.fr/~jfd/]" ]
bug-reports: "https://github.com/coq-contribs/euler-formula/issues"
dev-repo: "git+https://github.com/coq-contribs/euler-formula.git"
synopsis: "Hypermaps, Genus Theorem and Euler Formula"
description:
"This library formalizes the combinatorial hypermaps and their properties in a constructive way. It gives the proofs of the Genus Theorem and of the Euler Formula for the polyhedra."
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/euler-formula/archive/v8.8.0.tar.gz"
checksum: "md5=3f82c1f572763a9abea83bb75b44e2c0"
}
</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-euler-formula.8.8.0 coq.8.7.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.2).
The following dependencies couldn't be met:
- coq-euler-formula -> coq >= 8.8 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
Your request can'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-euler-formula.8.8.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.2/euler-formula/8.8.0.html | HTML | mit | 7,404 |
import TheWalletView from '@/views/TheWalletView';
import Dashboard from '@/views/layouts-wallet/TheDashboardLayout';
import Send from '@/views/layouts-wallet/TheSendTransactionLayout';
import NftManager from '@/views/layouts-wallet/TheNFTManagerLayout';
import Swap from '@/views/layouts-wallet/TheSwapLayout';
import InteractContract from '@/views/layouts-wallet/TheInteractContractLayout';
import DeployContract from '@/views/layouts-wallet/TheDeployContractLayout';
import SignMessage from '@/views/layouts-wallet/TheSignMessageLayout';
import VerifyMessage from '@/views/layouts-wallet/TheVerifyMessageLayout';
import Dapps from '@/views/layouts-wallet/TheDappCenterLayout.vue';
import DappRoutes from '@/dapps/routes-dapps.js';
import Settings from '@/modules/settings/ModuleSettings';
import NftManagerSend from '@/modules/nft-manager/components/NftManagerSend';
// import Notifications from '@/modules/notifications/ModuleNotifications';
import Network from '@/modules/network/ModuleNetwork';
import { swapProps, swapRouterGuard } from './helpers';
import { ROUTES_WALLET } from '../configs/configRoutes';
export default {
path: '/wallet',
component: TheWalletView,
props: true,
children: [
{
path: ROUTES_WALLET.WALLETS.PATH,
name: ROUTES_WALLET.WALLETS.NAME,
component: Dashboard,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.DASHBOARD.PATH,
name: ROUTES_WALLET.DASHBOARD.NAME,
component: Dashboard,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.SETTINGS.PATH,
name: ROUTES_WALLET.SETTINGS.NAME,
component: Settings,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.SEND_TX.PATH,
name: ROUTES_WALLET.SEND_TX.NAME,
component: Send,
props: true,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.NFT_MANAGER.PATH,
name: ROUTES_WALLET.NFT_MANAGER.NAME,
component: NftManager,
children: [
{
path: ROUTES_WALLET.NFT_MANAGER_SEND.PATH,
name: ROUTES_WALLET.NFT_MANAGER_SEND.NAME,
component: NftManagerSend,
meta: {
noAuth: false
}
}
],
meta: {
noAuth: false
}
},
// {
// path: ROUTES_WALLET.NOTIFICATIONS.PATH,
// name: ROUTES_WALLET.NOTIFICATIONS.NAME,
// component: Notifications,
// meta: {
// noAuth: false
// }
// },
{
path: ROUTES_WALLET.NETWORK.PATH,
name: ROUTES_WALLET.NETWORK.NAME,
component: Network,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.SWAP.PATH,
name: ROUTES_WALLET.SWAP.NAME,
component: Swap,
props: swapProps,
beforeEnter: swapRouterGuard,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.DAPPS.PATH,
component: Dapps,
children: DappRoutes,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.DEPLOY_CONTRACT.PATH,
name: ROUTES_WALLET.DEPLOY_CONTRACT.NAME,
component: DeployContract,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.INTERACT_WITH_CONTRACT.PATH,
name: ROUTES_WALLET.INTERACT_WITH_CONTRACT.NAME,
component: InteractContract,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.SIGN_MESSAGE.PATH,
name: ROUTES_WALLET.SIGN_MESSAGE.NAME,
component: SignMessage,
meta: {
noAuth: false
}
},
{
path: ROUTES_WALLET.VERIFY_MESSAGE.PATH,
name: ROUTES_WALLET.VERIFY_MESSAGE.NAME,
component: VerifyMessage,
meta: {
noAuth: false
}
}
]
};
| MyEtherWallet/MyEtherWallet | src/core/router/routes-wallet.js | JavaScript | mit | 3,789 |
<?php
/**
* @author Adriaan Knapen <a.d.knapen@protonmail.com>
* @date 3-3-2017
*/
class Menu extends MenuFrame
{
protected function menuElements() {
return [
[
new MenuItem('Sublevel'),
new MenuLink('Github', 'https://github.com/Addono', 'fa fa-github fa-fw'),
new MenuLink('Another link', 'https://w3.org'),
new MenuPage('Menu params!', ResetPage::class, null, ['abc']),
],
new MenuPage(lang('menu_admin'), AdminPage::class, 'fa fa-dashboard fa-fw'),
new MenuPage(lang('menu_reset_password'), ResetPasswordPage::class, 'fa fa-cogs fa-fw'),
// Since only the pages which the user has access rights for will be shown, only one of these will be displayed.
new MenuPage(lang('login_login'), LoginPage::class, 'fa fa-sign-in fa-fw'),
new MenuPage(lang('logout_logout'), LogoutPage::class, 'fa fa-sign-out fa-fw'),
];
}
function getListItemHtml($title, $link, $icon) {
$iconHtml = $this->getIconHtml($icon);
$linkHtml = $link===null?$title:'<a href="'.$link.'">'.$iconHtml.$title.'</a>';
return '<li>'.$linkHtml.'</li>';
}
function getSubMenuHtml($title, $icon, $content, $level) {
$iconHtml = $this->getIconHtml($icon);
switch ($level) {
case 0:
return "<ul class=\"nav navbar-nav\">\n" . $content . "</ul>\n";
break;
default:
return '<li class="dropdown">'
. '<a href="#" class="dropdown-toggle" data-toggle="dropdown">' . $iconHtml . $title
. '<b class="caret"></b>'
. '</a>'
. '<ul class="dropdown-menu dropdown-menu-right">'.$content.'</ul>'
. '</li>';
break;
}
}
private function getIconHtml($icon) {
if ($icon === null) {
return '';
} else {
return '<i class="' . $icon . '"></i> ';
}
}
} | Addono/Material-Design-Bootstrap-Template | application/pages/default/Menu.php | PHP | mit | 2,100 |
/**
* Created by ozgur on 24.07.2017.
*/
var assert = require('assert');
var fs = require("fs");
var path = require("path");
var LineCounter = require("../lib/LineCounter");
var ExtensionsFactory = require("../lib/Extensions");
var Rules = require("../lib/Rules");
describe("LineCounter", function(){
before(function(){
var dir = __dirname;
fs.mkdirSync(path.join(dir, "dir"));
fs.mkdirSync(path.join(dir, "dir", "dir2"));
fs.mkdirSync(path.join(dir, "dir", "dir3"));
fs.writeFileSync(path.join(dir, "dir", "file1.java"), "line1\nline2");
fs.writeFileSync(path.join(dir, "dir", "file1.js"), "line1\nline2\nline3");
fs.writeFileSync(path.join(dir, "dir", "dir2", "file3.php"), "line1\nline2");
fs.writeFileSync(path.join(dir, "dir", "dir2", "file4.swift"), "line1\nline2");
fs.writeFileSync(path.join(dir, "dir", "dir3", "file5.java"), "line1\nline2");
fs.writeFileSync(path.join(dir, "dir", "dir3", "file6.js"), "line1\nline2");
});
describe("#resolveTargetFiles()", function(){
it("should return allowed extensions", function(){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.setExtensions(ExtensionsFactory.from("js"));
var result = lc.resolveTargetFiles();
var expected = [ path.join(__dirname, "dir", "dir3", "file6.js"), path.join(__dirname, "dir", "file1.js") ];
for( var i = 0; i < expected.length; i++ ){
assert.equal(expected[i], result[i].getPath());
}
});
it("should return all except disallowed ones", function(){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.setExtensions(ExtensionsFactory.except("java, swift, php"));
var result = lc.resolveTargetFiles();
var expected = [ path.join(__dirname, "dir", "dir3", "file6.js"), path.join(__dirname, "dir", "file1.js") ];
for( var i = 0; i < expected.length; i++ ){
assert.equal(expected[i], result[i].getPath());
}
});
it("should return all", function(){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
var result = lc.resolveTargetFiles();
var expected = [ path.join(__dirname, "dir", "dir2", "file3.php"), path.join(__dirname, "dir", "dir2", "file4.swift"),
path.join(__dirname, "dir", "dir3", "file5.java"), path.join(__dirname, "dir", "dir3", "file6.js"),
path.join(__dirname, "dir", "file1.java"), path.join(__dirname, "dir", "file1.js")];
for( var i = 0; i < expected.length; i++ ){
assert.equal(expected[i], result[i].getPath());
}
});
});
describe("#getLines()", function(){
it("should count all files correctly", function(done){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.getLines(function(result){
assert.equal(6, result.files);
assert.equal(13, result.lines);
done();
});
});
it("should count only js files", function(done){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.setExtensions(ExtensionsFactory.from("js"));
lc.getLines(function(result){
assert.equal(2, result.files);
assert.equal(5, result.lines);
done();
});
});
});
describe("#addRule()", function(){
it("should return only the files starts with file1", function(){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.addRule(Rules.filePrefix, "file1");
var result = lc.resolveTargetFiles();
var expected = [ path.join(__dirname, "dir", "file1.java"), path.join(__dirname, "dir", "file1.js") ];
for( var i = 0; i < expected.length; i++ ){
assert.equal(expected[i], result[i].getPath());
}
});
it("should ignore dir2 and dir3 directories", function(){
var lc = new LineCounter();
lc.setPath(path.join(__dirname, "dir"));
lc.addRule(Rules.ignoreDir, "dir2");
lc.addRule(Rules.ignoreDir, "dir3");
var result = lc.resolveTargetFiles();
var expected = [ path.join(__dirname, "dir", "file1.java"), path.join(__dirname, "dir", "file1.js") ];
for( var i = 0; i < expected.length; i++ ){
assert.equal(expected[i], result[i].getPath());
}
});
});
after(function(){
var dir = __dirname;
fs.unlinkSync(path.join(dir, "dir", "dir3", "file6.js"));
fs.unlinkSync(path.join(dir, "dir", "dir3", "file5.java"));
fs.unlinkSync(path.join(dir, "dir", "dir2", "file4.swift"));
fs.unlinkSync(path.join(dir, "dir", "dir2", "file3.php"));
fs.unlinkSync(path.join(dir, "dir", "file1.js"));
fs.unlinkSync(path.join(dir, "dir", "file1.java"));
fs.rmdirSync(path.join(dir, "dir", "dir2"));
fs.rmdirSync(path.join(dir, "dir", "dir3"));
fs.rmdirSync(path.join(dir, "dir"));
});
}); | social13/line-counter-node | tests/lineCounterTest.js | JavaScript | mit | 5,389 |
require 'test_helper'
module SelecaoAdmin
class EnrolledTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
end
| swayzepatryck/selecao_admin | test/unit/selecao_admin/enrolled_test.rb | Ruby | mit | 156 |
javac -d c text2/*.java | liucong3/chen | c/cp.bat | Batchfile | mit | 23 |
define(['./Suite','./SuiteView','./Spy', './Verify'],function (Suite,SuiteView,Spy,Verify) {
var itchCork = {
Suite: Suite,
suiteView: new SuiteView(),
Spy: Spy,
Verify: Verify
};
itchCork.Suite.prototype.linkView(itchCork.suiteView);
window._bTestResults = {};
return itchCork;
});
| adamjmoon/itchcorkjs | itchcork/itchcork.js | JavaScript | mit | 352 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SenseMeasureImporter
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new SenseImporter());
}
}
}
| NOD507/SenseMeasureImporter | Program.cs | C# | mit | 430 |
!function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var a="function"==typeof require&&require;if(!f&&a)return a(u,!0);if(o)return o(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var s=n[u]={exports:{}};e[u][0].call(s.exports,function(r){var n=e[u][1][r];return i(n||r)},s,s.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof require&&require,u=0;u<t.length;u++)i(t[u]);return i}({1:[function(r,e,n){!function(){"use strict";Object.rearmed.add({hasKey:function(r){var e=!1;for(var n in this)if(n===r){e=!0;break}return e}})}()},{}]},{},[1]); | westonganger/rearmed-js | dist/object/hasKey.min.js | JavaScript | mit | 598 |
<?php
/*
* This file is part of the Reditype package.
*
* (c) 2009-2010 digital Wranglers <info@wranglers.com.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* rtGuardRegisterStandardForm
*
* @package rtCorePlugin
* @subpackage form
* @author Piers Warmers <piers@wranglers.com.au>
*/
class rtGuardRegisterStandardForm extends rtGuardUserPublicForm
{
public function setup()
{
parent::setup();
$this->getWidgetSchema()->setFormFormatterName(sfConfig::get('app_rt_public_form_formatter_name', 'RtList'));
$this->useFields(array(
'first_name',
'last_name',
'email_address',
'password',
'date_of_birth',
));
$this->widgetSchema['captcha'] = new rtWidgetFormCaptcha();
$this->widgetSchema->setLabel('captcha', 'Are you human');
$this->setValidator('captcha', new rtValidatorCaptcha(array('required' => true), array('required' => 'This question is required, please try again.','invalid' => 'The answer you entered didn\'t pass validation, please try again.')));
}
} | pierswarmers/rtCorePlugin | lib/form/registration/rtGuardRegisterStandardForm.class.php | PHP | mit | 1,138 |
const sinon = require('sinon');
const sinonChai = require('sinon-chai');
const chai = require('chai');
const dirtyChai = require('dirty-chai');
const should = chai.Should;
should();
chai.use(dirtyChai);
chai.use(sinonChai);
const index = require('./../src/index.js');
const error = new Error('should not be called');
describe('node-vault', () => {
describe('module', () => {
it('should export a function that returns a new client', () => {
const v = index();
index.should.be.a('function');
v.should.be.an('object');
});
});
describe('client', () => {
let request = null;
let response = null;
let vault = null;
// helper
function getURI(path) {
return [vault.endpoint, vault.apiVersion, path].join('/');
}
function assertRequest(thisRequest, params, done) {
return () => {
thisRequest.should.have.calledOnce();
thisRequest.calledWithMatch(params).should.be.ok();
return done();
};
}
beforeEach(() => {
// stub requests
request = sinon.stub();
response = sinon.stub();
response.statusCode = 200;
request.returns({
then(fn) {
return fn(response);
},
catch(fn) {
return fn();
},
});
vault = index(
{
endpoint: 'http://localhost:8200',
token: '123',
'request-promise': request, // dependency injection of stub
}
);
});
describe('help(path, options)', () => {
it('should response help text for any path', done => {
const path = 'sys/policy';
const params = {
method: 'GET',
uri: `${getURI(path)}?help=1`,
};
vault.help(path)
.then(assertRequest(request, params, done))
.catch(done);
});
it('should handle undefined options', done => {
const path = 'sys/policy';
const params = {
method: 'GET',
uri: `${getURI(path)}?help=1`,
};
vault.help(path)
.then(assertRequest(request, params, done))
.catch(done);
});
});
describe('list(path, requestOptions)', () => {
it('should list entries at the specific path', done => {
const path = 'secret/hello';
const params = {
method: 'LIST',
uri: getURI(path),
};
vault.list(path)
.then(assertRequest(request, params, done))
.catch(done);
});
});
describe('write(path, data, options)', () => {
it('should write data to path', done => {
const path = 'secret/hello';
const data = {
value: 'world',
};
const params = {
method: 'PUT',
uri: getURI(path),
};
vault.write(path, data)
.then(assertRequest(request, params, done))
.catch(done);
});
it('should handle undefined options', done => {
const path = 'secret/hello';
const data = {
value: 'world',
};
const params = {
method: 'PUT',
uri: getURI(path),
};
vault.write(path, data)
.then(assertRequest(request, params, done))
.catch(done);
});
});
describe('read(path, options)', () => {
it('should read data from path', done => {
const path = 'secret/hello';
const params = {
method: 'GET',
uri: getURI(path),
};
vault.read(path)
.then(assertRequest(request, params, done))
.catch(done);
});
it('should handle undefined options', done => {
const path = 'secret/hello';
const params = {
method: 'GET',
uri: getURI(path),
};
vault.read(path)
.then(assertRequest(request, params, done))
.catch(done);
});
});
describe('delete(path, options)', () => {
it('should delete data from path', done => {
const path = 'secret/hello';
const params = {
method: 'DELETE',
uri: getURI(path),
};
vault.delete(path)
.then(assertRequest(request, params, done))
.catch(done);
});
it('should handle undefined options', done => {
const path = 'secret/hello';
const params = {
method: 'DELETE',
uri: getURI(path),
};
vault.delete(path)
.then(assertRequest(request, params, done))
.catch(done);
});
});
describe('handleVaultResponse(response)', () => {
it('should return a function that handles errors from vault server', () => {
const fn = vault.handleVaultResponse;
fn.should.be.a('function');
});
it('should return a Promise with the body if successful', done => {
const data = { hello: 1 };
response.body = data;
const promise = vault.handleVaultResponse(response);
promise.then(body => {
body.should.equal(data);
return done();
});
});
it('should return a Promise with the error if failed', done => {
response.statusCode = 500;
response.body = {
errors: ['Something went wrong.'],
};
response.request = {
path: 'test',
};
const promise = vault.handleVaultResponse(response);
promise.catch(err => {
err.message.should.equal(response.body.errors[0]);
return done();
});
});
it('should return the status code if no error in the response', done => {
response.statusCode = 500;
response.request = {
path: 'test',
};
const promise = vault.handleVaultResponse(response);
promise.catch(err => {
err.message.should.equal(`Status ${response.statusCode}`);
return done();
});
});
it('should not handle response from health route as error', done => {
const data = {
initialized: true,
sealed: true,
standby: true,
server_time_utc: 1474301338,
version: 'Vault v0.6.1',
};
response.statusCode = 503;
response.body = data;
response.request = {
path: '/v1/sys/health',
};
const promise = vault.handleVaultResponse(response);
promise.then(body => {
body.should.equal(data);
return done();
});
});
it('should return error if error on request path with health and not sys/health', done => {
response.statusCode = 404;
response.body = {
errors: [],
};
response.request = {
path: '/v1/sys/policies/applications/im-not-sys-health/app',
};
vault.handleVaultResponse(response)
.then(() => done(error))
.catch(err => {
err.message.should.equal(`Status ${response.statusCode}`);
return done();
});
});
it('should return a Promise with the error if no response is passed', done => {
const promise = vault.handleVaultResponse();
promise.catch((err) => {
err.message.should.equal('No response passed');
return done();
});
});
});
describe('generateFunction(name, config)', () => {
const config = {
method: 'GET',
path: '/myroute',
};
const configWithSchema = {
method: 'GET',
path: '/myroute',
schema: {
req: {
type: 'object',
properties: {
testProperty: {
type: 'integer',
minimum: 1,
},
},
required: ['testProperty'],
},
},
};
const configWithQuerySchema = {
method: 'GET',
path: '/myroute',
schema: {
query: {
type: 'object',
properties: {
testParam1: {
type: 'integer',
minimum: 1,
},
testParam2: {
type: 'string',
},
},
required: ['testParam1', 'testParam2'],
},
},
};
it('should generate a function with name as defined in config', () => {
const name = 'myGeneratedFunction';
vault.generateFunction(name, config);
vault.should.have.property(name);
const fn = vault[name];
fn.should.be.a('function');
});
describe('generated function', () => {
it('should return a promise', done => {
const name = 'myGeneratedFunction';
vault.generateFunction(name, config);
const fn = vault[name];
const promise = fn();
request.calledOnce.should.be.ok();
/* eslint no-unused-expressions: 0*/
promise.should.be.promise;
promise.then(done)
.catch(done);
});
it('should handle config with schema property', done => {
const name = 'myGeneratedFunction';
vault.generateFunction(name, configWithSchema);
const fn = vault[name];
const promise = fn({ testProperty: 3 });
promise.then(done).catch(done);
});
it('should handle invalid arguments via schema property', done => {
const name = 'myGeneratedFunction';
vault.generateFunction(name, configWithSchema);
const fn = vault[name];
const promise = fn({ testProperty: 'wrong data type here' });
promise.catch(err => {
err.message.should.equal('Invalid type: string (expected integer)');
return done();
});
});
it('should handle schema with query property', done => {
const name = 'myGeneratedFunction';
vault.generateFunction(name, configWithQuerySchema);
const fn = vault[name];
const promise = fn({ testParam1: 3, testParam2: 'hello' });
const options = {
path: '/myroute?testParam1=3&testParam2=hello',
};
promise
.then(() => {
request.calledWithMatch(options).should.be.ok();
done();
})
.catch(done);
});
});
});
describe('request(options)', () => {
it('should reject if options are undefined', done => {
vault.request()
.then(() => done(error))
.catch(() => done());
});
it('should handle undefined path in options', done => {
const promise = vault.request({
method: 'GET',
});
promise.catch(err => {
err.message.should.equal('Missing required property: path');
return done();
});
});
it('should handle undefined method in options', done => {
const promise = vault.request({
path: '/',
});
promise.catch(err => {
err.message.should.equal('Missing required property: method');
return done();
});
});
});
});
});
| trevorr/node-vault | test/unit.js | JavaScript | mit | 11,148 |
$:.unshift( File.join( File.dirname(__FILE__), '..', 'lib' ))
require 'bk'
require 'bk/dot_graph'
tree = BK::Tree.new
$stdin.each_with_index do |line, i|
tree.add(line.strip)
File.open('bk-%04d.dot' % i, 'w') do |io|
io << tree.dot_graph
end
end
| threedaymonk/bktree | samples/graph.rb | Ruby | mit | 257 |
module TestLib (mkTestSuite, run, (<$>)) where
import Test.HUnit
import AsciiMath hiding (run)
import Prelude hiding ((<$>))
import Control.Applicative ((<$>))
unComment :: [String] -> [String]
unComment [] = []
unComment ("":ss) = "" : unComment ss
unComment (('#':_):ss) = unComment ss
unComment (s:ss) = s : unComment ss
readSrc :: String -> IO [String]
readSrc = (unComment . lines <$>) . readFile . ("tests/spec/"++)
mkTest :: String -> String -> Test
mkTest inp out = case compile inp of
Right s -> TestCase $ assertEqual ("for " ++ inp ++ ",") out s
Left err ->
TestCase $ assertFailure $ "Error while compiling \"" ++ inp ++ "\":\n" ++ renderError err ++ ".\n"
mkTestSuite :: String -> String -> IO Test
mkTestSuite name filename = do {
inp <- readSrc $ filename ++ ".txt";
out <- readSrc $ filename ++ ".latex";
return $ TestLabel name . TestList $ zipWith mkTest inp out
}
run :: Test -> IO ()
run t = do {
c <- runTestTT t;
if errors c == 0 && failures c == 0
then return ()
else error "fail";
}
| Kerl13/AsciiMath | tests/TestLib.hs | Haskell | mit | 1,037 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: 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.13.0 / pi-agm - 1.1.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
pi-agm
<small>
1.1.0
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2021-04-16 16:56:55 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-04-16 16:56:55 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.13.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.11.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.1 Official release 4.11.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
name: "coq-pi-agm"
version: "1.1.0"
maintainer: "yves.bertot@inria.fr"
homepage: "http://www-sop.inria.fr/members/Yves.Bertot/"
bug-reports: "yves.bertot@inria.fr"
license: "CeCILL-B"
build: [["coq_makefile" "-f" "_CoqProject" "-o" "Makefile" ]
[ make "-j" "%{jobs}%" ]]
install: [ make "install" "DEST='%{lib}%/coq/user-contrib/pi_agm'" ]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/pi_agm'" ]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.7~"}
"coq-mathcomp-ssreflect" {>= "1.6.0" & <= "1.6.1"}
"coq-coquelicot" {> "2.1.1" & <= "2.1.2"}
"coq-interval" {= "3.1.1"}
]
tags: [ "keyword:real analysis" "keyword:pi" "category:Mathematics/Real Calculus and Topology" ]
authors: [ "Yves Bertot <yves.bertot@inria.fr>" ]
synopsis:
"Computing thousands or millions of digits of PI with arithmetic-geometric means"
description: """
This is a proof of correctness for two algorithms to compute PI to high
precision using arithmetic-geometric means. A first file contains
the calculus-based proofs for an abstract view of the algorithm, where all
numbers are real numbers. A second file describes how to approximate all
computations using large integers. Other files describe the second algorithm
which is close to the one used in mpfr, for instance.
The whole development can be used to produce mathematically proved and
formally verified approximations of PI."""
url {
src:
"https://github.com/ybertot/pi-agm/archive/submitted-article-version-8-6.zip"
checksum: "md5=4004421ecb7c185e3d269fb7ef944bdd"
}
</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-pi-agm.1.1.0 coq.8.13.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.13.0).
The following dependencies couldn't be met:
- coq-pi-agm -> coq < 8.7~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
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-pi-agm.1.1.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">
<small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small>
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.11.1-2.0.7/released/8.13.0/pi-agm/1.1.0.html | HTML | mit | 7,736 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 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.5.1 / interval - 4.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
interval
<small>
4.0.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-03-02 19:39:01 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-02 19:39:01 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-ocamlbuild base OCamlbuild binary and libraries distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.5.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
# opam file:
opam-version: "2.0"
maintainer: "guillaume.melquiond@inria.fr"
homepage: "https://coqinterval.gitlabpages.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/coqinterval/interval.git"
bug-reports: "https://gitlab.inria.fr/coqinterval/interval/issues"
license: "CeCILL-C"
patches: [
"remake.patch"
]
build: [
["autoconf"] {dev}
["./configure"]
["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
depends: [
"coq" {>= "8.8" & < "8.13~"}
"coq-bignums"
"coq-flocq" {>= "3.1" & < "4~"}
"coq-mathcomp-ssreflect" {>= "1.6"}
"coq-coquelicot" {>= "3.0"}
"conf-autoconf" {build & dev}
("conf-g++" {build} | "conf-clang" {build})
]
tags: [
"keyword:interval arithmetic"
"keyword:decision procedure"
"keyword:floating-point arithmetic"
"keyword:reflexive tactic"
"keyword:Taylor models"
"category:Mathematics/Real Calculus and Topology"
"category:Computer Science/Decision Procedures and Certified Algorithms/Decision procedures"
"logpath:Interval"
"date:2020-06-17"
]
authors: [ "Guillaume Melquiond <guillaume.melquiond@inria.fr>" "Érik Martin-Dorel <erik.martin-dorel@irit.fr>" "Pierre Roux <pierre.roux@onera.fr>" "Thomas Sibut-Pinote <thomas.sibut-pinote@inria.fr>" ]
synopsis: "A Coq tactic for proving bounds on real-valued expressions automatically"
url {
src: "https://coqinterval.gitlabpages.inria.fr/releases/interval-4.0.0.tar.gz"
checksum: "sha512=e8fc34e4b38565e9bb5b0ec9423d12d06c33c708235df97222fc6be9035cfdcba9b0b209b7123de4f9fca1b1ef7c6d7eb7f1383dca59795d8142ad737feb6597"
}
</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-interval.4.0.0 coq.8.5.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.5.1).
The following dependencies couldn't be met:
- coq-interval -> coq >= 8.8 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
Your request can'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-interval.4.0.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.1/interval/4.0.0.html | HTML | mit | 7,910 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: 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.11.1 / huffman - 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>
huffman
<small>
8.7.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-04 15:07:36 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-04 15:07:36 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.11.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/huffman"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Huffman"]
depends: [
"ocaml"
"coq" {>= "8.7" & < "8.8~"}
]
tags: [ "keyword: Data Compression" "keyword: Code" "keyword: Huffman Tree" "category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms" "category: Miscellaneous/Extracted Programs/Combinatorics" "date: 2003-10" ]
authors: [ "Laurent Théry" ]
bug-reports: "https://github.com/coq-contribs/huffman/issues"
dev-repo: "git+https://github.com/coq-contribs/huffman.git"
synopsis: "A correctness proof of Huffman algorithm"
description: """
This directory contains the proof of correctness of Huffman algorithm
as described in:
David A. Huffman,
"A Method for the Construction of Minimum-Redundancy Codes,"
Proc. IRE, pp. 1098-1101, September 1952."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/huffman/archive/v8.7.0.tar.gz"
checksum: "md5=df9983368670939c272dfe9170d614ce"
}
</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-huffman.8.7.0 coq.8.11.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.11.1).
The following dependencies couldn't be met:
- coq-huffman -> coq < 8.8~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-huffman.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.11.1/huffman/8.7.0.html | HTML | mit | 7,087 |
'use strict';
function A() {
this._va = 0;
console.log('A');
}
A.prototype = {
va: 1,
fa: function() {
console.log('A->fa()');
}
};
function B() {
this._vb = 0;
console.log('B');
}
B.prototype = {
vb: 1,
fb: function() {
console.log('B->fb()');
}
};
function C() {
this._vc = 0;
console.log('C');
}
C.prototype = {
vc: 1,
fc: function() {
console.log('C->fc()');
}
};
function D(){
this._vd = 0;
console.log('D');
}
D.prototype = {
vd: 1,
fd: function() {
this.fa();
this.fb();
this.fc();
console.log('D->fd()');
}
};
var mixin = require('../mixin');
D = mixin(D, A);
D = mixin(D, B);
D = mixin(D, C);
var d = new D();
console.log(d);
console.log(d.constructor.name);
d.fd();
var a = new A();
console.log(a);
console.log(a.__proto__);
console.log(a.va);
| floatinghotpot/mixin-pro | test/testMixin.js | JavaScript | mit | 825 |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("runnercoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
" %s\n"
"It is recommended you use the following random password:\n"
"rpcuser=runnercoinrpc\n"
"rpcpassword=%s\n"
"(you do not need to remember this password)\n"
"The username and password MUST NOT be the same.\n"
"If the file does not exist, create it with owner-readable-only file "
"permissions.\n"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:"
"@STRENGTH)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv4: %s"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv6, "
"falling back to IPv4: %s"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Bind to given address and always listen on it. Use [host]:port notation for "
"IPv6"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Cannot obtain a lock on data directory %s. Runnercoin is probably already "
"running."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Error initializing database environment %s! To recover, BACKUP THAT "
"DIRECTORY, then remove everything from it except for wallet.dat."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"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."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Error: This transaction requires a transaction fee of at least %s because of "
"its amount, complexity, or use of recently received funds!"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Execute command when a wallet transaction changes (%s in cmd is replaced by "
"TxID)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Execute command when the best block changes (%s in cmd is replaced by block "
"hash)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Listen for JSON-RPC connections on <port> (default: 8399 or testnet: 18399)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Number of seconds to keep misbehaving peers from reconnecting (default: "
"86400)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Set maximum size of high-priority/low-fee transactions in bytes (default: "
"27000)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Set the number of script verification threads (1-16, 0=auto, default: 0)"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"This is a pre-release test build - use at your own risk - do not use for "
"mining or merchant applications"),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Unable to bind to %s on this computer. Runnercoin is probably already running."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Warning: -paytxfee is set very high! This is the transaction fee you will "
"pay if you send a transaction."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Warning: Displayed transactions may not be correct! You may need to upgrade, "
"or other nodes may need to upgrade."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Warning: Please check that your computer's date and time are correct! If "
"your clock is wrong Runnercoin will not work properly."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"Warning: error reading wallet.dat! All keys read correctly, but transaction "
"data or address book entries might be missing or incorrect."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"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."),
QT_TRANSLATE_NOOP("runnercoin-core", ""
"You must set rpcpassword=<password> in the configuration file:\n"
"%s\n"
"If the file does not exist, create it with owner-readable-only file "
"permissions."),
QT_TRANSLATE_NOOP("runnercoin-core", "Accept command line and JSON-RPC commands"),
QT_TRANSLATE_NOOP("runnercoin-core", "Accept connections from outside (default: 1 if no -proxy or -connect)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Add a node to connect to and attempt to keep the connection open"),
QT_TRANSLATE_NOOP("runnercoin-core", "Allow DNS lookups for -addnode, -seednode and -connect"),
QT_TRANSLATE_NOOP("runnercoin-core", "Allow JSON-RPC connections from specified IP address"),
QT_TRANSLATE_NOOP("runnercoin-core", "Attempt to recover private keys from a corrupt wallet.dat"),
QT_TRANSLATE_NOOP("runnercoin-core", "Huntercoin version"),
QT_TRANSLATE_NOOP("runnercoin-core", "Block creation options:"),
QT_TRANSLATE_NOOP("runnercoin-core", "Cannot downgrade wallet"),
QT_TRANSLATE_NOOP("runnercoin-core", "Cannot initialize keypool"),
QT_TRANSLATE_NOOP("runnercoin-core", "Cannot resolve -bind address: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Cannot resolve -externalip address: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Cannot write default address"),
QT_TRANSLATE_NOOP("runnercoin-core", "Connect only to the specified node(s)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Connect through socks proxy"),
QT_TRANSLATE_NOOP("runnercoin-core", "Connect to a node to retrieve peer addresses, and disconnect"),
QT_TRANSLATE_NOOP("runnercoin-core", "Corrupted block database detected"),
QT_TRANSLATE_NOOP("runnercoin-core", "Discover own IP address (default: 1 when listening and no -externalip)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Do you want to rebuild the block database now?"),
QT_TRANSLATE_NOOP("runnercoin-core", "Don't generate coins"),
QT_TRANSLATE_NOOP("runnercoin-core", "Done loading"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error initializing block database"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error loading block database"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error loading wallet.dat"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error loading wallet.dat: Wallet corrupted"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error loading wallet.dat: Wallet requires newer version of Huntercoin"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error opening block database"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error: Disk space is low!"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error: Transaction creation failed!"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error: Wallet locked, unable to create transaction!"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error: could not start node"),
QT_TRANSLATE_NOOP("runnercoin-core", "Error: system error: "),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to listen on any port. Use -listen=0 if you want this."),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to read block info"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to read block"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to sync block index"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write block index"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write block info"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write block"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write file info"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write to coin database"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write transaction index"),
QT_TRANSLATE_NOOP("runnercoin-core", "Failed to write undo data"),
QT_TRANSLATE_NOOP("runnercoin-core", "Fee per KB to add to transactions you send"),
QT_TRANSLATE_NOOP("runnercoin-core", "Find peers using DNS lookup (default: 1 unless -connect)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Find peers using internet relay chat (default: 0)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Generate coins"),
QT_TRANSLATE_NOOP("runnercoin-core", "Get help for a command"),
QT_TRANSLATE_NOOP("runnercoin-core", "How many blocks to check at startup (default: 288, 0 = all)"),
QT_TRANSLATE_NOOP("runnercoin-core", "How thorough the block verification is (0-4, default: 3)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Importing blocks from block database..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Imports blocks from external blk000??.dat file"),
QT_TRANSLATE_NOOP("runnercoin-core", "Information"),
QT_TRANSLATE_NOOP("runnercoin-core", "Insufficient funds"),
QT_TRANSLATE_NOOP("runnercoin-core", "Invalid -proxy address: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Invalid -tor address: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Invalid amount for -paytxfee=<amount>: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Invalid amount"),
QT_TRANSLATE_NOOP("runnercoin-core", "List commands"),
QT_TRANSLATE_NOOP("runnercoin-core", "Listen for connections on <port> (default: 8398 or testnet: 18398)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Loading addresses..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Loading block index..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Loading wallet..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Maintain a full transaction index (default: 0)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Maintain at most <n> connections to peers (default: 125)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Only accept block chain matching built-in checkpoints (default: 1)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Only connect to nodes in network <net> (IPv4, IPv6 or Tor)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Options:"),
QT_TRANSLATE_NOOP("runnercoin-core", "Output extra debugging information. Implies all other -debug* options"),
QT_TRANSLATE_NOOP("runnercoin-core", "Output extra network debugging information"),
QT_TRANSLATE_NOOP("runnercoin-core", "Password for JSON-RPC connections"),
QT_TRANSLATE_NOOP("runnercoin-core", "Prepend debug output with timestamp"),
QT_TRANSLATE_NOOP("runnercoin-core", "Rebuild blockchain index from current blk000??.dat files"),
QT_TRANSLATE_NOOP("runnercoin-core", "Rescan the block chain for missing wallet transactions"),
QT_TRANSLATE_NOOP("runnercoin-core", "Rescanning..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Run in the background as a daemon and accept commands"),
QT_TRANSLATE_NOOP("runnercoin-core", "SSL options: (see the Bitcoin Wiki for SSL setup instructions)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Select the version of socks proxy to use (4-5, default: 5)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Send command to -server or huntercoind"),
QT_TRANSLATE_NOOP("runnercoin-core", "Send commands to node running on <ip> (default: 127.0.0.1)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Send trace/debug info to console instead of debug.log file"),
QT_TRANSLATE_NOOP("runnercoin-core", "Send trace/debug info to debugger"),
QT_TRANSLATE_NOOP("runnercoin-core", "Server certificate file (default: server.cert)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Server private key (default: server.pem)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Set database cache size in megabytes (default: 25)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Set key pool size to <n> (default: 100)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Set maximum block size in bytes (default: 250000)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Set minimum block size in bytes (default: 0)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Shrink debug.log file on client startup (default: 1 when no -debug)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Specify configuration file (default: runnercoin.conf)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Specify connection timeout in milliseconds (default: 5000)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Specify data directory"),
QT_TRANSLATE_NOOP("runnercoin-core", "Specify pid file (default: huntercoind.pid)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Specify your own public address"),
QT_TRANSLATE_NOOP("runnercoin-core", "System error: "),
QT_TRANSLATE_NOOP("runnercoin-core", "This help message"),
QT_TRANSLATE_NOOP("runnercoin-core", "Threshold for disconnecting misbehaving peers (default: 100)"),
QT_TRANSLATE_NOOP("runnercoin-core", "To use the %s option"),
QT_TRANSLATE_NOOP("runnercoin-core", "Unable to bind to %s on this computer (bind returned error %d, %s)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Unknown -socks proxy version requested: %i"),
QT_TRANSLATE_NOOP("runnercoin-core", "Unknown network specified in -onlynet: '%s'"),
QT_TRANSLATE_NOOP("runnercoin-core", "Upgrade wallet to latest format"),
QT_TRANSLATE_NOOP("runnercoin-core", "Usage:"),
QT_TRANSLATE_NOOP("runnercoin-core", "Use OpenSSL (https) for JSON-RPC connections"),
QT_TRANSLATE_NOOP("runnercoin-core", "Use UPnP to map the listening port (default: 0)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Use UPnP to map the listening port (default: 1 when listening)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Use proxy to reach tor hidden services (default: same as -proxy)"),
QT_TRANSLATE_NOOP("runnercoin-core", "Use the test network"),
QT_TRANSLATE_NOOP("runnercoin-core", "Username for JSON-RPC connections"),
QT_TRANSLATE_NOOP("runnercoin-core", "Verifying database..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Verifying wallet integrity..."),
QT_TRANSLATE_NOOP("runnercoin-core", "Wallet needed to be rewritten: restart Runnercoin to complete"),
QT_TRANSLATE_NOOP("runnercoin-core", "Warning"),
QT_TRANSLATE_NOOP("runnercoin-core", "Warning: This version is obsolete, upgrade required!"),
QT_TRANSLATE_NOOP("runnercoin-core", "You need to rebuild the databases using -reindex to change -txindex"),
QT_TRANSLATE_NOOP("runnercoin-core", "wallet.dat corrupt, salvage failed"),
};
| runnercoin/runnercoin | src/qt/bitcoinstrings.cpp | C++ | mit | 13,634 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using PluginCore;
using CustomizeToolbar.Helpers;
namespace CustomizeToolbar.Controls
{
public partial class CustomizeDialog : Form
{
private List<ToolItem> _items = null;
public CustomizeDialog()
{
InitializeComponent();
InitializeDialog();
}
private void InitializeDialog()
{
this.Font = PluginBase.Settings.DefaultFont;
this.Text = ResourceHelper.GetString("CustomizeToolbar.Label.Customize");
this.itemList.Font = PluginBase.Settings.DefaultFont;
moveItemUp.Image = PluginBase.MainForm.FindImage("8");
moveItemDown.Image = PluginBase.MainForm.FindImage("22");
addMenuItem.Image = PluginBase.MainForm.FindImage("12");
removeMenuItem.Image = PluginBase.MainForm.FindImage("18");
}
public List<ToolItem> Items
{
get
{
return _items;
}
set
{
_items = value;
itemList.BeginUpdate();
itemList.Items.Clear();
if (_items != null)
{
// Add all the ToolItems to the list.
foreach (ToolItem item in _items)
{
itemList.Items.Add(item);
// Check the item if it is visible
if (item.Visible)
itemList.SetItemChecked(itemList.Items.Count - 1, true);
}
}
itemList.EndUpdate();
}
}
private void toolItemVisibility_ItemCheck(object sender, ItemCheckEventArgs e)
{
// Toggle item visibility
ToolItem item = (ToolItem)itemList.Items[e.Index];
item.Visible = e.NewValue == CheckState.Checked;
}
private void moveItemUp_Click(object sender, EventArgs e)
{
if (itemList.SelectedItem != null)
{
ToolItem item = (ToolItem)itemList.SelectedItem;
int newIndex = itemList.SelectedIndex - 1;
if (newIndex >= 0)
moveItem(item, newIndex);
}
}
private void moveItemDown_Click(object sender, EventArgs e)
{
if (itemList.SelectedItem != null)
{
ToolItem item = (ToolItem)itemList.SelectedItem;
int newIndex = itemList.SelectedIndex + 1;
if (newIndex < itemList.Items.Count)
moveItem(item, newIndex);
}
}
private void moveItem(ToolItem item, int newIndex)
{
_items.Remove(item);
_items.Insert(newIndex, item);
itemList.Items.Remove(item);
itemList.Items.Insert(newIndex, item);
itemList.SetItemChecked(newIndex, item.Visible);
itemList.SelectedIndex = newIndex;
ToolbarHelper.ArrangeToolbar(Items);
}
private void addMenuItem_Click(object sender, EventArgs e)
{
AddItemDialog dialog = new AddItemDialog();
if (dialog.ShowDialog() == DialogResult.OK)
{
ToolItem toolItem = null;
// The selected item was a MenuItem so add it as a ToolStripButton
if (dialog.SelectedItem is ToolStripMenuItem)
{
ToolStripMenuItem item = dialog.SelectedItem as ToolStripMenuItem;
ToolStripMenuItem menuItem = (ToolStripMenuItem)item.Tag;
// Create ToolBar Button
ToolStripButton toolButton = ToolbarHelper.CreateButton(menuItem);
// Create ToolItem
toolItem = new ToolItem(toolButton, dialog.SelectedMenu);
}
else
{
// Otherwise create a ToolItem for the separator
dialog.SelectedItem.Name = "-";
toolItem = new ToolItem(dialog.SelectedItem, "-");
}
toolItem.Visible = true;
// Insert it based on the currently selected item in the tool item list
int index = itemList.SelectedIndex < 0 ? itemList.Items.Count : itemList.SelectedIndex + 1;
Items.Insert(index, toolItem);
itemList.Items.Insert(index, toolItem);
itemList.SetItemChecked(index, true);
// Select the new item to more easily move it
itemList.SelectedIndex = index;
ToolbarHelper.ArrangeToolbar(Items);
}
}
private void removeMenuItem_Click(object sender, EventArgs e)
{
if (itemList.SelectedItem != null)
{
ToolItem item = (ToolItem)itemList.SelectedItem;
// Only remove items that have a MenuName
if (!string.IsNullOrEmpty(item.MenuName))
{
PluginBase.MainForm.ToolStrip.Items.Remove(item.Item);
Items.Remove(item);
itemList.Items.Remove(item);
ToolbarHelper.ArrangeToolbar(Items);
}
}
}
private void itemList_SelectedIndexChanged(object sender, EventArgs e)
{
// Update the buttons based on what actions can be performed on the selected item.
if (itemList.SelectedItem != null)
{
moveItemUp.Enabled = itemList.SelectedIndex > 0;
moveItemDown.Enabled = itemList.SelectedIndex < (itemList.Items.Count - 1);
ToolItem item = (ToolItem)itemList.SelectedItem;
removeMenuItem.Enabled = !string.IsNullOrEmpty(item.MenuName);
}
else
{
moveItemUp.Enabled = false;
moveItemDown.Enabled = false;
removeMenuItem.Enabled = false;
}
}
}
}
| JoeRobich/fd-customizetoolbar | Controls/CustomizeDialog.cs | C# | mit | 6,512 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30</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">
<link href="../circle.css" 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">
Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
</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">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>GT-P5100-ORANGE</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><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="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a>
<!-- Modal Structure -->
<div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
[family] => Samsung GT-P5100-ORANGE/P5100BVBLF5
[brand] => Samsung
[model] => GT-P5100-ORANGE
)
</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>BrowscapFull<br /><small>6014</small><br /></td><td>Android 4.0</td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy Tab 2 10.1</td><td>Tablet</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.014</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a>
<!-- Modal Structure -->
<div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapFull result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.0.*gt\-p5100.* build\/.*\) applewebkit\/.* \(khtml,.*like gecko.*\) version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?4.0*gt-p5100* build/*) applewebkit/* (khtml,*like gecko*) version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => 4.0
[platform_description] => Android OS
[platform_bits] => 32
[platform_maker] => Google Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] => 1
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] => 1
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => Galaxy Tab 2 10.1
[device_maker] => Samsung
[device_type] => Tablet
[device_pointing_method] => touchscreen
[device_code_name] => GT-P5100
[device_brand_name] => Samsung
[renderingengine_name] => WebKit
[renderingengine_version] => unknown
[renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3.
[renderingengine_maker] => Apple Inc
)
</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>BrowscapLite<br /><small>6014</small><br /></td><td>Android 4.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</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.004</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a>
<!-- Modal Structure -->
<div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapLite result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 4.0
[majorver] => 0
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] => false
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => unknown
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</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>BrowscapPhp<br /><small>6014</small><br /></td><td>Android 4.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></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="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a>
<!-- Modal Structure -->
<div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] =>
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</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>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Android Browser 4.0</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="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a>
<!-- Modal Structure -->
<div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Android
[browser] => Android Browser
[version] => 4.0
)
</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>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Safari 4.0</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.0.4</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>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</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a>
<!-- Modal Structure -->
<div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>JenssegersAgent result detail</h4>
<p><pre><code class="php">Array
(
[browserName] => Safari
[browserVersion] => 4.0
[osName] => AndroidOS
[osVersion] => 4.0.4
[deviceModel] => SamsungTablet
[isMobile] => 1
[isRobot] =>
[botName] =>
)
</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><br /></td><td>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>GT-P5100</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.28102</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a>
<!-- Modal Structure -->
<div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[mobile_screen_height] => 800
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Samsung
[mobile_model] => GT-P5100
[version] => 4.0
[is_android] => 1
[browser_name] => Android Webkit
[operating_system_family] => Android
[operating_system_version] => 4.0.4
[is_ios] =>
[producer] => Google Inc.
[operating_system] => Android 4.0.x Ice Cream Sandwich
[mobile_screen_width] => 1280
[mobile_browser] => Android Webkit
)
</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.6.1</small><br /></td><td>Android Browser </td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555">Samsung</td><td>GALAXY Tab 2 10.1"</td><td>tablet</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.007</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a>
<!-- Modal Structure -->
<div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => Android Browser
[short_name] => AN
[version] =>
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 4.0
[platform] =>
)
[device] => Array
(
[brand] => SA
[brandName] => Samsung
[model] => GALAXY Tab 2 10.1"
[device] => 2
[deviceName] => tablet
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] =>
[isTablet] => 1
[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>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Navigator 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></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</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a>
<!-- Modal Structure -->
<div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>SinergiBrowserDetector result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
[name:Sinergi\BrowserDetector\Browser:private] => Navigator
[version:Sinergi\BrowserDetector\Browser:private] => 4.0
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
[isFacebookWebView:Sinergi\BrowserDetector\Browser:private] =>
[isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Android
[version:Sinergi\BrowserDetector\Os:private] => 4.0.4
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
)
)
</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>UAParser<br /><small>v3.4.5</small><br /></td><td>Android 4.0.4</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>GT-P5100-ORANGE</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="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a>
<!-- Modal Structure -->
<div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" 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] => 4
[minor] => 0
[patch] => 4
[family] => Android
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 4
[minor] => 0
[patch] => 4
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => Samsung
[model] => GT-P5100-ORANGE
[family] => Samsung GT-P5100-ORANGE/P5100BVBLF5
)
[originalUserAgent] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
</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>UserAgentApiCom<br /><small></small><br /></td><td>Safari 534.30</td><td>WebKit 534.30</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>Mobile</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.15301</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a>
<!-- Modal Structure -->
<div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[platform_name] => Android
[platform_version] => 4.0.4
[platform_type] => Mobile
[browser_name] => Safari
[browser_version] => 534.30
[engine_name] => WebKit
[engine_version] => 534.30
)
</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><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.0.4</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"></td><td></td><td></td><td>0.13501</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a>
<!-- Modal Structure -->
<div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => Android Webkit Browser
[agent_version] => --
[os_type] => Android
[os_name] => Android
[os_versionName] =>
[os_versionNumber] => 4.0.4
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] => German - Germany
[agent_languageTag] => de-de
)
</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>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Android Browser 4.0</td><td>WebKit 534.30</td><td>Android 4.0.4</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.25001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a>
<!-- Modal Structure -->
<div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[operating_system_name] => Android
[simple_sub_description_string] =>
[simple_browser_string] => Android Browser 4 on Android (Ice Cream Sandwich)
[browser_version] => 4
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => stdClass Object
(
[System Build] => IMM76D
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => android-browser
[operating_system_version] => Ice Cream Sandwich
[simple_operating_platform_string] => Samsung GT-P5100
[is_abusive] =>
[layout_engine_version] => 534.30
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] => Samsung
[operating_system] => Android (Ice Cream Sandwich)
[operating_system_version_full] => 4.0.4
[operating_platform_code] => GT-P5100
[browser_name] => Android Browser
[operating_system_name_code] => android
[user_agent] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; GT-P5100-ORANGE/P5100BVBLF5 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
[browser_version_full] => 4.0
[browser] => Android Browser 4
)
</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>v2.0.18</small><br /></td><td>Android Browser </td><td>Webkit 534.30</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy Tab 2 10.1</td><td>tablet</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.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a>
<!-- Modal Structure -->
<div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Android Browser
)
[engine] => Array
(
[name] => Webkit
[version] => 534.30
)
[os] => Array
(
[name] => Android
[version] => 4.0.4
)
[device] => Array
(
[type] => tablet
[manufacturer] => Samsung
[model] => Galaxy Tab 2 10.1
)
)
</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><br /></td><td>Safari 4.0</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>smartphone</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</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a>
<!-- Modal Structure -->
<div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Safari
[vendor] => Apple
[version] => 4.0
[category] => smartphone
[os] => Android
[os_version] => 4.0.4
)
</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>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Android Webkit 4.0.4</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>GT-P5100</td><td>Tablet</td><td>yes</td><td>yes</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.02</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a>
<!-- Modal Structure -->
<div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => true
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => true
[is_mobile] => true
[is_robot] => false
[is_smartphone] => false
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => Android
[advertised_device_os_version] => 4.0.4
[advertised_browser] => Android Webkit
[advertised_browser_version] => 4.0.4
[complete_device_name] => Samsung GT-P5100 (Galaxy Tab 2 10.1)
[device_name] => Samsung Galaxy Tab 2 10.1
[form_factor] => Tablet
[is_phone] => false
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Samsung
[model_name] => GT-P5100
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] => http://wap.samsungmobile.com/uaprof/GT-P5100.xml
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[mobile_browser_version] =>
[device_os_version] => 4.0
[pointing_method] => touchscreen
[release_date] => 2012_april
[marketing_name] => Galaxy Tab 2 10.1
[model_extra_info] =>
[nokia_feature_pack] => 0
[can_assign_phone_number] => true
[is_tablet] => true
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[built_in_back_button_support] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[menu_with_select_element_recommended] => false
[menu_with_list_of_links_recommended] => true
[icons_on_menu_items_support] => false
[break_list_of_links_with_br_element_recommended] => true
[access_key_support] => false
[wrap_mode_support] => false
[times_square_mode_support] => false
[deck_prefetch_support] => false
[elective_forms_recommended] => true
[wizards_recommended] => false
[image_as_link_support] => false
[insert_br_element_after_widget_recommended] => false
[wml_can_display_images_and_text_on_same_line] => false
[wml_displays_image_in_center] => false
[opwv_wml_extensions_support] => false
[wml_make_phone_call_string] => wtai://wp/mc;
[chtml_display_accesskey] => false
[emoji] => false
[chtml_can_display_images_and_text_on_same_line] => false
[chtml_displays_image_in_center] => false
[imode_region] => none
[chtml_make_phone_call_string] => tel:
[chtml_table_support] => false
[xhtml_honors_bgcolor] => true
[xhtml_supports_forms_in_table] => true
[xhtml_support_wml2_namespace] => false
[xhtml_autoexpand_select] => false
[xhtml_select_as_dropdown] => false
[xhtml_select_as_radiobutton] => false
[xhtml_select_as_popup] => false
[xhtml_display_accesskey] => false
[xhtml_supports_invisible_text] => false
[xhtml_supports_inline_input] => false
[xhtml_supports_monospace_font] => false
[xhtml_supports_table_for_layout] => true
[xhtml_supports_css_cell_table_coloring] => true
[xhtml_format_as_css_property] => false
[xhtml_format_as_attribute] => false
[xhtml_nowrap_mode] => false
[xhtml_marquee_as_css_property] => false
[xhtml_readable_background_color1] => #FFFFFF
[xhtml_readable_background_color2] => #FFFFFF
[xhtml_allows_disabled_form_elements] => true
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => iso-8859-1
[opwv_xhtml_extensions_support] => false
[xhtml_make_phone_call_string] => tel:
[xhtmlmp_preferred_mime_type] => text/html
[xhtml_table_support] => true
[xhtml_send_sms_string] => sms:
[xhtml_send_mms_string] => mms:
[xhtml_file_upload] => supported
[cookie_support] => true
[accept_third_party_cookie] => true
[xhtml_supports_iframe] => full
[xhtml_avoid_accesskeys] => true
[xhtml_can_embed_video] => none
[ajax_support_javascript] => true
[ajax_manipulate_css] => true
[ajax_support_getelementbyid] => true
[ajax_support_inner_html] => true
[ajax_xhr_type] => standard
[ajax_manipulate_dom] => true
[ajax_support_events] => true
[ajax_support_event_listener] => true
[ajax_preferred_geoloc_api] => w3c_api
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => false
[wml_1_2] => false
[wml_1_3] => false
[html_wi_w3_xhtmlbasic] => true
[html_wi_oma_xhtmlmp_1_0] => true
[html_wi_imode_html_1] => false
[html_wi_imode_html_2] => false
[html_wi_imode_html_3] => false
[html_wi_imode_html_4] => false
[html_wi_imode_html_5] => false
[html_wi_imode_htmlx_1] => false
[html_wi_imode_htmlx_1_1] => false
[html_wi_imode_compact_generic] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[total_cache_disable_support] => false
[time_to_live_support] => false
[resolution_width] => 1280
[resolution_height] => 800
[columns] => 25
[max_image_width] => 800
[max_image_height] => 1280
[rows] => 21
[physical_screen_width] => 218
[physical_screen_height] => 136
[dual_orientation] => true
[density_class] => 1.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => false
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => true
[transparent_png_index] => true
[svgt_1_1] => true
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => true
[webp_lossless_support] => false
[post_method_support] => true
[basic_authentication_support] => true
[empty_option_value_support] => 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] => 3600
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 2000000
[max_url_length_in_requests] => 256
[max_url_length_homepage] => 0
[max_url_length_bookmark] => 0
[max_url_length_cached_page] => 0
[max_no_of_connection_settings] => 0
[max_no_of_bookmarks] => 0
[max_length_of_username] => 0
[max_length_of_password] => 0
[max_object_size] => 0
[downloadfun_support] => false
[directdownload_support] => true
[inline_support] => false
[oma_support] => true
[ringtone] => false
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => false
[ringtone_midi_polyphonic] => false
[ringtone_imelody] => false
[ringtone_digiplug] => false
[ringtone_compactmidi] => 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
[ringtone_df_size_limit] => 0
[ringtone_directdownload_size_limit] => 0
[ringtone_inline_size_limit] => 0
[ringtone_oma_size_limit] => 0
[wallpaper] => false
[wallpaper_max_width] => 0
[wallpaper_max_height] => 0
[wallpaper_preferred_width] => 0
[wallpaper_preferred_height] => 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
[wallpaper_df_size_limit] => 0
[wallpaper_directdownload_size_limit] => 0
[wallpaper_inline_size_limit] => 0
[wallpaper_oma_size_limit] => 0
[screensaver] => false
[screensaver_max_width] => 0
[screensaver_max_height] => 0
[screensaver_preferred_width] => 0
[screensaver_preferred_height] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[screensaver_greyscale] => false
[screensaver_colors] => 2
[screensaver_df_size_limit] => 0
[screensaver_directdownload_size_limit] => 0
[screensaver_inline_size_limit] => 0
[screensaver_oma_size_limit] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[picture_preferred_width] => 0
[picture_preferred_height] => 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
[picture_df_size_limit] => 0
[picture_directdownload_size_limit] => 0
[picture_inline_size_limit] => 0
[picture_oma_size_limit] => 0
[video] => false
[oma_v_1_0_forwardlock] => false
[oma_v_1_0_combined_delivery] => false
[oma_v_1_0_separate_delivery] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[streaming_video_size_limit] => 0
[streaming_real_media] => none
[streaming_flv] => false
[streaming_3g2] => false
[streaming_vcodec_h263_0] => 30
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 0
[streaming_vcodec_mpeg4_asp] => -1
[streaming_vcodec_h264_bp] => 1
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => rtsp
[streaming_preferred_http_protocol] => apple_live_streaming
[wap_push_support] => true
[connectionless_service_indication] => false
[connectionless_service_load] => false
[connectionless_cache_operation] => false
[connectionoriented_unconfirmed_service_indication] => false
[connectionoriented_unconfirmed_service_load] => false
[connectionoriented_unconfirmed_cache_operation] => false
[connectionoriented_confirmed_service_indication] => false
[connectionoriented_confirmed_service_load] => false
[connectionoriented_confirmed_cache_operation] => false
[utf8_support] => true
[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
[j2me_siemens_color_game] => false
[j2me_siemens_extension] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[j2me_max_record_store_size] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[j2me_audio_capture_enabled] => false
[j2me_video_capture_enabled] => false
[j2me_photo_capture_enabled] => false
[j2me_capture_image_formats] => 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
[j2me_left_softkey_code] => 0
[j2me_right_softkey_code] => 0
[j2me_middle_softkey_code] => 0
[j2me_select_key_code] => 0
[j2me_return_key_code] => 0
[j2me_clear_key_code] => 0
[j2me_datefield_no_accepts_null_date] => false
[j2me_datefield_broken] => false
[receiver] => true
[sender] => true
[mms_max_size] => 307200
[mms_max_height] => 480
[mms_max_width] => 640
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => true
[mms_jpeg_progressive] => false
[mms_gif_static] => true
[mms_gif_animated] => true
[mms_png] => true
[mms_bmp] => false
[mms_wbmp] => true
[mms_amr] => true
[mms_wav] => false
[mms_midi_monophonic] => true
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => true
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[mms_nokia_operatorlogo] => false
[mms_nokia_3dscreensaver] => false
[mms_nokia_ringingtone] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => true
[mms_vcalendar] => true
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => true
[mms_mp4] => true
[mms_3gpp] => true
[mms_3gpp2] => true
[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
[ems_variablesizedpictures] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[siemens_screensaver_width] => 101
[siemens_screensaver_height] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => true
[midi_polyphonic] => true
[sp_midi] => true
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => true
[au] => false
[amr] => true
[awb] => false
[aac] => true
[mp3] => true
[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] => true
[css_supports_width_as_percentage] => true
[css_border_image] => webkit
[css_rounded_corners] => webkit
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[transcoder_ua_header] => user-agent
[rss_support] => false
[pdf_support] => true
[progressive_download] => true
[playback_vcodec_h263_0] => 10
[playback_vcodec_h263_3] => -1
[playback_vcodec_mpeg4_sp] => 0
[playback_vcodec_mpeg4_asp] => -1
[playback_vcodec_h264_bp] => 3.0
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => none
[playback_df_size_limit] => 0
[playback_directdownload_size_limit] => 0
[playback_inline_size_limit] => 0
[playback_oma_size_limit] => 0
[playback_acodec_qcelp] => false
[playback_wmv] => none
[hinted_progressive_download] => true
[html_preferred_dtd] => html4
[viewport_supported] => true
[viewport_width] => device_width_token
[viewport_userscalable] => no
[viewport_initial_scale] =>
[viewport_maximum_scale] =>
[viewport_minimum_scale] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => full
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => A
[is_sencha_touch_ok] => false
)
)
</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>Zsxsoft<br /><small>1.3</small><br /></td><td>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>P5100-ORANGE</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.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a>
<!-- Modal Structure -->
<div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Zsxsoft result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[link] => http://developer.android.com/reference/android/webkit/package-summary.html
[title] => Android Webkit 4.0
[name] => Android Webkit
[version] => 4.0
[code] => android-webkit
[image] => img/16/browser/android-webkit.png
)
[os] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 4.0.4
[code] => android
[x64] =>
[title] => Android 4.0.4
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
[device] => Array
(
[link] => http://www.samsungmobile.com/
[title] => Samsung P5100-ORANGE
[model] => P5100-ORANGE
[brand] => Samsung
[code] => samsung
[dir] => device
[type] => device
[image] => img/16/device/samsung.png
)
[platform] => Array
(
[link] => http://www.samsungmobile.com/
[title] => Samsung P5100-ORANGE
[model] => P5100-ORANGE
[brand] => Samsung
[code] => samsung
[dir] => device
[type] => device
[image] => img/16/device/samsung.png
)
)
</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/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</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-05-10 08:03:26</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.2.0/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> | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/99/f0/99f0de3b-fbc2-410e-9b2f-978da978e261.html | HTML | mit | 56,969 |
using System.Threading.Tasks;
using VkNet.Enums.SafetyEnums;
using VkNet.Model;
using VkNet.Model.RequestParams;
using VkNet.Utils;
namespace VkNet.Categories
{
/// <inheritdoc />
public partial class LikesCategory
{
/// <inheritdoc />
public Task<VkCollection<long>> GetListAsync(LikesGetListParams @params, bool skipAuthorization = false)
{
return TypeHelper.TryInvokeMethodAsync(func: () =>
GetList(@params: @params, skipAuthorization: skipAuthorization));
}
/// <inheritdoc />
public Task<UserOrGroup> GetListExAsync(LikesGetListParams @params)
{
return TypeHelper.TryInvokeMethodAsync(func: () =>GetListEx(@params: @params));
}
/// <inheritdoc />
public Task<long> AddAsync(LikesAddParams @params)
{
return TypeHelper.TryInvokeMethodAsync(func: () =>Add(@params: @params));
}
/// <inheritdoc />
public Task<long> DeleteAsync(LikeObjectType type
, long itemId
, long? ownerId = null
, long? captchaSid = null
, string captchaKey = null)
{
return TypeHelper.TryInvokeMethodAsync(func: () =>
Delete(type: type, itemId: itemId, ownerId: ownerId, captchaSid: captchaSid, captchaKey: captchaKey));
}
/// <inheritdoc />
public Task<bool> IsLikedAsync(LikeObjectType type, long itemId, long? userId = null, long? ownerId = null)
{
return TypeHelper.TryInvokeMethodAsync(func: () =>
IsLiked(copied: out var copied, type: type, itemId: itemId, userId: userId, ownerId: ownerId));
}
}
} | Soniclev/vk | VkNet/Categories/Async/LikesCategoryAsync.cs | C# | mit | 1,503 |
<!-- multiselect -->
<link rel="stylesheet" href="<?php echo RES; ?>lib/multi-select/css/multi-select.css" />
<!-- enhanced select -->
<link rel="stylesheet" href="<?php echo RES; ?>lib/chosen/chosen.css" />
<?php $this->load->view('shared/upload-file-css'); ?>
<?php $this->load->view('shared/alert'); ?>
<div class="row">
<div class="col-sm-12 col-md-12">
<h3 class="heading">新建商品</h3>
<form class="form-horizontal" id="fileupload">
<fieldset>
<div class="form-group">
<label for="g_name" class="control-label col-sm-2">商品名称</label>
<div class="col-sm-4">
<input name="g_name" id="g_name" class="input-xlarge form-control" value="" type="text">
</div>
<div class="col-sm-4">
<label class="radio-inline">
<input value="1" name="g_type" checked="checked" type="radio">
单品
</label>
<label class="radio-inline">
<input value="2" name="g_type" type="radio">
组合商品
</label>
</div>
</div>
<div class="form-group goods-single-own">
<label for="g_classify" class="control-label col-sm-2">商品分类</label>
<div class="col-sm-2">
<select name="g_classify" id="g_classify" data-placeholder="选择商品分类..." class="chzn_a form-control">
<?php foreach($classify as $c):?>
<option value="<?php echo $c['id']?>"><?php echo $c['name']?></option>
<?php endforeach;?>
</select>
</div>
<label for="g_brand" class="control-label col-sm-1">商品品牌</label>
<div class="col-sm-2">
<select name="g_brand" id="g_brand" data-placeholder="选择商品品牌..." class="chzn_a form-control">
<?php foreach($brand as $b):?>
<option value="<?php echo $b['id']?>"><?php echo $b['name']?></option>
<?php endforeach;?>
</select>
</div>
<label for="g_supplier" class="control-label col-sm-1">供应商</label>
<div class="col-sm-2">
<select name="g_supplier" id="g_supplier" data-placeholder="选择供应商..." class="chzn_a form-control">
<?php foreach($suppley as $s):?>
<option value="<?php echo $s['id']?>"><?php echo $s['name']?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="form-group goods-multiple-own" style="display: none;">
<label for="g_ids" class="control-label col-sm-2">商 品 ID </label>
<div class="col-sm-6">
<textarea name="g_ids" id="g_ids" cols="10" rows="2" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
<label for="g_price" class="control-label col-sm-2">销售价格</label>
<div class="f_success col-sm-3 col-md-3">
<div class="input-group">
<input name="g_price" id="g_price" size="16" class="form-control" type="text">
<span class="input-group-addon">¥</span>
</div>
</div>
<label for="g_cost" class="control-label col-sm-1">采购价格</label>
<div class="f_success col-sm-3 col-md-3">
<div class="input-group">
<input name="g_cost" id="g_cost" size="16" class="form-control" type="text">
<span class="input-group-addon">¥</span>
</div>
</div>
</div>
<div class="form-group">
<div class="goods-single-own">
<label for="g_inventory" class="control-label col-sm-2">商品库存</label>
<div class="col-sm-3">
<input name="g_inventory" id="g_inventory" class="input-xlarge form-control" value="" type="text">
</div>
</div>
<label for="g_unit" class="g-unit control-label col-sm-1">商品单位</label>
<div class="col-sm-3">
<input name="g_unit" id="g_unit" class="input-xlarge form-control" value="" type="text">
</div>
</div>
<div class="form-group">
<label for="g_deliver" class="control-label col-sm-2">默认快递</label>
<div class="col-sm-2">
<select name="g_deliver" id="g_deliver" data-placeholder="选择商品快递..." class="chzn_a form-control">
<?php foreach($deliver as $d):?>
<option value="<?php echo $d['id']?>"><?php echo $d['name']?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="form-group">
<label for="g_description" class="control-label col-sm-2">产品描述</label>
<div class="col-sm-6">
<textarea name="g_description" id="g_description" cols="10" rows="3" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
<label for="fileinput" class="control-label col-sm-2">宣传图片</label>
<!-- The table listing the files available for upload/download -->
<span role="presentation" class="table table-striped">
<ul class="files">
</ul>
</span>
<span class="btn btn-success fileinput-button" id="fileupload-bnt" title="添加图片">
<i class="glyphicon glyphicon-plus"></i>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload-img" type="file" name="files" multiple="" data-url="/upload_file/img_upload?" onclick="return checkUpload(5);">
</span>
</div>
<div class="form-group">
<label for="g_rk" class="control-label col-sm-2">产品备注</label>
<div class="col-sm-6">
<textarea name="g_rk" id="g_rk" cols="10" rows="3" class="form-control"></textarea>
</div>
</div>
<br/>
<div class="form-group" style="text-align: center;">
<div class="col-sm-8" style="margin-left: 30%;">
<div class="btn btn-success col-sm-4" id="add-goods-ok">完成</div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<!-- multiselect -->
<script src="<?php echo RES; ?>lib/multi-select/js/jquery.multi-select.js"></script>
<script src="<?php echo RES; ?>lib/multi-select/js/jquery.quicksearch.js"></script>
<!-- enhanced select (chosen) -->
<script src="<?php echo RES; ?>lib/chosen/chosen.jquery.min.js"></script>
<!-- autosize textareas -->
<script src="<?php echo RES; ?>js/forms/jquery.autosize.min.js"></script>
<!-- user profile functions -->
<script src="<?php echo RES; ?>js/pages/gebo_user_profile.js"></script>
<?php $this->load->view('shared/upload-file'); ?>
<script src="<?php echo RES; ?>goods_manage/add_goods.js"></script>
<script>
var upload_path = "<?php echo UPLOAD; ?>";
$('#fileupload-img').fileupload({
formData: {script: true}
, add: function (e, data) {
data.submit();
}
, done: function (e, data) {
if(data.result.errCode==0){
var file_name = data.result.val.name;
var file_id = data.result.val.id;
var file_path = upload_path + data.result.val.path;
var html = '<li class="template-download fade none-list-style in">';
html += '<p class="preview">';
html += '<a href="'+file_path+ file_name+'" target="_blank" class="img-uploaded" title="'+file_name+'" >';
html += '<img src="'+file_path+'thumb_'+file_name+'">';
html += '</a></p>';
html += '<span class="delete text-center btn-danger img-uploaded" id="'+file_id+'">删除</span>';
html += '</li>';
$("ul.files").append(html);
}else{
alertError("#alert-error",'文件上传失败');
}
}
});
</script>
| neusdq/www | application/views/goods_manage/add_goods.php | PHP | mit | 9,415 |
export { default } from 'ember-transformer/transforms/array'; | ChrisHonniball/ember-transformer | app/transforms/array.js | JavaScript | mit | 61 |
---
layout: single
title: "增长的内存泄露"
date: 2021-02-03 21:30:00 +0800
categories: [Leetcode]
tags: [Simulation]
permalink: /problems/incremental-memory-leak/
---
## 1860. 增长的内存泄露 (Medium)
{% raw %}
<p>给你两个整数 <code>memory1</code> 和 <code>memory2</code> 分别表示两个内存条剩余可用内存的位数。现在有一个程序每秒递增的速度消耗着内存。</p>
<p>在第 <code>i</code> 秒(秒数从 1 开始),有 <code>i</code> 位内存被分配到 <strong>剩余内存较多</strong> 的内存条(如果两者一样多,则分配到第一个内存条)。如果两者剩余内存都不足 <code>i</code> 位,那么程序将 <b>意外退出</b> 。</p>
<p>请你返回一个数组,包含<em> </em><code>[crashTime, memory1<sub>crash</sub>, memory2<sub>crash</sub>]</code> ,其中 <code>crashTime</code>是程序意外退出的时间(单位为秒),<em> </em><code>memory1<sub>crash</sub></code><em> </em>和<em> </em><code>memory2<sub>crash</sub></code><em> </em>分别是两个内存条最后剩余内存的位数。</p>
<p> </p>
<p><strong>示例 1:</strong></p>
<pre><b>输入:</b>memory1 = 2, memory2 = 2
<b>输出:</b>[3,1,0]
<b>解释:</b>内存分配如下:
- 第 1 秒,内存条 1 被占用 1 位内存。内存条 1 现在有 1 位剩余可用内存。
- 第 2 秒,内存条 2 被占用 2 位内存。内存条 2 现在有 0 位剩余可用内存。
- 第 3 秒,程序意外退出,两个内存条分别有 1 位和 0 位剩余可用内存。
</pre>
<p><strong>示例 2:</strong></p>
<pre><b>输入:</b>memory1 = 8, memory2 = 11
<b>输出:</b>[6,0,4]
<b>解释:</b>内存分配如下:
- 第 1 秒,内存条 2 被占用 1 位内存,内存条 2 现在有 10 位剩余可用内存。
- 第 2 秒,内存条 2 被占用 2 位内存,内存条 2 现在有 8 位剩余可用内存。
- 第 3 秒,内存条 1 被占用 3 位内存,内存条 1 现在有 5 位剩余可用内存。
- 第 4 秒,内存条 2 被占用 4 位内存,内存条 2 现在有 4 位剩余可用内存。
- 第 5 秒,内存条 1 被占用 5 位内存,内存条 1 现在有 0 位剩余可用内存。
- 第 6 秒,程序意外退出,两个内存条分别有 0 位和 4 位剩余可用内存。
</pre>
<p> </p>
<p><strong>提示:</strong></p>
<ul>
<li><code>0 <= memory1, memory2 <= 2<sup>31</sup> - 1</code></li>
</ul>
{% endraw %}
### 相关话题
[[模拟](https://github.com/awesee/leetcode/tree/main/tag/simulation/README.md)]
---
## [解法](https://github.com/awesee/leetcode/tree/main/problems/incremental-memory-leak)
| openset/openset.github.io | leetcode/2021-02-03-incremental-memory-leak.md | Markdown | mit | 2,688 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: 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.11.1 / paramcoq - 1.0.9</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
paramcoq
<small>
1.0.9
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2021-04-12 22:56:58 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-04-12 22:56:58 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.11.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.1 Official release 4.10.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "abhishek.anand.iitg@gmail.com"
homepage: "https://github.com/aa755/paramcoq"
dev-repo: "git+https://github.com/aa755/paramcoq"
authors: ["Chantal Keller" "Marc Lasson"]
bug-reports: "https://github.com/aa755/paramcoq/issues"
license: "MIT"
build: [
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Param"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
synopsis: "Keller, Chantal, and Marc Lasson. “Parametricity in an Impredicative Sort.” Computer Science Logic, September 27, 2012. https://doi.org/10.4230/LIPIcs.CSL.2012.399"
description: "Originally implemented by the above authors."
flags: light-uninstall
url {
src: "https://github.com/aa755/paramcoq/archive/v1.0.9.tar.gz"
checksum: "md5=7c46df48ebf0bda825ebf369dc960445"
}
</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-paramcoq.1.0.9 coq.8.11.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.11.1).
The following dependencies couldn't be met:
- coq-paramcoq -> coq < 8.9~ -> ocaml < 4.10
base of this switch (use `--unlock-base' to force)
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-paramcoq.1.0.9</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">
<small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small>
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.1-2.0.6/released/8.11.1/paramcoq/1.0.9.html | HTML | mit | 6,583 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using NRules.Utilities;
namespace NRules.Diagnostics
{
/// <summary>
/// Information related to expression evaluation events.
/// </summary>
public class ExpressionEventArgs : EventArgs
{
private readonly object[] _arguments;
private readonly IArguments _lazyArguments;
/// <summary>
/// Initializes a new instance of the <c>ExpressionEventArgs</c> class.
/// </summary>
/// <param name="expression">Expression that caused the event.</param>
/// <param name="exception">Exception thrown during expression evaluation.</param>
/// <param name="arguments">Arguments passed to expression during evaluation.</param>
/// <param name="result">Result of expression evaluation.</param>
public ExpressionEventArgs(Expression expression, Exception exception, object[] arguments, object result)
{
_arguments = arguments;
Expression = expression;
Exception = exception;
Result = result;
}
internal ExpressionEventArgs(Expression expression, Exception exception, IArguments arguments, object result)
{
_lazyArguments = arguments;
Expression = expression;
Exception = exception;
Result = result;
}
/// <summary>
/// Expression that caused the event;
/// </summary>
public Expression Expression { get; }
/// <summary>
/// Exception thrown during expression evaluation.
/// </summary>
public Exception Exception { get; }
/// <summary>
/// Arguments passed to the expression during evaluation.
/// </summary>
public virtual IEnumerable<object> Arguments => _lazyArguments?.GetValues() ?? _arguments;
/// <summary>
/// Result of expression evaluation.
/// </summary>
public object Result { get; }
}
}
| NRules/NRules | src/NRules/NRules/Diagnostics/ExpressionEventArgs.cs | C# | mit | 2,047 |
// Copyright (c) 2014-2016 The Dash Developers
// Copyright (c) 2016-2019 The NPCcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternodelist.h"
#include "ui_masternodelist.h"
#include "activemasternode.h"
#include "clientmodel.h"
#include "guiutil.h"
#include "init.h"
#include "masternode-sync.h"
#include "masternodeconfig.h"
#include "masternodeman.h"
#include "sync.h"
#include "wallet/wallet.h"
#include "walletmodel.h"
#include "askpassphrasedialog.h"
#include <QMessageBox>
#include <QTimer>
CCriticalSection cs_masternodes;
MasternodeList::MasternodeList(QWidget* parent) : QWidget(parent),
ui(new Ui::MasternodeList),
clientModel(0),
walletModel(0)
{
ui->setupUi(this);
ui->startButton->setEnabled(false);
int columnAliasWidth = 100;
int columnAddressWidth = 200;
int columnProtocolWidth = 60;
int columnStatusWidth = 80;
int columnActiveWidth = 130;
int columnLastSeenWidth = 130;
ui->tableWidgetMyMasternodes->setAlternatingRowColors(true);
ui->tableWidgetMyMasternodes->setColumnWidth(0, columnAliasWidth);
ui->tableWidgetMyMasternodes->setColumnWidth(1, columnAddressWidth);
ui->tableWidgetMyMasternodes->setColumnWidth(2, columnProtocolWidth);
ui->tableWidgetMyMasternodes->setColumnWidth(3, columnStatusWidth);
ui->tableWidgetMyMasternodes->setColumnWidth(4, columnActiveWidth);
ui->tableWidgetMyMasternodes->setColumnWidth(5, columnLastSeenWidth);
ui->tableWidgetMyMasternodes->setContextMenuPolicy(Qt::CustomContextMenu);
QAction* startAliasAction = new QAction(tr("Start alias"), this);
contextMenu = new QMenu();
contextMenu->addAction(startAliasAction);
connect(ui->tableWidgetMyMasternodes, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(showContextMenu(const QPoint&)));
connect(startAliasAction, SIGNAL(triggered()), this, SLOT(on_startButton_clicked()));
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(updateMyNodeList()));
timer->start(1000);
// Fill MN list
fFilterUpdated = true;
nTimeFilterUpdated = GetTime();
}
MasternodeList::~MasternodeList()
{
delete ui;
}
void MasternodeList::setClientModel(ClientModel* model)
{
this->clientModel = model;
}
void MasternodeList::setWalletModel(WalletModel* model)
{
this->walletModel = model;
}
void MasternodeList::showContextMenu(const QPoint& point)
{
QTableWidgetItem* item = ui->tableWidgetMyMasternodes->itemAt(point);
if (item) contextMenu->exec(QCursor::pos());
}
void MasternodeList::StartAlias(std::string strAlias)
{
std::string strStatusHtml;
strStatusHtml += "<center>Alias: " + strAlias;
for (CMasternodeConfig::CMasternodeEntry mne : masternodeConfig.getEntries()) {
if (mne.getAlias() == strAlias) {
std::string strError;
CMasternodeBroadcast mnb;
bool fSuccess = CMasternodeBroadcast::Create(mne.getIp(), mne.getPrivKey(), mne.getTxHash(), mne.getOutputIndex(), strError, mnb);
if (fSuccess) {
strStatusHtml += "<br>Successfully started masternode.";
mnodeman.UpdateMasternodeList(mnb);
mnb.Relay();
} else {
strStatusHtml += "<br>Failed to start masternode.<br>Error: " + strError;
}
break;
}
}
strStatusHtml += "</center>";
QMessageBox msg;
msg.setText(QString::fromStdString(strStatusHtml));
msg.exec();
updateMyNodeList(true);
}
void MasternodeList::StartAll(std::string strCommand)
{
int nCountSuccessful = 0;
int nCountFailed = 0;
std::string strFailedHtml;
for (CMasternodeConfig::CMasternodeEntry mne : masternodeConfig.getEntries()) {
std::string strError;
CMasternodeBroadcast mnb;
int nIndex;
if(!mne.castOutputIndex(nIndex))
continue;
CTxIn txin = CTxIn(uint256S(mne.getTxHash()), uint32_t(nIndex));
CMasternode* pmn = mnodeman.Find(txin);
if (strCommand == "start-missing" && pmn) continue;
bool fSuccess = CMasternodeBroadcast::Create(mne.getIp(), mne.getPrivKey(), mne.getTxHash(), mne.getOutputIndex(), strError, mnb);
if (fSuccess) {
nCountSuccessful++;
mnodeman.UpdateMasternodeList(mnb);
mnb.Relay();
} else {
nCountFailed++;
strFailedHtml += "\nFailed to start " + mne.getAlias() + ". Error: " + strError;
}
}
pwalletMain->Lock();
std::string returnObj;
returnObj = strprintf("Successfully started %d masternodes, failed to start %d, total %d", nCountSuccessful, nCountFailed, nCountFailed + nCountSuccessful);
if (nCountFailed > 0) {
returnObj += strFailedHtml;
}
QMessageBox msg;
msg.setText(QString::fromStdString(returnObj));
msg.exec();
updateMyNodeList(true);
}
void MasternodeList::updateMyMasternodeInfo(QString strAlias, QString strAddr, CMasternode* pmn)
{
LOCK(cs_mnlistupdate);
bool fOldRowFound = false;
int nNewRow = 0;
for (int i = 0; i < ui->tableWidgetMyMasternodes->rowCount(); i++) {
if (ui->tableWidgetMyMasternodes->item(i, 0)->text() == strAlias) {
fOldRowFound = true;
nNewRow = i;
break;
}
}
if (nNewRow == 0 && !fOldRowFound) {
nNewRow = ui->tableWidgetMyMasternodes->rowCount();
ui->tableWidgetMyMasternodes->insertRow(nNewRow);
}
QTableWidgetItem* aliasItem = new QTableWidgetItem(strAlias);
QTableWidgetItem* addrItem = new QTableWidgetItem(pmn ? QString::fromStdString(pmn->addr.ToString()) : strAddr);
QTableWidgetItem* protocolItem = new QTableWidgetItem(QString::number(pmn ? pmn->protocolVersion : -1));
QTableWidgetItem* statusItem = new QTableWidgetItem(QString::fromStdString(pmn ? pmn->GetStatus() : "MISSING"));
GUIUtil::DHMSTableWidgetItem* activeSecondsItem = new GUIUtil::DHMSTableWidgetItem(pmn ? (pmn->lastPing.sigTime - pmn->sigTime) : 0);
QTableWidgetItem* lastSeenItem = new QTableWidgetItem(QString::fromStdString(DateTimeStrFormat("%Y-%m-%d %H:%M", pmn ? pmn->lastPing.sigTime : 0)));
QTableWidgetItem* pubkeyItem = new QTableWidgetItem(QString::fromStdString(pmn ? CBitcoinAddress(pmn->pubKeyCollateralAddress.GetID()).ToString() : ""));
ui->tableWidgetMyMasternodes->setItem(nNewRow, 0, aliasItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 1, addrItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 2, protocolItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 3, statusItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 4, activeSecondsItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 5, lastSeenItem);
ui->tableWidgetMyMasternodes->setItem(nNewRow, 6, pubkeyItem);
}
void MasternodeList::updateMyNodeList(bool fForce)
{
static int64_t nTimeMyListUpdated = 0;
// automatically update my masternode list only once in MY_MASTERNODELIST_UPDATE_SECONDS seconds,
// this update still can be triggered manually at any time via button click
int64_t nSecondsTillUpdate = nTimeMyListUpdated + MY_MASTERNODELIST_UPDATE_SECONDS - GetTime();
ui->secondsLabel->setText(QString::number(nSecondsTillUpdate));
if (nSecondsTillUpdate > 0 && !fForce) return;
nTimeMyListUpdated = GetTime();
ui->tableWidgetMyMasternodes->setSortingEnabled(false);
for (CMasternodeConfig::CMasternodeEntry mne : masternodeConfig.getEntries()) {
int nIndex;
if(!mne.castOutputIndex(nIndex))
continue;
CTxIn txin = CTxIn(uint256S(mne.getTxHash()), uint32_t(nIndex));
CMasternode* pmn = mnodeman.Find(txin);
updateMyMasternodeInfo(QString::fromStdString(mne.getAlias()), QString::fromStdString(mne.getIp()), pmn);
}
ui->tableWidgetMyMasternodes->setSortingEnabled(true);
// reset "timer"
ui->secondsLabel->setText("0");
}
void MasternodeList::on_startButton_clicked()
{
// Find selected node alias
QItemSelectionModel* selectionModel = ui->tableWidgetMyMasternodes->selectionModel();
QModelIndexList selected = selectionModel->selectedRows();
if (selected.count() == 0) return;
QModelIndex index = selected.at(0);
int nSelectedRow = index.row();
std::string strAlias = ui->tableWidgetMyMasternodes->item(nSelectedRow, 0)->text().toStdString();
// Display message box
QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Confirm masternode start"),
tr("Are you sure you want to start masternode %1?").arg(QString::fromStdString(strAlias)),
QMessageBox::Yes | QMessageBox::Cancel,
QMessageBox::Cancel);
if (retval != QMessageBox::Yes) return;
WalletModel::EncryptionStatus encStatus = walletModel->getEncryptionStatus();
if (encStatus == walletModel->Locked || encStatus == walletModel->UnlockedForAnonymizationOnly) {
WalletModel::UnlockContext ctx(walletModel->requestUnlock(AskPassphraseDialog::Context::Unlock_Full));
if (!ctx.isValid()) return; // Unlock wallet was cancelled
StartAlias(strAlias);
return;
}
StartAlias(strAlias);
}
void MasternodeList::on_startAllButton_clicked()
{
// Display message box
QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Confirm all masternodes start"),
tr("Are you sure you want to start ALL masternodes?"),
QMessageBox::Yes | QMessageBox::Cancel,
QMessageBox::Cancel);
if (retval != QMessageBox::Yes) return;
WalletModel::EncryptionStatus encStatus = walletModel->getEncryptionStatus();
if (encStatus == walletModel->Locked || encStatus == walletModel->UnlockedForAnonymizationOnly) {
WalletModel::UnlockContext ctx(walletModel->requestUnlock(AskPassphraseDialog::Context::Unlock_Full));
if (!ctx.isValid()) return; // Unlock wallet was cancelled
StartAll();
return;
}
StartAll();
}
void MasternodeList::on_startMissingButton_clicked()
{
if (!masternodeSync.IsMasternodeListSynced()) {
QMessageBox::critical(this, tr("Command is not available right now"),
tr("You can't use this command until masternode list is synced"));
return;
}
// Display message box
QMessageBox::StandardButton retval = QMessageBox::question(this,
tr("Confirm missing masternodes start"),
tr("Are you sure you want to start MISSING masternodes?"),
QMessageBox::Yes | QMessageBox::Cancel,
QMessageBox::Cancel);
if (retval != QMessageBox::Yes) return;
WalletModel::EncryptionStatus encStatus = walletModel->getEncryptionStatus();
if (encStatus == walletModel->Locked || encStatus == walletModel->UnlockedForAnonymizationOnly) {
WalletModel::UnlockContext ctx(walletModel->requestUnlock(AskPassphraseDialog::Context::Unlock_Full));
if (!ctx.isValid()) return; // Unlock wallet was cancelled
StartAll("start-missing");
return;
}
StartAll("start-missing");
}
void MasternodeList::on_tableWidgetMyMasternodes_itemSelectionChanged()
{
if (ui->tableWidgetMyMasternodes->selectedItems().count() > 0) {
ui->startButton->setEnabled(true);
}
}
void MasternodeList::on_UpdateButton_clicked()
{
updateMyNodeList(true);
}
| npccoin/npccoin | src/qt/masternodelist.cpp | C++ | mit | 11,623 |
#we need the actual library file
require_relative '../lib/truevault'
#dependencies
require 'minitest/autorun'
require 'webmock/minitest'
require 'dotenv'
require 'vcr'
require 'turn'
Dotenv.load
Turn.config do |c|
c.format = :pretty
c.natural = true
end
REDACTED_STRING = "REDACTED_ID"
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/truevault_cassettes'
c.hook_into :webmock
c.default_cassette_options = { :match_requests_on => [:method], :record => :new_episodes }
c.before_record do |interaction|
interaction.request.body.gsub!(/(\S{8}-\S{4}-\S{4}-\S{4}-\S{12})/, REDACTED_STRING)
interaction.request.uri.gsub!(/(\S{8}-\S{4}-\S{4}-\S{4}-\S{12})/, REDACTED_STRING)
interaction.response.body.gsub!(/(\S{8}-\S{4}-\S{4}-\S{4}-\S{12})/, REDACTED_STRING)
end
end
def random_string(length = 10)
(0...length).map { (65 + rand(26)).chr }.join
end
| marks/truevault.rb | spec/spec_helper.rb | Ruby | mit | 876 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using System.Threading;
namespace CodeMQ
{
/// <summary>
/// Used for storing each queue state in a central location.
/// </summary>
/// <typeparam name="T"></typeparam>
class QueueState<T>
{
internal bool Loaded;
internal ConcurrentQueue<T> Queue;
internal Semaphore putSemaphore;
internal Semaphore getSemaphore;
}
}
| caioycosta/varreunb | codemq/CodeMQ/QueueState.cs | C# | mit | 506 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: 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.14.0 / metacoq - 1.0~alpha2+8.10</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
metacoq
<small>
1.0~alpha2+8.10
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-01 12:01:13 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-01 12:01:13 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.14.0 Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1 OCaml 4.08.1 Secondary Switch Compiler
ocamlfind 1.9.1 A library manager for OCaml
ocamlfind-secondary 1.9.1 Adds support for ocaml-secondary-compiler to ocamlfind
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.10"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Simon Boulier <simon.boulier@inria.fr>"
"Cyril Cohen <cyril.cohen@inria.fr>"
"Yannick Forster <forster@ps.uni-saarland.de>"
"Fabian Kunze <fkunze@fakusb.de>"
"Gregory Malecha <gmalecha@gmail.com>"
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
"Théo Winterhalter <theo.winterhalter@inria.fr>"
]
license: "MIT"
depends: [
"ocaml" {> "4.02.3"}
"coq" {>= "8.10" & < "8.11~"}
"coq-metacoq-template" {= version}
"coq-metacoq-checker" {= version}
"coq-metacoq-pcuic" {= version}
"coq-metacoq-safechecker" {= version}
"coq-metacoq-erasure" {= version}
"coq-metacoq-translations" {= version}
]
synopsis: "A meta-programming framework for Coq"
description: """
MetaCoq is a meta-programming framework for Coq.
The meta-package includes the template-coq library, unverified checker for Coq,
PCUIC development including a verified translation from Coq to PCUIC,
safe checker and erasure for PCUIC and example translations.
See individual packages for more detailed descriptions.
"""
url {
src: "https://github.com/MetaCoq/metacoq/archive/v1.0-alpha2-8.10.tar.gz"
checksum: "sha256=94156cb9397b44915c9217a435a812cabc9651684cd229d5069b34332d0792a2"
}
</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-metacoq.1.0~alpha2+8.10 coq.8.14.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.14.0).
The following dependencies couldn't be met:
- coq-metacoq -> coq-metacoq-translations = 1.0~alpha2+8.10 -> coq < 8.11~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-metacoq.1.0~alpha2+8.10</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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.14.0/metacoq/1.0~alpha2+8.10.html | HTML | mit | 8,083 |
WalletFrame {
border-image: url(':/images/arcgreen/arcgreen_walletFrame_bg') 0 0 0 0 stretch stretch;
border-top:0px solid #000;
margin:0;
padding:0;
}
QStatusBar {
background-color:#ffffff;
}
.QFrame {
background-color:transparent;
border:0px solid #fff;
}
QMenuBar {
background-color:#fff;
}
QMenuBar::item {
background-color:#fff;
}
QMenuBar::item:selected {
background-color:#f8f6f6;
}
QMenu {
background-color:#f8f6f6;
}
QMenu::item {
color:#333;
}
QMenu::item:selected {
background-color:#f2f0f0;
color:#333;
}
QToolBar {
background-color:#00B39E;
border:0px solid #000;
padding:0;
margin:0;
}
QToolBar > QToolButton {
background-color:#00B39E;
border:0px solid #333;
min-height:2.5em;
padding: 0em 1em;
font-weight:bold;
color:#fff;
}
QToolBar > QToolButton:checked {
background-color:#fff;
color:#333;
font-weight:bold;
}
QMessageBox {
background-color:#F8F6F6;
}
/*******************************************************/
QLabel { /* Base Text Size & Color */
font-size:12px;
color:#333333;
}
.QCheckBox { /* Checkbox Labels */
color:#333333;
background-color:transparent;
}
.QCheckBox:hover {
background-color:transparent;
}
.QValidatedLineEdit, .QLineEdit { /* Text Entry Fields */
border: 1px solid #92e0d7;
font-size:11px;
min-height:25px;
outline:0;
padding:3px;
background-color:#fcfcfc;
}
.QLineEdit:!focus {
font-size:12px;
}
.QValidatedLineEdit:disabled, .QLineEdit:disabled {
background-color:#f2f2f2;
}
/*******************************************************/
QPushButton { /* Global Button Style */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #64ACD2, stop: .1 #00B39E, stop: .95 #00B39E, stop: 1 #1D80B5);
border:0;
border-radius:3px;
color:#000000;
font-size:12px;
font-weight:bold;
padding-left:25px;
padding-right:25px;
padding-top:5px;
padding-bottom:5px;
}
QPushButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #64ACD2, stop: .1 #46AADE, stop: .95 #46AADE, stop: 1 #1D80B5);
}
QPushButton:focus {
border:none;
outline:none;
}
QPushButton:pressed {
border:1px solid #333;
}
QComboBox { /* Dropdown Menus */
border:1px solid #92e0d7;
padding: 3px 5px 3px 5px;
background:#fcfcfc;
min-height:25px;
color:#818181;
}
QComboBox:checked {
background:#f2f2f2;
}
QComboBox:editable {
background: #00B39E;
color:#616161;
border:0px solid transparent;
}
QComboBox::drop-down {
width:25px;
border:0px;
}
QComboBox::down-arrow {
border-image: url(':/images/arcgreen/arcgreen_downArrow') 0 0 0 0 stretch stretch;
}
QComboBox QListView {
background:#fff;
border:1px solid #333;
padding-right:1px;
padding-left:1px;
}
QComboBox QAbstractItemView::item { margin:4px; }
QComboBox::item {
color:#818181;
}
QComboBox::item:alternate {
background:#fff;
}
QComboBox::item:selected {
border:0px solid transparent;
background:#f2f2f2;
}
QComboBox::indicator {
background-color:transparent;
selection-background-color:transparent;
color:transparent;
selection-color:transparent;
}
QAbstractSpinBox {
border:1px solid #92e0d7;
padding: 3px 5px 3px 5px;
background:#fcfcfc;
min-height:25px;
color:#818181;
}
QAbstractSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;
width:21px;
background:#fcfcfc;
border-left:0px;
border-right:1px solid #92e0d7;
border-top:1px solid #92e0d7;
border-bottom:0px;
padding-right:1px;
padding-left:5px;
padding-top:2px;
}
QAbstractSpinBox::up-arrow {
image:url(':/images/arcgreen/arcgreen_upArrow_small');
}
QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;
width:21px;
background:#fcfcfc;
border-top:0px;
border-left:0px;
border-right:1px solid #92e0d7;
border-bottom:1px solid #92e0d7;
padding-right:1px;
padding-left:5px;
padding-bottom:2px;
}
QAbstractSpinBox::down-arrow {
image:url(':/images/arcgreen/arcgreen_downArrow_small');
}
QCheckBox {
spacing: 5px;
}
QCheckBox::indicator {
width: 16px;
height: 16px;
}
QCheckBox::indicator:unchecked {
image:url(':/images/arcgreen/unchecked');
}
QCheckBox::indicator:unchecked:hover {
image:url(':/images/arcgreen/unchecked');
}
QCheckBox::indicator:unchecked:pressed {
image:url(':/images/arcgreen/checked');
}
QCheckBox::indicator:checked {
image:url(':/images/arcgreen/checked');
}
QCheckBox::indicator:checked:hover {
image:url(':/images/arcgreen/checked');
}
QCheckBox::indicator:checked:pressed {
image:url(':/images/arcgreen/unchecked');
}
QCheckBox::indicator:indeterminate:hover {
image:url(':/images/arcgreen/unchecked');
}
QCheckBox::indicator:indeterminate:pressed {
image:url(':/images/arcgreen/checked');
}
/*******************************************************/
QHeaderView { /* Table Header */
background-color:transparent;
}
QHeaderView::section { /* Table Header Sections */
qproperty-alignment:center;
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #4c97bf, stop: 1 #00e6cb);
color:#fff;
min-height:25px;
font-weight:bold;
font-size:11px;
outline:0;
border:0px solid #fff;
border-right:1px solid #fff;
padding-left:5px;
padding-right:5px;
padding-top:2px;
padding-bottom:2px;
}
QHeaderView::section:last {
border-right: 0px solid #d7d7d7;
}
.QScrollArea {
background:transparent;
border:0px;
}
.QTableView { /* Table - has to be selected as a class otherwise it throws off QCalendarWidget */
background:transparent;
border:0px solid #fff;
}
QTableView::item { /* Table Item */
background-color:#fcfcfc;
font-size:12px;
}
QTableView::item:selected { /* Table Item Selected */
background-color:#f0f0f0;
color:#333;
}
QScrollBar { /* Scroll Bar */
}
QScrollBar:vertical { /* Vertical Scroll Bar Attributes */
border:0;
background:#ffffff;
width:18px;
margin: 18px 0px 18px 0px;
}
QScrollBar:horizontal { /* Horizontal Scroll Bar Attributes */
border:0;
background:#ffffff;
height:18px;
margin: 0px 18px 0px 18px;
}
QScrollBar::handle:vertical { /* Scroll Bar Slider - vertical */
background:#e0e0e0;
min-height:10px;
}
QScrollBar::handle:horizontal { /* Scroll Bar Slider - horizontal */
background:#e0e0e0;
min-width:10px;
}
QScrollBar::add-page, QScrollBar::sub-page { /* Scroll Bar Background */
background:#F8F6F6;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical, QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { /* Define Arrow Button Dimensions */
background-color:#F8F6F6;
border: 1px solid #f2f0f0;
width:16px;
height:16px;
}
QScrollBar::add-line:vertical:pressed, QScrollBar::sub-line:vertical:pressed, QScrollBar::add-line:horizontal:pressed, QScrollBar::sub-line:horizontal:pressed {
background-color:#e0e0e0;
}
QScrollBar::sub-line:vertical { /* Vertical - top button position */
subcontrol-position:top;
subcontrol-origin: margin;
}
QScrollBar::add-line:vertical { /* Vertical - bottom button position */
subcontrol-position:bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal { /* Vertical - left button position */
subcontrol-position:left;
subcontrol-origin: margin;
}
QScrollBar::add-line:horizontal { /* Vertical - right button position */
subcontrol-position:right;
subcontrol-origin: margin;
}
QScrollBar:up-arrow, QScrollBar:down-arrow, QScrollBar:left-arrow, QScrollBar:right-arrow { /* Arrows Icon */
width:10px;
height:10px;
}
QScrollBar:up-arrow {
background-image: url(':/images/arcgreen/arcgreen_upArrow_small');
}
QScrollBar:down-arrow {
background-image: url(':/images/arcgreen/arcgreen_downArrow_small');
}
QScrollBar:left-arrow {
background-image: url(':/images/arcgreen/arcgreen_leftArrow_small');
}
QScrollBar:right-arrow {
background-image: url(':/images/arcgreen/arcgreen_rightArrow_small');
}
/*******************************************************/
/* DIALOG BOXES */
QDialog .QTabWidget {
border-bottom:1px solid #333;
}
QDialog .QTabWidget::pane {
border: 1px solid #d7d7d7;
}
QDialog .QTabWidget QTabBar::tab {
background-color:#f2f0f0;
color:#333;
padding-left:10px;
padding-right:10px;
padding-top:5px;
padding-bottom:5px;
border-top: 1px solid #d7d7d7;
}
QDialog .QTabWidget QTabBar::tab:first {
border-left: 1px solid #d7d7d7;
}
QDialog .QTabWidget QTabBar::tab:last {
border-right: 1px solid #d7d7d7;
}
QDialog .QTabWidget QTabBar::tab:selected, QDialog .QTabWidget QTabBar::tab:hover {
background-color:#ffffff;
color:#333;
}
QDialog .QTabWidget .QWidget {
background-color:#fff;
color:#333;
}
QDialog .QTabWidget .QWidget QAbstractSpinBox {
min-height:15px;
}
QDialog .QTabWidget .QWidget QAbstractSpinBox::down-button {
width:15px;
}
QDialog .QTabWidget .QWidget QAbstractSpinBox::up-button {
width:15px;
}
QDialog .QTabWidget .QWidget QComboBox {
min-height:15px;
}
QDialog QWidget { /* Remove Annoying Focus Rectangle */
outline: 0;
}
/*******************************************************/
/* FILE MENU */
/* Dialog: Open URI */
QDialog#OpenURIDialog {
background-color:#F8F6F6;
}
QDialog#OpenURIDialog QLabel#label { /* URI Label */
font-weight:bold;
}
QDialog#OpenURIDialog QPushButton#selectFileButton { /* ... Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QDialog#OpenURIDialog QPushButton#selectFileButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QDialog#OpenURIDialog QPushButton#selectFileButton:pressed {
border:1px solid #9e9e9e;
}
/* Dialog: Sign / Verify Message */
QDialog#SignVerifyMessageDialog {
background-color:#F8F6F6;
}
QDialog#SignVerifyMessageDialog QPushButton#addressBookButton_SM { /* Address Book Button */
background-color:transparent;
padding-left:10px;
padding-right:10px;
}
QDialog#SignVerifyMessageDialog QPlainTextEdit { /* Message Signing Text */
border:1px solid #92e0d7;
background-color:#fff;
}
QDialog#SignVerifyMessageDialog QPushButton#pasteButton_SM { /* Paste Button */
/* qproperty-icon: url(":/icons/arcgreen/arcgreen_editpaste"); */
background-color:transparent;
padding-left:15px;
}
QDialog#SignVerifyMessageDialog QLineEdit:!focus { /* Font Hack */
font-size:10px;
}
QDialog#SignVerifyMessageDialog QPushButton#copySignatureButton_SM { /* Copy Button */
/* qproperty-icon: url(":/icons/arcgreen/arcgreen_editcopy"); */
background-color:transparent;
padding-left:10px;
padding-right:10px;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_SM { /* Clear Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_SM:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_SM:pressed {
border:1px solid #9e9e9e;
}
QDialog#SignVerifyMessageDialog QPushButton#addressBookButton_VM { /* Verify Message - Address Book Button */
background-color:transparent;
border:0;
padding-left:10px;
padding-right:10px;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_VM { /* Verify Message - Clear Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_VM:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QDialog#SignVerifyMessageDialog QPushButton#clearButton_VM:pressed {
border:1px solid #9e9e9e;
}
/* Dialog: Send and Receive */
QWidget#AddressBookPage {
background-color:#F8F6F6;
}
QWidget#AddressBookPage QPushButton#newAddress { /* New Address Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#AddressBookPage QPushButton#newAddress:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#AddressBookPage QPushButton#newAddress:pressed {
border:1px solid #9e9e9e;
}
QWidget#AddressBookPage QPushButton#copyAddress { /* Copy Address Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#AddressBookPage QPushButton#copyAddress:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#AddressBookPage QPushButton#copyAddress:pressed {
border:1px solid #9e9e9e;
}
QWidget#AddressBookPage QPushButton#deleteAddress { /* Delete Address Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#AddressBookPage QPushButton#deleteAddress:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#AddressBookPage QPushButton#deleteAddress:pressed {
border:1px solid #9e9e9e;
}
QWidget#AddressBookPage QTableView { /* Address Listing */
font-size:12px;
}
QWidget#AddressBookPage QHeaderView::section { /* Min width for Windows fix */
min-width:260px;
}
/* SETTINGS MENU */
/* Encrypt Wallet and Change Passphrase Dialog */
QDialog#AskPassphraseDialog {
background-color:#F8F6F6;
}
QDialog#AskPassphraseDialog QLabel#passLabel1, QDialog#AskPassphraseDialog QLabel#passLabel2, QDialog#AskPassphraseDialog QLabel#passLabel3 {
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:170px;
min-height:33px; /* base width of 25px for QLineEdit, plus padding and border */
}
/* Options Dialog */
QDialog#OptionsDialog {
background-color:#F8F6F6;
}
QDialog#OptionsDialog QValueComboBox, QDialog#OptionsDialog QSpinBox {
margin-top:5px;
margin-bottom:5px;
}
QDialog#OptionsDialog QValidatedLineEdit, QDialog#OptionsDialog QValidatedLineEdit:disabled, QDialog#OptionsDialog QLineEdit, QDialog#OptionsDialog QLineEdit:disabled {
qproperty-alignment: 'AlignVCenter | AlignLeft';
min-height:20px;
margin-top:0px;
margin-bottom:0px;
padding-top:1px;
padding-bottom:1px;
}
QDialog#OptionsDialog > QLabel {
qproperty-alignment: 'AlignVCenter';
min-height:20px;
}
QDialog#OptionsDialog QWidget#tabDisplay QValueComboBox {
margin-top:0px;
margin-bottom:0px;
}
QDialog#OptionsDialog QLabel#label_3 { /* Translations Missing? Label */
qproperty-alignment: 'AlignVCenter | AlignCenter';
color:#818181;
padding-bottom:8px;
}
QDialog#OptionsDialog QCheckBox {
min-height:20px;
}
QDialog#OptionsDialog QCheckBox#displayAddresses {
min-height:33px;
}
/* TOOLS MENU */
QDialog#RPCConsole { /* RPC Console Dialog Box */
background-color:#F8F6F6;
}
QDialog#RPCConsole QWidget#tab_info QLabel#label_11, QDialog#RPCConsole QWidget#tab_info QLabel#label_10 { /* Margin between Network and Block Chain headers */
qproperty-alignment: 'AlignBottom';
min-height:25px;
min-width:180px;
}
QDialog#RPCConsole QWidget#tab_peers QLabel#peerHeading { /* Peers Info Header */
color:#00B39E;
}
QDialog#RPCConsole QPushButton#openDebugLogfileButton {
max-width:60px;
}
QDialog#RPCConsole QTextEdit#messagesWidget { /* Console Messages Window */
border:0;
}
QDialog#RPCConsole QLineEdit#lineEdit { /* Console Input */
margin-right:5px;
}
QDialog#RPCConsole QPushButton#clearButton { /* Console Clear Button */
background-color:transparent;
padding-left:10px;
padding-right:10px;
}
QDialog#RPCConsole .QGroupBox #line { /* Network In Line */
background-color:#00ff00;
}
QDialog#RPCConsole .QGroupBox #line_2 { /* Network Out Line */
background:#ff0000;
}
/* HELP MENU */
/* Command Line Options Dialog */
QDialog#HelpMessageDialog {
background-color:#F8F6F6;
}
QDialog#HelpMessageDialog QScrollArea * {
background-color:#ffffff;
}
QDialog#HelpMessageDialog QScrollBar:vertical, QDialog#HelpMessageDialog QScrollBar:horizontal {
border:0;
}
/* About Arctic Dialog */
QDialog#AboutDialog {
background-color:#F8F6F6;
}
QDialog#AboutDialog QLabel#label, QDialog#AboutDialog QLabel#copyrightLabel, QDialog#AboutDialog QLabel#label_2 { /* About Arctic Contents */
margin-left:10px;
}
QDialog#AboutDialog QLabel#label_2 { /* Margin for About Arctic text */
margin-right:10px;
}
/* Edit Address Dialog */
QDialog#EditAddressDialog {
background-color:#F8F6F6;
}
QDialog#EditAddressDialog QLabel {
qproperty-alignment: 'AlignVCenter | AlignRight';
min-height:27px;
font-weight:normal;
padding-right:5px;
}
/* OVERVIEW SCREEN */
QWidget .QFrame#frame { /* Wallet Balance */
min-width:490px;
}
QWidget .QFrame#frame > .QLabel {
min-width:190px;
font-weight:normal;
min-height:30px;
}
QWidget .QFrame#frame .QLabel#label_5 { /* Wallet Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:transparent;
color:#fff;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frame .QLabel#labelWalletStatus { /* Wallet Sync Status */
qproperty-alignment: 'AlignVCenter | AlignLeft';
margin-left:3px;
}
QWidget .QFrame#frame .QLabel#labelSpendable { /* Spendable Header */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:18px;
}
QWidget .QFrame#frame .QLabel#labelWatchonly { /* Watch-only Header */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:16px;
}
QWidget .QFrame#frame .QLabel#labelBalanceText { /* Available Balance Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#00e6cb;
color:#ffffff;
margin-right:5px;
padding-right:5px;
font-weight:bold;
font-size:14px;
min-height:35px;
}
QWidget .QFrame#frame .QLabel#labelBalance { /* Available Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
font-weight:bold;
color:#00e6cb;
margin-left:0px;
}
QWidget .QFrame#frame .QLabel#labelWatchAvailable { /* Watch-only Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:16px;
}
QWidget .QFrame#frame .QLabel#labelPendingText { /* Pending Balance Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
font-size:12px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frame .QLabel#labelUnconfirmed { /* Pending Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:0px;
}
QWidget .QFrame#frame .QLabel#labelWatchPending { /* Watch-only Pending Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:16px;
}
QWidget .QFrame#frame .QLabel#labelImmatureText { /* Immature Balance Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
font-size:12px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frame .QLabel#labelImmature { /* Immature Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:0px;
}
QWidget .QFrame#frame .QLabel#labelWatchImmature { /* Watch-only Immature Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:16px;
}
QWidget .QFrame#frame .QLabel#labelTotalText { /* Total Balance Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
font-size:12px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frame .QLabel#labelTotal { /* Total Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:0px;
}
QWidget .QFrame#frame .QLabel#labelWatchTotal { /* Watch-only Total Balance */
qproperty-alignment: 'AlignVCenter | AlignLeft';
font-size:12px;
margin-left:16px;
}
/* PRIVATESEND WIDGET */
QWidget .QFrame#frameSpySend { /* SpySend Widget */
background-color:transparent;
max-width: 451px;
min-width: 451px;
max-height: 350px;
}
QWidget .QFrame#frameSpySend .QWidget#layoutWidgetSpySendHeader { /* SpySend Header */
max-width: 421px;
min-width: 421px;
}
QWidget .QFrame#frameSpySend .QLabel#labelSpySendHeader { /* SpySend Header */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#00e6cb;
color:#fff;
margin-right:5px;
padding-right:5px;
font-weight:bold;
font-size:14px;
min-height:35px;
max-height:35px;
}
/******************************************************************/
QWidget .QFrame#frameSpySend .QLabel#labelSpySendSyncStatus { /* SpySend Sync Status */
qproperty-alignment: 'AlignVCenter | AlignLeft';
margin-left:2px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget {
max-width: 451px;
max-height: 175px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget > .QLabel {
min-width:175px;
font-weight:normal;
min-height:25px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelSpySendEnabledText { /* SpySend Status Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelSpySendEnabled { /* SpySend Status */
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelCompletitionText { /* SpySend Completion Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QProgressBar#privateSendProgress { /* SpySend Completion */
border: 1px solid #818181;
border-radius: 1px;
margin-right:43px;
text-align: right;
color:#818181;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QProgressBar#privateSendProgress::chunk {
background-color: #00B39E;
width:1px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelAnonymizedText { /* SpySend Balance Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelAnonymized { /* SpySend Balance */
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelAmountAndRoundsText { /* SpySend Amount and Rounds Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelAmountRounds { /* SpySend Amount and Rounds */
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelSubmittedDenomText { /* SpySend Submitted Denom Label */
qproperty-alignment: 'AlignVCenter | AlignRight';
min-width:160px;
background-color:#F8F6F6;
margin-right:5px;
padding-right:5px;
}
QWidget .QFrame#frameSpySend #privateSendFormLayoutWidget .QLabel#labelSubmittedDenom { /* SpySend Submitted Denom */
}
QWidget .QFrame#frameSpySend .QWidget#layoutWidgetLastMessageAndButtons {
max-width: 451px;
}
QWidget .QFrame#frameSpySend .QLabel#labelSpySendLastMessage { /* SpySend Status Notifications */
qproperty-alignment: 'AlignVCenter | AlignCenter';
min-width: 288px;
min-height: 43px;
font-size:11px;
color:#818181;
}
/* PRIVATESEND BUTTONS */
QWidget .QFrame#frameSpySend .QPushButton { /* SpySend Buttons - General Attributes */
border:0px solid #ffffff;
}
QWidget .QFrame#frameSpySend QPushButton:focus {
border:none;
outline:none;
}
QWidget .QFrame#frameSpySend .QPushButton#toggleSpySend { /* Start SpySend Mixing */
font-size:15px;
font-weight:bold;
color:#ffffff;
padding-left:10px;
padding-right:10px;
padding-top:5px;
padding-bottom:6px;
}
QWidget .QFrame#frameSpySend .QPushButton#toggleSpySend:hover {
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendAuto { /* Try Mix Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
min-height:25px;
font-size:9px;
padding:0px;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendAuto:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendAuto:pressed {
border:1px solid #9e9e9e;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendReset { /* Reset Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
min-height:25px;
font-size:9px;
padding:0px;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendReset:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendReset:pressed {
border:1px solid #9e9e9e;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendInfo { /* Info Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
min-height:25px;
font-size:9px;
padding:0px;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendInfo:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget .QFrame#frameSpySend .QPushButton#privateSendInfo:pressed {
border:1px solid #9e9e9e;
}
/* RECENT TRANSACTIONS */
QWidget .QFrame#frame_2 { /* Transactions Widget */
min-width:410px;
margin-right:20px;
margin-left:0;
margin-top:0;
background-image: url(':/images/arcgreen/arc_logo_horizontal');
background-repeat:none;
}
QWidget .QFrame#frame_2 .QLabel#label_4 { /* Recent Transactions Label */
min-width:180px;
color:#00B39E;
margin-left:67px;
margin-top:83px;
margin-right:5px;
padding-right:5px;
font-weight:bold;
font-size:15px;
min-height:24px;
}
QWidget .QFrame#frame_2 .QLabel#labelTransactionsStatus { /* Recent Transactions Sync Status */
qproperty-alignment: 'AlignBottom | AlignRight';
min-width:93px;
margin-top:83px;
margin-left:16px;
margin-right:5px;
min-height:16px;
}
QWidget .QFrame#frame_2 QListView { /* Transaction List */
font-weight:normal;
font-size:12px;
max-width:369px;
color:#3f2b1a;
margin-top:12px;
margin-left:0px; /* CSS Voodoo - set to -66px to hide default transaction icons */
}
/* MODAL OVERLAY */
QWidget#bgWidget { /* The 'frame' overlaying the overview-page */
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#bgWidget .QPushButton#warningIcon {
width:64px;
height:64px;
padding:5px;
background-color:transparent;
}
QWidget#contentWidget { /* The actual content with the text/buttons/etc... */
border-image: url(':/images/drkblue/drkblue_walletFrame_bg') 0 0 0 0 stretch stretch;
border-top:0px solid #000;
margin:0;
padding-top:20px;
padding-bottom: 20px;
}
QWidget#bgWidget .QPushButton#closeButton {
}
/* SEND DIALOG */
QDialog#SendCoinsDialog .QFrame#frameCoinControl { /* Coin Control Section */
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl > .QLabel { /* Default Font Color and Size */
font-weight:normal;
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QPushButton#pushButtonCoinControl { /* Coin Control Inputs Button */
padding-left:10px;
padding-right:10px;
min-height:25px;
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QLabel#labelCoinControlFeatures { /* Coin Control Header */
color:#00B39E;
font-weight:bold;
font-size:14px;
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QWidget#widgetCoinControl { /* Coin Control Inputs */
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QWidget#widgetCoinControl > .QLabel { /* Coin Control Inputs Labels */
padding:2px;
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QCheckBox#checkBoxCoinControlChange { /* Custom Change Label */
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QValidatedLineEdit#lineEditCoinControlChange { /* Custom Change Address */
}
QDialog#SendCoinsDialog .QFrame#frameCoinControl .QLabel#labelCoinControlChangeLabel { /* Custom Change Address Validation Label */
font-weight:normal;
qproperty-margin:-6;
margin-right:112px;
}
QDialog#SendCoinsDialog .QScrollArea#scrollArea .QWidget#scrollAreaWidgetContents { /* Send To Widget */
background:transparent;
}
QDialog#SendCoinsDialog .QPushButton#sendButton { /* Send Button */
padding-left:10px;
padding-right:10px;
}
QDialog#SendCoinsDialog .QPushButton#clearButton { /* Clear Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QDialog#SendCoinsDialog .QPushButton#clearButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QDialog#SendCoinsDialog .QPushButton#clearButton:pressed {
border:1px solid #9e9e9e;
}
QDialog#SendCoinsDialog .QPushButton#addButton { /* Add Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QDialog#SendCoinsDialog .QPushButton#addButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QDialog#SendCoinsDialog .QPushButton#addButton:pressed {
border:1px solid #9e9e9e;
}
QDialog#SendCoinsDialog .QCheckBox#checkUseSpySend { /* SpySend Checkbox */
color:#616161;
font-weight:bold;
background: qradialgradient(cx:0.5, cy:0.5, radius: 0.5, fx:0.5, fy:0.5, stop:0 rgba(248, 246, 246, 128), stop: 1 rgba(0, 0, 0, 0));
border-radius:5px;
padding-top:20px;
padding-bottom:18px;
}
QDialog#SendCoinsDialog .QCheckBox#checkUseInstantSend { /* InstantSend Checkbox */
color:#616161;
font-weight:bold;
background: qradialgradient(cx:0.5, cy:0.5, radius: 0.5, fx:0.5, fy:0.5, stop:0 rgba(248, 246, 246, 128), stop: 1 rgba(0, 0, 0, 0));
border-radius:5px;
padding-top:20px;
padding-bottom:18px;
margin-left:10px;
margin-right:20px;
}
/* This QLabel uses name = "label" which conflicts with Address Book -> New Address */
/* To maximize backwards compatibility this formatting has been removed */
QDialog#SendCoinsDialog QLabel#label {
/*margin-left:20px;
margin-right:-2px;
padding-right:-2px;
color:#616161;
font-size:14px;
font-weight:bold;
border-radius:5px;
padding-top:20px;
padding-bottom:20px;*/
min-height:27px;
}
QDialog#SendCoinsDialog QLabel#labelBalance {
margin-left:0px;
padding-left:0px;
color:#333333;
/* font-weight:bold;
border-radius:5px;
padding-top:20px;
padding-bottom:20px; */
min-height:27px;
}
#checkboxSubtractFeeFromAmount {
padding-left:10px;
}
/* SEND COINS ENTRY */
QStackedWidget#SendCoinsEntry .QFrame#SendCoins > .QLabel { /* Send Coin Entry Labels */
background-color:#00e6cb;
min-width:102px;
font-weight:bold;
font-size:11px;
color:#000;
min-height:25px;
margin-right:5px;
padding-right:5px;
}
QStackedWidget#SendCoinsEntry .QFrame#SendCoins .QLabel#amountLabel {
background-color:#6a6a6a;
}
QStackedWidget#SendCoinsEntry .QValidatedLineEdit#payTo { /* Pay To Input Field */
}
QStackedWidget#SendCoinsEntry .QToolButton { /* General Settings for Pay To Icons */
background-color:transparent;
padding-left:5px;
padding-right:5px;
border: 0;
outline: 0;
}
QStackedWidget#SendCoinsEntry .QToolButton#addressBookButton { /* Address Book Button */
padding-left:10px;
}
QStackedWidget#SendCoinsEntry .QToolButton#addressBookButton {
}
QStackedWidget#SendCoinsEntry .QToolButton#pasteButton {
}
QStackedWidget#SendCoinsEntry .QToolButton#deleteButton {
}
QStackedWidget#SendCoinsEntry .QLineEdit#addAsLabel { /* Pay To Input Field */
}
/* COIN CONTROL POPUP */
QDialog#CoinControlDialog { /* Coin Control Dialog Window */
background-color:#F8F6F6;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlQuantityText { /* Coin Control Quantity Label */
min-height:30px;
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlQuantity { /* Coin Control Quantity */
min-height:30px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlBytesText { /* Coin Control Bytes Label */
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlBytes { /* Coin Control Bytes */
}
QDialog#CoinControlDialog .QLabel#labelCoinControlAmountText { /* Coin Control Amount Label */
min-height:30px;
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlAmount { /* Coin Control Amount */
min-height:30px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlPriorityText { /* Coin Control Priority Label */
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlPriority { /* Coin Control Priority */
}
QDialog#CoinControlDialog .QLabel#labelCoinControlFeeText { /* Coin Control Fee Label */
min-height:30px;
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlFee { /* Coin Control Fee */
min-height:30px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlLowOutputText { /* Coin Control Low Output Label */
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlLowOutput { /* Coin Control Low Output */
}
QDialog#CoinControlDialog .QLabel#labelCoinControlAfterFeeText { /* Coin Control After Fee Label */
min-height:30px;
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlAfterFee { /* Coin Control After Fee */
min-height:30px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlChangeText { /* Coin Control Change Label */
padding-left:15px;
}
QDialog#CoinControlDialog .QLabel#labelCoinControlChange { /* Coin Control Change */
}
QDialog#CoinControlDialog .QFrame#frame .QPushButton#pushButtonSelectAll { /* (un)select all button */
padding-left:10px;
padding-right:10px;
min-height:25px;
}
QDialog#CoinControlDialog .QFrame#frame .QPushButton#pushButtonToggleLock { /* Toggle lock state button */
padding-left:10px;
padding-right:10px;
min-height:25px;
}
QDialog#CoinControlDialog .QDialogButtonBox#buttonBox QPushButton { /* Coin Control 'OK' button */
}
QDialog#CoinControlDialog .QFrame#frame .QRadioButton#radioTreeMode { /* Coin Control Tree Mode Selector */
color:#818181;
background-color:transparent;
}
QDialog#CoinControlDialog .QFrame#frame .QRadioButton#radioListMode { /* Coin Control List Mode Selector */
color:#818181;
background-color:transparent;
}
QDialog#CoinControlDialog QHeaderView::section:first { /* Bug Fix: the number "1" displays in this table for some reason... */
color:transparent;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget { /* Coin Control Widget Container */
outline:0;
background-color:#ffffff;
border:0px solid #818181;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::item {
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::item:selected { /* Coin Control Item (selected) */
background-color:#f7f7f7;
color:#333;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::item:checked { /* Coin Control Item (checked) */
background-color:#f7f7f7;
color:#333;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::branch:selected { /* Coin Control Branch Icon */
background-image: url(':/images/arcgreen/arcgreen_qtreeview_selected');
background-repeat:no-repeat;
background-position:center;
background-color:#f7f7f7;
color:#333;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::branch:checked { /* Coin Control Branch Icon */
background-image: url(':/images/arcgreen/arcgreen_qtreeview_selected');
background-repeat:no-repeat;
background-position:center;
background-color:#f7f7f7;
color:#333;
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::seperator {
}
QDialog#CoinControlDialog .CoinControlTreeWidget#treeWidget::indicator { /* Coin Control Widget Checkbox */
}
/* RECEIVE COINS */
QWidget#ReceiveCoinsDialog .QFrame#frame2 .QLabel#label_2 { /* Label Label */
background-color:#00e6cb;
min-width:102px;
color:#ffffff;
font-weight:bold;
font-size:11px;
padding-right:5px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame2 .QLabel#label { /* Amount Label */
background-color:#6a6a6a;
min-width:102px;
color:#ffffff;
font-weight:bold;
font-size:11px;
padding-right:5px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame2 .QLabel#label_3 { /* Message Label */
background-color:#00e6cb;
min-width:102px;
color:#ffffff;
font-weight:bold;
font-size:11px;
padding-right:5px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame2 QPushButton#clearButton { /* Clear Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame2 QPushButton#clearButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#ReceiveCoinsDialog .QFrame#frame2 QPushButton#clearButton:pressed {
border:1px solid #9e9e9e;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#showRequestButton { /* Show Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#showRequestButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#showRequestButton:pressed {
border:1px solid #9e9e9e;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#removeRequestButton { /* Remove Button */
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
border:1px solid #d2d2d2;
color:#616161;
padding-left:10px;
padding-right:10px;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#removeRequestButton:hover {
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(240, 240, 240, 255), stop: .95 rgba(240, 240, 240, 255), stop: 1 #ebebeb);
color:#333;
}
QWidget#ReceiveCoinsDialog .QFrame#frame QPushButton#removeRequestButton:pressed {
border:1px solid #9e9e9e;
}
QWidget#ReceiveCoinsDialog .QFrame#frame .QLabel#label_6 { /* Requested Payments History Label */
color:#00B39E;
font-weight:bold;
font-size:14px;
}
/* RECEIVE COINS DIALOG */
QDialog#ReceiveRequestDialog {
background-color:#F8F6F6;
}
QDialog#ReceiveRequestDialog QTextEdit { /* Contents of Receive Coin Dialog */
border:1px solid #d7d7d7;
}
/* TRANSACTIONS PAGE */
TransactionView QLineEdit { /* Filters */
margin-bottom:2px;
margin-right:1px;
min-width:111px;
text-align:center;
}
TransactionView QLineEdit#addressWidget { /* Address Filter */
margin-bottom:2px;
margin-right:1px;
min-width:405px;
text-align:center;
}
TransactionView QLineEdit#amountWidget { /* Amount Filter */
margin-bottom:2px;
margin-right:1px;
max-width:100px;
text-align:center;
}
TransactionView QComboBox {
margin-bottom:1px;
margin-right:1px;
}
QLabel#transactionSumLabel { /* Example of setObjectName for widgets without name */
color:#333333;
font-weight:bold;
}
QLabel#transactionSum { /* Example of setObjectName for widgets without name */
color:#333333;
}
/* TRANSACTION DETAIL DIALOG */
QDialog#TransactionDescDialog {
background-color:#F8F6F6;
}
QDialog#TransactionDescDialog QTextEdit { /* Contents of Receive Coin Dialog */
border:1px solid #d7d7d7;
}
| ArcticCore/arcticcoin | src/qt/res/css/arcgreen.css | CSS | mit | 41,466 |
<?php
/**
* Created by PhpStorm.
* User: shawnlegge
* Date: 10/8/17
* Time: 10:36 AM
*/
trait SetUpCategoryTrait
{
/**
* @var \App\Category
*/
protected $category;
/**
* @var \Illuminate\Database\Eloquent\Collection
*/
protected $categories;
private $newCategories = ['electronics', 'furniture'];
public function setUpCategory()
{
\App\Category::truncate();
$this->category = \App\Category::create([
'name'=> 'clothes'
]);
}
/**
* add categories
*
* @return void
*/
public function addCategories()
{
foreach ($this->newCategories as $category)
{
\App\Category::create([
'name'=> $category
]);
}
$this->categories = \App\Category::all();
}
} | shawndl/LaraCommerce | tests/Traits/SetUpCategoryTrait.php | PHP | mit | 846 |
using JA.Helpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Me.AspNet.Identity.Controllers
{
public class MyErrorController : Controller
{
/// <summary>
/// Handle 404 error
/// </summary>
/// <param name="aspxerrorpath"></param>
/// <returns>ViewResult</returns>
public ActionResult NotFound(string aspxerrorpath)
{
ViewData["error_path"] = aspxerrorpath;
MyTracer.MyTrace(TraceLevel.Warning, this.GetType(), null, null, string.Format("404 resource {0} not found", aspxerrorpath), null);
return View();
}
/// <summary>
/// Handle 403 error
/// </summary>
/// <param name="action"></param>
/// <returns>ViewResult</returns>
public ActionResult AccessDenied(string action)
{
@ViewData["action"] = action;
MyTracer.MyTrace(TraceLevel.Warning, null, null, null, string.Format("Acess denied in the action {0}", action), null);
return View();
}
/// <summary>
/// Handle errors # 403, 404
/// </summary>
/// <returns>ViewResult</returns>
public ActionResult UnHandledException(string aspxerrorpath)
{
ViewData["error_path"] = aspxerrorpath;
string actionName = this.ControllerContext.RouteData.Values["action"].ToString();
string controllerName = this.ControllerContext.RouteData.Values["controller"].ToString();
Exception unHandledException = new ApplicationException("My UnHandled Exception");
MyTracer.MyTrace(TraceLevel.Error, this.GetType(), controllerName, actionName, string.Format("Unhandled exception in {0}", aspxerrorpath), unHandledException);
return View(new HandleErrorInfo(unHandledException, controllerName, actionName));
}
/// <summary>
/// For handled fatal exceptions
/// </summary>
/// <returns></returns>
public ActionResult HandledFatalException()
{
return View();
}
#region Test errors actions
public ActionResult NoView()
{
return View();
}
//[Authorize(Roles = "Dev")]
public ActionResult ForTestUnHandledException()
{
throw new NotImplementedException();
}
/// <summary>
/// Show SignalExceptionToElmahAndTrace usage with try...catch in a non fatal handled exception
/// </summary>
/// <returns></returns>
//[Authorize(Roles = "Dev")]
public ActionResult ForTestHandledException()
{
try
{
throw new ApplicationException("Handled exception for test");
}
catch (Exception ex)
{
// Handled exception catch code
JA.Helpers.Utils.SignalExceptionToElmahAndTrace(ex, this);
}
// ...............................
// Continu program...
// ...............................
// Finally call the view
return View();
}
/// <summary>
/// Show SignalExceptionToElmahAndTrace usage with try...catch in a fatal handled exception
/// </summary>
/// <returns></returns>
//[Authorize(Roles = "Dev")]
public ActionResult ForTestHandledFatalException()
{
try
{
throw new ApplicationException("Fatal error for test");
}
catch (Exception ex)
{
// Unhandled exception catch code
JA.Helpers.Utils.SignalExceptionToElmahAndTrace(ex, this);
// RedirectToAction called if fatal error
return RedirectToAction("HandledFatalException", "MyError", new { area = "" });
}
// View called if no fatal error
//return View(); // Never reached in this sample
}
#endregion
}
} | jalvarez54/Me.AspNet.Identity | Me.AspNet.Identity/Controllers/MyErrorController.cs | C# | mit | 4,159 |
---
layout: post
title: "Oracle 12c - PDBSEED"
category: Oracle
tags: Oracle 12c PDBSEED
---
* content
{:toc}
Oracle 12c - Study PDB$SEED
###
### Documents
"_ORACLE_SCRIPT"=TRUE PARAMETER Should not be Invoked by Users (Doc ID 2378735.1)
Per Development, setting _ORACLE_SCRIPT to TRUE is something to be used only by Oracle internally. There may be a case where a note says to use it explicitly, but you should not use it outside the context of that note. In general is not to be set explicitly by users.
Have a good day! 2018/04 via LinHong
| bigdatalyn/bigdatalyn.github.io | _posts/2018-04-18-Oracle12c_PDBSEED.md | Markdown | mit | 568 |
/*
* Copyright 1997-2015 Optimatika (www.optimatika.se)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER 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.
*/
package org.ojalgo.matrix.store.operation;
public final class ModifyAll extends MatrixOperation {
public static final ModifyAll SETUP = new ModifyAll();
public static int THRESHOLD = 64;
private ModifyAll() {
super();
}
@Override
public int threshold() {
return THRESHOLD;
}
}
| jpalves/ojAlgo | src/org/ojalgo/matrix/store/operation/ModifyAll.java | Java | mit | 1,502 |
#include "precompiled.h"
using namespace mix;
namespace {
Sign IntSign(int v)
{
return ((v > 0) ? Sign::Positive : Sign::Negative);
}
} // namespace
TEST(WordValue, Zero_Value_Has_Positive_Sign)
{
WordValue v{0};
ASSERT_EQ(Sign::Positive, v.sign());
ASSERT_EQ(0, v.value());
}
TEST(WordValue, Reverse_Sign_On_Zero_Makes_Zero_Negative_Value)
{
WordValue v{0};
auto reversed = v.reverse_sign();
ASSERT_EQ(Sign::Negative, reversed.sign());
ASSERT_EQ(0, reversed.value());
}
TEST(WordValue, Value_Constructor_TakesIntoAccount_Value_Sign)
{
{
WordValue v{42};
ASSERT_EQ(IntSign(42), v.sign());
ASSERT_EQ(Sign::Positive, v.sign());
ASSERT_EQ(42, v.value());
}
{
WordValue v{-42};
ASSERT_EQ(IntSign(-42), v.sign());
ASSERT_EQ(Sign::Negative, v.sign());
ASSERT_EQ(-42, v.value());
}
}
TEST(WordValue, Reverse_Sign_Changes_Sign_Always)
{
WordValue v{-42};
auto reversed = v.reverse_sign();
ASSERT_NE(v.sign(), reversed.sign());
ASSERT_NE(IntSign(v.value()), IntSign(reversed.value()));
}
TEST(WordValue, Sign_Constructor_Does_Not_Affect_To_Value)
{
WordValue v{Sign::Positive, -42};
ASSERT_EQ(Sign::Positive, v.sign());
ASSERT_EQ(-42, v.value());
}
| grishavanika/mix | src/tests/test_mix/source/test_word_value.cpp | C++ | mit | 1,240 |
package com.showka.domain.u06;
import com.showka.domain.DomainRoot;
import com.showka.domain.u05.Uriage;
import com.showka.system.exception.SystemException;
import com.showka.value.AmountOfMoney;
import com.showka.value.TheDate;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 売掛.
*
*/
@AllArgsConstructor
@Getter
public class Urikake extends DomainRoot {
// private members
/** 売上. */
private Uriage uriage;
/** 金額(消込後の残高ではない!). */
private AmountOfMoney kingaku;
/** 入金予定日(営業日である必要はない). */
private TheDate nyukinYoteiDate;
// public methods
/**
* 入金予定日更新.
*
* @param nyukinYoteiDate
* 新しい入金予定日
*/
public void updateNyukinYoteiDate(TheDate nyukinYoteiDate) {
this.nyukinYoteiDate = nyukinYoteiDate;
}
/**
* キャンセルにする.
*
* <pre>
* 金額=0円
* </pre>
*/
public void toCanceld() {
this.kingaku = new AmountOfMoney(0);
}
/**
* キャンセル判定.
*
* @return 金額=0円ならtrue
*/
public boolean isCanceld() {
return this.kingaku.equals(0);
}
/**
* 売上ID取得.
*
* @return 売上ID
*/
public String getUriageId() {
return uriage.getRecordId();
}
// override methods
@Override
public void validate() throws SystemException {
// do nothing
}
@Override
protected boolean equals(DomainRoot other) {
Urikake o = (Urikake) other;
return uriage.equals(o.uriage);
}
@Override
public int hashCode() {
return uriage.hashCode();
}
}
| ShowKa/HanbaiKanri | src/main/java/com/showka/domain/u06/Urikake.java | Java | mit | 1,664 |
using System;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using TwitchLib;
using TwitchLib.Events.Client;
using TwitchLib.Models.Client;
using UnityEngine;
/*
* GameObjects have a method called SendMessage, therefor I need to supress the message
* saying that my method matches the same name
*/
public class TwitchConnection : MonoBehaviour
{
public static TwitchConnection Instance;
/// <summary>
/// This is only public so we can attach the OnMessageRecieved events in CommandController
/// probably a better way but this will do for now
/// </summary>
public TwitchClient client { get; private set; }
private TwitchEvents twitchEvents;
private void Awake()
{
EnsureSingleton();
twitchEvents = FindObject.twitchEvents;
}
private void EnsureSingleton()
{
if (Instance != null && Instance != this)
{
Destroy(gameObject);
}
Instance = this;
DontDestroyOnLoad(gameObject);
}
/// <summary>
/// A method used to send message to ensure consistency between messages
///
/// These methods are because we dont need to expose the entire TwitchClient to all scripts,
/// simply the ability to send messages/whispers needs to be exposed.
/// </summary>
/// <param name="recipient">User who the message is targetted at</param>
/// <param name="message">Message for them to see</param>
public void SendMessage(string recipient, string message) => client.SendMessage($"{recipient} - {message}");
#pragma warning disable CS0108 // Member hides inherited member; missing new keyword
public void SendMessage(string message) => client.SendMessage(message);
#pragma warning restore CS0108 // Member hides inherited member; missing new keyword
public void SendWhisper(string recipient, string message)
{
//Leave debug to allow us to test delay when the game is complete
//Debug.Log("TwitchConnection: " + Time.time);
client.SendWhisper(recipient, message);
}
/// <summary>
/// Ensure we are only connected once
/// </summary>
public void Connect()
{
if (client != null)
{
if (client.IsConnected == true)
{
Debug.LogError("TwitchClient is already connected!");
return;
}
}
ServicePointManager.ServerCertificateValidationCallback = CertificateValidationMonoFix;
ConnectionCredentials credentials = new ConnectionCredentials(Settings.username, Settings.accessToken);
TwitchAPI.Settings.ClientId = Settings.clientId;
TwitchAPI.Settings.AccessToken = Settings.accessToken;
client = new TwitchClient(credentials, Settings.channelToJoin);
client.Connect();
client.OnJoinedChannel += ClientOnJoinedChannel;
EnsureMainThread.executeOnMainThread.Enqueue(() => { FindObject.loginCanvas.gameObject.SetActive(false); });
//EnsureMainThread.executeOnMainThread.Enqueue(() => { commandController.DelayedStart(); });
}
private void ClientOnJoinedChannel(object sender, OnJoinedChannelArgs e)
{
client.SendWhisper(Settings.channelToJoin, "I have arrived.");;
EnsureMainThread.executeOnMainThread.Enqueue(() => { twitchEvents.StartCustomEvents(); });
}
private void OnApplicationQuit()
{
if(client != null)
{
if (client.IsConnected == true)
{
client.Disconnect();
}
}
SaveLoad saveLoad = FindObject.saveLoad;
saveLoad.EmergencySave();
}
public bool CertificateValidationMonoFix(System.Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
bool isOk = true;
if (sslPolicyErrors == SslPolicyErrors.None)
{
return true;
}
foreach (X509ChainStatus status in chain.ChainStatus)
{
if (status.Status == X509ChainStatusFlags.RevocationStatusUnknown)
{
continue;
}
chain.ChainPolicy.RevocationFlag = X509RevocationFlag.EntireChain;
chain.ChainPolicy.RevocationMode = X509RevocationMode.Online;
chain.ChainPolicy.UrlRetrievalTimeout = new TimeSpan(0, 1, 0);
chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags;
bool chainIsValid = chain.Build((X509Certificate2) certificate);
if (!chainIsValid)
{
isOk = false;
}
}
return isOk;
}
}
| GamingAnonymous/Twitch-Dev-Company | Assets/_Tools/TwitchLogin/TwitchConnection.cs | C# | mit | 4,480 |
$( document ).ready( function() {
/**
*
* strict mode
*
*/
'use strict';
/**
*
* global variables
*
*/
var windowWidth = 0;
var windowHeight = 0;
/**
*
* actions after window load
*
*/
$( window ).load( function() {
/**
*
* window width
*
*/
windowWidth = $( window ).width();
/**
*
* window height
*
*/
windowHeight = $( window ).height();
/**
*
* configure agents slider
*
*/
$.martanianConfigureAgentsSlider();
/**
*
* configure value slider
*
*/
$.martanianConfigureValueSlider();
/**
*
* manage images
*
*/
$.martanianManageImages();
/**
*
* configure image slider
*
*/
$.martanianConfigureImageSlider();
/**
*
* configure insurance slider
*
*/
$.martanianConfigureInsuranceSlider();
/**
*
* heading slider
*
*/
$.martanianHeadingSlider();
/**
*
* references
*
*/
$.martanianManageReferences();
/**
*
* numbers highlighter
*
*/
$.martanianNumbersHighlighter();
/**
*
* autoloaded progress bars
*
*/
$.martanianProgressBarsAutoload();
/**
*
* configure tabs section
*
*/
$.martanianConfigureTabsSection();
/**
*
* set parallax
*
*/
$.martanianSetParallax();
/**
*
* load google map, if exists
*
*/
var elementA = $( '#google-map' );
if( typeof elementA[0] != 'undefined' && elementA[0] != '' ) {
$.martanianGoogleMapInit();
};
/**
*
* load bigger google map, if exists
*
*/
var elementB = $( '#google-map-full' );
if( typeof elementB[0] != 'undefined' && elementB[0] != '' ) {
$.martanianGoogleBigMapInit();
};
/**
*
* delete loader
*
*/
$( '#loader' ).animate({ 'opacity': 0 }, 300 );
setTimeout( function() {
$( '#loader' ).remove();
}, 600 );
/**
*
* end of actions
*
*/
});
/**
*
* actions after window resize
*
*/
$( window ).resize( function() {
/**
*
* window width
*
*/
windowWidth = $( window ).width();
/**
*
* window height
*
*/
windowHeight = $( window ).height();
/**
*
* manage images
*
*/
$.martanianManageImages();
/**
*
* manage references
*
*/
$.martanianManageReferences();
/**
*
* configure tabs section
*
*/
$.martanianResizeTabsSection();
/**
*
* resize manager
*
*/
$.martanianResizeManager();
/**
*
* set parallax
*
*/
$.martanianSetParallax();
/**
*
* show menu, if hidden
*
*/
if( windowWidth > 932 ) {
$( 'header .menu' ).show();
$( 'header .menu' ).find( 'ul.submenu' ).addClass( 'animated' );
}
else {
$( 'header .menu' ).hide();
$( 'header .menu' ).find( 'ul.submenu' ).removeClass( 'animated' );
}
/**
*
* end of actions
*
*/
});
/**
*
* initialize google map function
*
*/
$.martanianGoogleMapInit = function() {
var lat = $( '#google-map' ).data( 'lat' );
var lng = $( '#google-map' ).data( 'lng' );
var zoom_level = $( '#google-map' ).data( 'zoom-level' );
var map_center = new google.maps.LatLng( lat, lng );
var mapOptions = {
zoom: zoom_level,
center: map_center,
mapTypeId: google.maps.MapTypeId.ROADMAP,
scrollwheel: false
}
var map = new google.maps.Map( document.getElementById( 'google-map' ), mapOptions );
var beachMarker = new google.maps.Marker({
position: new google.maps.LatLng( lat, lng ),
map: map,
});
};
/**
*
* initialize biggest google map function
*
*/
$.martanianGoogleBigMapInit = function() {
var lat = $( '#google-map-full' ).data( 'lat' );
var lng = $( '#google-map-full' ).data( 'lng' );
var zoom_level = $( '#google-map-full' ).data( 'zoom-level' );
var map_center = new google.maps.LatLng( lat, lng );
var mapOptions = {
zoom: zoom_level,
center: map_center,
mapTypeId: google.maps.MapTypeId.ROADMAP,
scrollwheel: false
}
var map = new google.maps.Map( document.getElementById( 'google-map-full' ), mapOptions );
var beachMarker = new google.maps.Marker({
position: new google.maps.LatLng( lat, lng ),
map: map,
});
};
/**
*
* show contact form popup
*
*/
$.martanianShowContactPopup = function() {
var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute';
$( '#contact-popup #contact-popup-background' ).fadeIn( 300 );
if( mode == 'absolute' ) $( 'html, body' ).animate({ 'scrollTop': '0' }, 300 );
setTimeout( function() {
if( mode == 'fixed' ) $( '#contact-popup #contact-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50%', 'position': 'fixed' });
else $( '#contact-popup #contact-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'position': 'absolute' });
}, 300 );
};
/**
*
* hide contact form popup
*
*/
$.martanianHideContactPopup = function() {
$( '#contact-popup #contact-popup-content' ).removeClass( 'bounceInDown' ).addClass( 'bounceOutUp' );
setTimeout( function() {
$( '#contact-popup #contact-popup-background' ).fadeOut( 300 );
$( '#contact-popup #contact-popup-content' ).css({ 'top': '-10000px' }).removeClass( 'bounceOutUp' );
}, 300 );
};
/**
*
* hooks to show contact form popup
*
*/
$( '*[data-action="show-contact-popup"]' ).click( function() {
$.martanianShowContactPopup();
});
/**
*
* hooks to hide contact form popup
*
*/
$( '#contact-popup-close' ).click( function() {
$.martanianHideContactPopup();
});
/**
*
* show quote form popup
*
*/
$.martanianShowQuotePopup = function( type ) {
var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute';
var selectedQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' );
$( '#quote-popup #quote-popup-background' ).fadeIn( 300 );
$( '#quote-popup #quote-popup-content #quote-popup-tabs li[data-quote-tab-for="'+ type +'"]' ).addClass( 'active' );
if( mode == 'absolute' ) $( 'html, body' ).animate({ 'scrollTop': '0' }, 300 );
selectedQuoteForm.show();
setTimeout( function() {
if( mode == 'fixed' ) {
selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() });
$( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50%', 'marginTop': - ( selectedQuoteForm.height() / 2 ), 'height': selectedQuoteForm.height(), 'position': 'fixed' });
}
else if( mode == 'absolute' ) {
if( windowWidth > 932 ) {
$( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' });
selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() });
}
else {
if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' });
else {
$( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50, 'position': 'absolute' });
}
}
}
}, 300 );
};
/**
*
* hide quote form popup
*
*/
$.martanianHideQuotePopup = function() {
$( '#quote-popup #quote-popup-content' ).removeClass( 'bounceInDown' ).addClass( 'bounceOutUp' );
setTimeout( function() {
$( '#quote-popup #quote-popup-background' ).fadeOut( 300 );
$( '#quote-popup #quote-popup-content' ).css({ 'top': '-10000px' }).removeClass( 'bounceOutUp' );
$( '#quote-popup #quote-popup-content .quote-form' ).hide();
$( '#quote-popup #quote-popup-content #quote-popup-tabs li' ).removeClass( 'active' );
}, 300 );
};
/**
*
* change quote form in popup
*
*/
$( '#quote-popup-tabs li' ).click( function() {
if( !$( this ).hasClass( 'active' ) ) {
var type = $( this ).data( 'quote-tab-for' );
var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute';
var newQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' );
$( '#quote-popup #quote-popup-content #quote-popup-tabs li' ).removeClass( 'active' );
$( this ).addClass( 'active' );
$( '#quote-popup #quote-popup-content .quote-form' ).fadeOut( 300 );
if( mode == 'fixed' || windowWidth > 932 ) newQuoteForm.children( '.quote-form-background' ).animate({ 'height': newQuoteForm.height() }, 300 );
setTimeout( function() {
$( '#quote-popup #quote-popup-content .quote-form' ).hide();
newQuoteForm.fadeIn( 300 );
if( mode == 'fixed' ) $( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height(), 'marginTop': - ( newQuoteForm.height() / 2 ) }, 300 );
else {
if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height() }, 300 );
else {
$( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50 }, 300 );
}
}
}, 400 );
}
});
/**
*
* hooks to show contact form popup
*
*/
$( '*[data-action="show-quote-popup"]' ).click( function() {
var quoteKey = $( this ).data( 'quote-key' );
if( typeof quoteKey != 'undefined' && quoteKey !== false ) $.martanianShowQuotePopup( quoteKey );
});
/**
*
* hooks to hide quote popup
*
*/
$( '#quote-popup-close' ).click( function() {
$.martanianHideQuotePopup();
});
/**
*
* managing width of images
*
*/
$.martanianManageImages = function() {
if( windowWidth > 1332 ) {
var width = ( windowWidth - 37.5 ) / 2;
var height = 'math';
var margin = width - 531.5;
var padding = 75;
}
else if( windowWidth > 932 ) {
var width = ( windowWidth - 40 ) / 2;
var height = 'math';
var margin = width - 400;
var padding = 50;
}
else if( windowWidth > 582 ) {
var width = ( ( windowWidth - 540 ) / 2 ) + 540;
var height = 300;
var margin = ( windowWidth - 540 ) / 2;
var padding = 50;
}
else {
var width = windowWidth - 30;
var height = 300;
var margin = 0;
var padding = 30;
}
$( '.about-us .right, .agents .right, .contact-full #google-map-full, .box-with-image-right .image' ).css({ 'width': width +'px', 'margin-right': - margin +'px' });
$( '.insurances-slider .images, .box-with-image-left .image, section.quote-forms .quote-form-background' ).css({ 'width': width +'px', 'margin-left': - margin +'px' });
$( '.about-us, .agents' ).each( function() {
var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.left' ).height() + padding : height;
$( this ).children( '.center' ).children( '.right' ).children( '.images-slider' ).css({ 'height': contentHeight });
});
$( '.contact-full' ).each( function() {
var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.left' ).height() + padding : height;
$( this ).children( '.center' ).children( '.right' ).children( '#google-map-full' ).css({ 'height': contentHeight });
});
$( '.box-with-image-left' ).each( function() {
var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.content' ).height() + padding : height;
$( this ).children( '.center' ).children( '.image' ).css({ 'height': contentHeight });
});
$( '.box-with-image-right' ).each( function() {
var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.content' ).height() + padding : height;
$( this ).children( '.center' ).children( '.image' ).css({ 'height': contentHeight });
});
$( 'section.quote-forms' ).each( function() {
var element = $( this );
setTimeout( function() {
var contentHeight = height == 'math' ? element.children( '.center' ).children( '.quote-form-content' ).height() + padding : height;
element.children( '.center' ).children( '.quote-form-background' ).css({ 'height': contentHeight });
}, 100 );
});
};
/**
*
* heading slider
*
*/
$.martanianHeadingSlider = function() {
var currentHeadingSlideID = 1;
var slidesCount = 0;
$( '.heading .heading-slide-single' ).each( function() { slidesCount++; });
setInterval( function() {
$.martanianHideSlide( currentHeadingSlideID );
setTimeout( function() {
currentHeadingSlideID = currentHeadingSlideID + 1 > slidesCount ? 1 : currentHeadingSlideID + 1;
$.martanianShowSlide( currentHeadingSlideID );
}, 400 );
}, 10000 );
};
/**
*
* function hide single heading slide
*
*/
$.martanianHideSlide = function( slideID ) {
var currentSlide = $( '.heading .heading-slide-single[data-slide-id="'+ slideID +'"]' );
currentSlide.children( '.flying-1' ).addClass( 'animated bounceOutLeft' );
currentSlide.children( '.flying-2' ).addClass( 'animated bounceOutRight' );
setTimeout( function() {
currentSlide.children( '.flying-1' ).removeClass( 'animated bounceOutLeft' ).hide();
currentSlide.children( '.flying-2' ).removeClass( 'animated bounceOutRight' ).hide();
currentSlide.children( '.heading-content' ).addClass( 'animated fadeOutUp' );
currentSlide.addClass( 'animated fadeOut' );
setTimeout( function() {
currentSlide.children( '.heading-content' ).removeClass( 'animated fadeOutUp' ).hide();
currentSlide.removeClass( 'animated fadeOut' ).hide();
}, 800 );
}, 400 );
};
/**
*
* function show single heading slide
*
*/
$.martanianShowSlide = function( slideID ) {
var currentSlide = $( '.heading .heading-slide-single[data-slide-id="'+ slideID +'"]' );
currentSlide.children( '.flying-1' ).hide();
currentSlide.children( '.flying-2' ).hide();
currentSlide.children( '.heading-content' ).hide();
currentSlide.addClass( 'animated fadeIn' ).show();
setTimeout( function() {
currentSlide.children( '.flying-1' ).addClass( 'animated bounceInLeft' ).show();
currentSlide.children( '.flying-2' ).addClass( 'animated bounceInRight' ).show();
setTimeout( function() {
currentSlide.children( '.heading-content' ).addClass( 'animated fadeInDown' ).show();
setTimeout( function() {
currentSlide.removeClass( 'animated fadeIn' );
currentSlide.children( '.flying-1' ).removeClass( 'animated bounceInLeft' );
currentSlide.children( '.flying-2' ).removeClass( 'animated bounceInRight' );
currentSlide.children( '.heading-content' ).removeClass( 'animated fadeInDown' );
}, 1000 );
}, 400 );
}, 400 );
};
/**
*
* configure image slider
*
*/
$.martanianConfigureImageSlider = function() {
$( '.about-us .right .images-slider' ).each( function() {
var slider = $( this );
var slideID = 1;
slider.children( '.images-slider-single' ).each( function() {
$( this ).attr( 'data-slide-id', slideID );
slideID++;
});
slider.attr( 'data-active-slide-id', 1 );
slider.attr( 'data-slides-count', slideID - 1 );
});
};
/**
*
* next / prev image
*
*/
$( '.about-us .right .images-slider .images-slider-next' ).click( function() {
var imagesSlider = $( this ).parent().parent();
var currentImageID = parseInt( imagesSlider.data( 'active-slide-id' ) );
var slidesCount = parseInt( imagesSlider.data( 'slides-count' ) );
var nextImageID = currentImageID == slidesCount ? 1 : currentImageID + 1;
imagesSlider.children( '.images-slider-single[data-slide-id="'+ currentImageID +'"]' ).fadeOut( 300 );
imagesSlider.children( '.images-slider-single[data-slide-id="'+ nextImageID +'"]' ).fadeIn( 300 );
imagesSlider.data( 'active-slide-id', nextImageID );
});
$( '.about-us .right .images-slider .images-slider-prev' ).click( function() {
var imagesSlider = $( this ).parent().parent();
var currentImageID = parseInt( imagesSlider.data( 'active-slide-id' ) );
var slidesCount = parseInt( imagesSlider.data( 'slides-count' ) );
var prevImageID = currentImageID == 1 ? slidesCount : currentImageID - 1;
imagesSlider.children( '.images-slider-single[data-slide-id="'+ currentImageID +'"]' ).fadeOut( 300 );
imagesSlider.children( '.images-slider-single[data-slide-id="'+ prevImageID +'"]' ).fadeIn( 300 );
imagesSlider.data( 'active-slide-id', prevImageID );
});
/**
*
* configure insurance slider
*
*/
$.martanianConfigureInsuranceSlider = function() {
if( windowWidth > 1332 ) {
var padding = 75;
var height = 'math';
}
else if( windowWidth > 932 ) {
var padding = 50;
var height = 'math';
}
else {
var padding = 50;
var height = 300;
}
$( '.insurances-slider' ).each( function() {
var slider = $( this ).children( '.center' );
var descriptions = slider.children( '.content' ).children( '.descriptions' );
var activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li.active' ).data( 'insurance-key' );
if( typeof activeInsurance == 'undefined' || activeInsurance === false ) {
activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li' ).first().data( 'insurance-key' );
slider.children( '.content' ).children( '.tabs' ).children( 'li' ).first().addClass( 'active' );
}
descriptions.children( '.description[data-insurance-key="'+ activeInsurance +'"]' ).show();
descriptions.css({ 'height': descriptions.children( '.description[data-insurance-key="'+ activeInsurance +'"]' ).height() });
slider.children( '.images' ).children( '.image[data-insurance-key="'+ activeInsurance +'"]' ).show();
if( height == 'math' ) height = slider.children( '.content' ).height() + padding;
slider.children( '.images' ).css({ 'height': height });
});
};
/**
*
* change insurances slider single slide
*
*/
$( '.insurances-slider .tabs li' ).click( function() {
if( !$( this ).hasClass( 'active' ) ) {
if( windowWidth > 1332 ) {
var space = 213;
}
else if( windowWidth > 932 ) {
var space = 188;
}
var newInsuranceKey = $( this ).data( 'insurance-key' );
var oldInsuranceKey = $( this ).siblings( '.active' ).data( 'insurance-key' );
var slider = $( this ).parent().parent().parent();
var newHeight = 0;
var oldDescription = slider.children( '.content' ).children( '.descriptions' ).children( '.description[data-insurance-key="'+ oldInsuranceKey +'"]' );
var newDescription = slider.children( '.content' ).children( '.descriptions' ).children( '.description[data-insurance-key="'+ newInsuranceKey +'"]' );
$( '.insurances-slider .tabs li' ).removeClass( 'active' );
$( this ).addClass( 'active' );
oldDescription.addClass( 'animated speed fadeOutRight' );
slider.children( '.images' ).children( '.image[data-insurance-key="'+ oldInsuranceKey +'"]' ).fadeOut( 300 );
slider.children( '.images' ).children( '.image[data-insurance-key="'+ newInsuranceKey +'"]' ).fadeIn( 300 );
setTimeout( function() {
newDescription.addClass( 'animated speed fadeInRight' ).show();
newHeight = newDescription.height();
slider.children( '.content' ).children( '.descriptions' ).animate({ 'height': newHeight }, 200 );
slider.children( '.images' ).animate({ 'height': newHeight + space }, 200 );
setTimeout( function() {
oldDescription.removeClass( 'animated speed fadeOutRight' ).hide();
newDescription.removeClass( 'animated speed fadeInRight' );
}, 400 );
}, 300 );
}
});
/**
*
* manage references
*
*/
var referencesInterval = {};
$.martanianManageReferences = function() {
var referenceBoxID = 0;
$( 'section.references' ).each( function() {
referenceBoxID++;
clearInterval( referencesInterval[referenceBoxID] );
if( windowWidth > 1332 ) {
var padding = 150;
}
else if( windowWidth > 932 ) {
var padding = 100;
}
var referencesSection = $( this );
var references = $( this ).children( '.center' ).children( '.right' ).children( '.references' );
var referenceID = 1;
references.children( '.single-reference' ).each( function() {
$( this ).attr( 'data-reference-id', referenceID );
if( referenceID > 1 ) $( this ).hide();
else {
$( this ).show();
references.css({ 'marginTop': '', 'min-height': $( this ).height() });
references.css({ 'marginTop': ( referencesSection.height() - padding - ( $( this ).children( '.single-reference-content' ).height() + 40 ) ) / 2 });
}
referenceID++;
});
if( referenceID > 2 ) {
var currentReference = 1;
referencesInterval[referenceBoxID] = setInterval( function() {
var oldReference = references.children( '.single-reference[data-reference-id="'+ currentReference +'"]' );
currentReference = ( currentReference + 1 ) > ( referenceID - 1 ) ? 1 : currentReference + 1;
var newReference = references.children( '.single-reference[data-reference-id="'+ currentReference +'"]' );
oldReference.addClass( 'animated speed fadeOutLeft' );
newReference.addClass( 'animated speed fadeInLeft' ).show();
references.animate({ 'min-height': newReference.height(), 'marginTop': ( referencesSection.height() - padding - ( newReference.children( '.single-reference-content' ).height() + 40 ) ) / 2 }, 200 );
setTimeout( function() {
oldReference.removeClass( 'animated speed fadeOutLeft' ).hide();
newReference.removeClass( 'animated speed fadeInLeft' );
}, 500 );
}, 5000 );
}
});
};
/**
*
* numbers highlighter
*
*/
$.martanianNumbersHighlighter = function() {
var animation = 'shake';
$( '.key-number-values' ).each( function() {
var parent = $( this );
var boxes = [];
parent.children( '.single' ).each( function() {
boxes.push( $( this ).children( '.number' ) );
});
setInterval( function() {
$( boxes[0][0] ).addClass( 'animated '+ animation );
setTimeout( function() {
$( boxes[1][0] ).addClass( 'animated '+ animation );
setTimeout( function() {
$( boxes[2][0] ).addClass( 'animated '+ animation );
setTimeout( function() {
$( boxes[3][0] ).addClass( 'animated '+ animation );
setTimeout( function() {
$( boxes[0][0] ).removeClass( 'animated '+ animation );
$( boxes[1][0] ).removeClass( 'animated '+ animation );
$( boxes[2][0] ).removeClass( 'animated '+ animation );
$( boxes[3][0] ).removeClass( 'animated '+ animation );
}, 1000 );
}, 400 );
}, 400 );
}, 400 );
}, 5000 );
});
};
/**
*
* checkbox field
*
*/
$( '.checkbox' ).click( function() {
var checkbox = $( this );
var checked = checkbox.attr( 'data-checked' ) == 'yes' ? true : false;
if( checked == true ) {
checkbox.attr( 'data-checked', 'no' );
checkbox.data( 'checked', 'no' );
checkbox.children( '.checkbox-status' ).php( '<i class="fa fa-times"></i>' );
}
else {
checkbox.attr( 'data-checked', 'yes' );
checkbox.data( 'checked', 'yes' );
checkbox.children( '.checkbox-status' ).php( '<i class="fa fa-check"></i>' );
}
});
/**
*
* sliders
*
*/
$.martanianConfigureValueSlider = function() {
$( '#quote-popup .quote-form .slider, section.quote-forms .slider' ).each( function() {
var sliderValueMin = $( this ).data( 'slider-min' );
var sliderValueMax = $( this ).data( 'slider-max' );
var sliderValueStart = $( this ).data( 'slider-start' );
var sliderValueStep = $( this ).data( 'slider-step' );
var sliderID = $( this ).data( 'slider-id' );
$( this ).noUiSlider({ start: sliderValueStart, step: sliderValueStep, range: { 'min': sliderValueMin, 'max': sliderValueMax } });
$( this ).Link( 'lower' ).to( $( '.slider-value[data-slider-id="'+ sliderID +'"] span' ), null, wNumb({ thousand: '.', decimals: '0' }) );
});
};
/**
*
* send quote
*
*/
$( '.send-quote' ).click( function() {
var quoteForm = $( this ).parent();
var quoteFormParent = quoteForm.parent().parent();
var insuranceType = quoteFormParent.data( 'quote-form-for' );
var fields = {};
var fieldID = 0;
var fieldName = '';
var fieldValue = '';
var clientName = '';
var clientEmail = '';
var errorFound = false;
quoteForm.find( '.quote-form-element' ).each( function( fieldID ) {
fieldName = $( this ).attr( 'name' );
if( typeof fieldName == 'undefined' || fieldName === false ) {
fieldName = $( this ).data( 'name' );
}
if( $( this ).hasClass( 'checkbox' ) ) {
fieldValue = $( this ).data( 'checked' ) == 'yes' ? $( this ).children( '.checkbox-values' ).children( '.checkbox-value-checked' ).text() : $( this ).children( '.checkbox-values' ).children( '.checkbox-value-unchecked' ).text();
}
else {
fieldValue = $( this ).is( 'input' ) || $( this ).is( 'select' ) ? $( this ).val() : $( this ).text();
if( ( $( this ).is( 'input' ) && fieldValue == '' ) || ( $( this ).is( 'select' ) && fieldValue == '-' ) ) {
errorFound = true;
$( this ).addClass( 'error' );
}
else {
$( this ).removeClass( 'error' );
}
}
if( $( this ).hasClass( 'quote-form-client-name' ) ) clientName = $( this ).val();
if( $( this ).hasClass( 'quote-form-client-email' ) ) clientEmail = $( this ).val();
fields[fieldID] = { 'name': fieldName, 'value': fieldValue };
fieldID++;
});
if( errorFound == false ) {
$.ajax({ url: '_assets/submit.php',
data: { 'send': 'quote-form', 'values': fields, 'clientName': clientName, 'clientEmail': clientEmail },
type: 'post',
success: function( output ) {
quoteForm.children( '.quote-form-thanks' ).fadeIn( 300 );
}
});
}
});
/**
*
* close quote popup notice
*
*/
$( '.quote-form-thanks-close' ).click( function() {
var parent = $( this ).parent().parent();
parent.fadeOut( 300 );
});
/**
*
* send contact form
*
*/
$( '.send-contact' ).click( function() {
var contactForm = $( this ).parent();
var contactFormParent = contactForm.parent().parent();
var fields = {};
var fieldID = 0;
var fieldName = '';
var fieldValue = '';
var clientName = '';
var clientEmail = '';
var clientMessageTitle = '';
var errorFound = false;
contactForm.find( '.contact-form-element' ).each( function( fieldID ) {
fieldName = $( this ).attr( 'name' );
if( typeof fieldName == 'undefined' || fieldName === false ) {
fieldName = $( this ).data( 'name' );
}
if( $( this ).hasClass( 'checkbox' ) ) {
fieldValue = $( this ).data( 'checked' ) == 'yes' ? $( this ).children( '.checkbox-values' ).children( '.checkbox-value-checked' ).text() : $( this ).children( '.checkbox-values' ).children( '.checkbox-value-unchecked' ).text();
}
else {
fieldValue = $( this ).is( 'input' ) || $( this ).is( 'textarea' ) || $( this ).is( 'select' ) ? $( this ).val() : $( this ).text();
if( ( $( this ).is( 'input' ) && fieldValue == '' ) || ( $( this ).is( 'textarea' ) && fieldValue == '' ) || ( $( this ).is( 'select' ) && fieldValue == '-' ) ) {
errorFound = true;
$( this ).addClass( 'error' );
}
else {
$( this ).removeClass( 'error' );
}
}
if( $( this ).hasClass( 'contact-form-client-name' ) ) clientName = $( this ).val();
if( $( this ).hasClass( 'contact-form-client-email' ) ) clientEmail = $( this ).val();
if( $( this ).hasClass( 'contact-form-client-message-title' ) ) clientMessageTitle = $( this ).val();
fields[fieldID] = { 'name': fieldName, 'value': fieldValue };
fieldID++;
});
if( errorFound == false ) {
$.ajax({ url: '_assets/submit.php',
data: { 'send': 'contact-form', 'values': fields, 'clientName': clientName, 'clientEmail': clientEmail, 'clientMessageTitle': clientMessageTitle },
type: 'post',
success: function( output ) {
contactForm.children( '.contact-form-thanks' ).fadeIn( 300 );
}
});
}
});
/**
*
* close contact popup notice
*
*/
$( '.contact-form-thanks .contact-form-thanks-content .contact-form-thanks-close' ).click( function() {
var parent = $( this ).parent().parent();
parent.fadeOut( 300 );
});
/**
*
* get a phone call
*
*/
$( '.send-phone-call-quote' ).click( function() {
var element = $( this );
var phoneField = element.siblings( '.phone-number' );
var phoneNumber = phoneField.val();
if( phoneNumber == '' ) phoneField.addClass( 'error' );
else {
phoneField.removeClass( 'error' );
$.ajax({ url: '_assets/submit.php',
data: { 'send': 'phone-form', 'phoneNumber': phoneNumber },
type: 'post',
success: function( output ) {
element.siblings( '.call-to-action-thanks' ).fadeIn( 300 );
}
});
}
});
/**
*
* close phone call notice
*
*/
$( '.call-to-action-thanks .call-to-action-thanks-content .call-to-action-thanks-close' ).click( function() {
var parent = $( this ).parent().parent();
parent.fadeOut( 300 );
});
/**
*
* progress bars
*
*/
$.martanianProgressBars = function( progressBars ) {
if( progressBars.hasClass( 'animated-done' ) ) return;
var progressValue = '';
progressBars.children( '.progress-bar' ).each( function() {
var progressBar = $( this ).children( '.progress-bar-value' );
progressValue = progressBar.data( 'value' );
progressBar.animate({ 'width': progressValue }, 900 );
setTimeout( function() {
progressBar.children( '.progress-bar-value-tip' ).fadeIn( 300 );
}, 900 );
});
progressBars.addClass( 'animated-done' );
};
$.martanianProgressBarsAutoload = function() {
setTimeout( function() {
$( '.progress-bars.progress-bars-autoload' ).each( function() {
var progressBars = $( this );
var progressValue = '';
progressBars.children( '.progress-bar' ).each( function() {
var progressBar = $( this ).children( '.progress-bar-value' );
progressValue = progressBar.data( 'value' );
progressBar.animate({ 'width': progressValue }, 900 );
setTimeout( function() {
progressBar.children( '.progress-bar-value-tip' ).fadeIn( 300 );
}, 900 );
});
});
}, 500 );
};
/**
*
* configure insurance slider
*
*/
$.martanianConfigureAgentsSlider = function() {
$( 'section.agents' ).each( function() {
var agentID = 1;
var agentImageID = 1;
var agentsData = $( this ).children( '.center' ).children( '.left' ).children( '.agents-data' );
var agentsImages = $( this ).children( '.center' ).children( '.right' ).children( '.images-slider' );
agentsData.children( '.single-agent' ).each( function() {
$( this ).attr( 'data-agent-id', agentID );
if( agentID == 1 ) {
agentsData.css({ 'height': $( this ).height() - 45 });
var progressBars = $( this ).children( '.progress-bars' );
if( typeof progressBars[0] != 'undefined' && progressBars[0] != '' ) {
setTimeout( function() {
$.martanianProgressBars( progressBars );
}, 300 );
}
}
agentID++;
});
agentsData.attr( 'data-current-agent-id', 1 ).attr( 'data-agents-count', agentID - 1 );
agentsImages.children( '.images-slider-single' ).each( function() {
$( this ).attr( 'data-agent-id', agentImageID );
agentImageID++;
});
});
};
/**
*
* change insurances slider single slide
*
*/
$( '.agents .center .left .switch-agents button' ).click( function() {
var agentsData = $( this ).parent().siblings( '.agents-data' );
var agentsImages = $( this ).parent().parent().siblings( '.right' ).children( '.images-slider' );
var currentAgentID = parseInt( agentsData.attr( 'data-current-agent-id' ) );
var agentsCount = parseInt( agentsData.attr( 'data-agents-count' ) );
var action = $( this ).hasClass( 'prev-agent' ) ? 'prev' : ( $( this ).hasClass( 'next-agent' ) ? 'next' : false );
if( action == false ) return false;
else {
switch( action ) {
case 'prev':
var newAgentID = currentAgentID == 1 ? agentsCount : currentAgentID - 1;
break;
case 'next':
var newAgentID = currentAgentID == agentsCount ? 1 : currentAgentID + 1;
break;
}
agentsData.children( '.single-agent[data-agent-id="'+ currentAgentID +'"]' ).fadeOut( 300 );
agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).fadeIn( 300 );
agentsImages.children( '.images-slider-single[data-agent-id="'+ currentAgentID +'"]' ).fadeOut( 300 );
agentsImages.children( '.images-slider-single[data-agent-id="'+ newAgentID +'"]' ).fadeIn( 300 );
agentsData.attr( 'data-current-agent-id', newAgentID );
agentsData.animate({ 'height': agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).height() - 30 }, 300 );
if( windowWidth > 932 ) agentsImages.animate({ 'height': agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).height() + 124 }, 300 )
var progressBars = agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).children( '.progress-bars' );
if( typeof progressBars[0] != 'undefined' && progressBars[0] != '' ) {
setTimeout( function() {
$.martanianProgressBars( progressBars );
}, 300 );
}
}
});
/**
*
* tabs section
*
*/
$.martanianConfigureTabsSection = function() {
var padding = windowWidth > 1332 ? 150 : 100;
$( 'section.tabs' ).each( function() {
var tabID = 1;
var content = $( this ).children( '.center' ).children( '.content' );
var tabs = $( this ).children( '.center' ).children( '.tabs-selector' );
content.children( '.content-tab-single' ).each( function() {
$( this ).attr( 'data-tab-id', tabID );
if( tabID == 1 ) {
content.css({ 'height': $( this ).height() + padding });
}
tabID++;
});
tabID = 1;
tabs.children( 'li' ).each( function() {
$( this ).attr( 'data-tab-id', tabID );
if( tabID == 1 ) {
$( this ).addClass( 'active' );
}
tabID++;
});
});
};
$.martanianResizeTabsSection = function() {
var padding = windowWidth > 1332 ? 150 : 100;
$( 'section.tabs' ).each( function() {
var content = $( this ).children( '.center' ).children( '.content' );
var activeTabID = $( this ).children( '.center' ).children( '.tabs-selector' ).children( 'li.active' ).data( 'tab-id' );
content.css({ 'height': content.children( '.content-tab-single[data-tab-id="'+ activeTabID +'"]' ).height() + padding });
});
};
$( 'section.tabs .tabs-selector li' ).click( function() {
if( $( this ).hasClass( 'active' ) ) return;
var padding = windowWidth > 1332 ? 150 : 80;
var tabsContent = $( this ).parent().siblings( '.content' );
var newTabID = $( this ).data( 'tab-id' );
var oldTabID = $( this ).siblings( 'li.active' ).data( 'tab-id' );
$( this ).siblings( 'li.active' ).removeClass( 'active' );
$( this ).addClass( 'active' );
tabsContent.children( '.content-tab-single[data-tab-id="'+ oldTabID +'"]' ).fadeOut( 300 );
setTimeout( function() {
tabsContent.children( '.content-tab-single[data-tab-id="'+ newTabID +'"]' ).fadeIn( 300 );
tabsContent.animate({ 'height': tabsContent.children( '.content-tab-single[data-tab-id="'+ newTabID +'"]' ).height() + padding }, 300 );
}, 100 );
});
/**
*
* open menu in responsive mode
*
*/
$( 'header .menu-responsive' ).click( function() {
var menu = $( 'header .menu' );
if( menu.css( 'display' ) == 'block' ) menu.hide();
else {
menu.find( 'ul.submenu' ).removeClass( 'animated' );
menu.show();
}
});
/**
*
* set parallax
*
*/
$.martanianSetParallax = function() {
var speed = windowWidth > 1120 ? 0.25 : 0.1;
$( '.with-parallax' ).css({ 'background-position': '' }).parallax( '50%', speed );
};
/**
*
* resize manager
*
*/
$.martanianResizeManager = function() {
/**
*
* mode
*
*/
var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute';
/**
*
* insurances slider
*
*/
$( '.insurances-slider' ).each( function() {
if( windowWidth > 1332 ) {
var padding = 75;
var height = 'math';
}
else if( windowWidth > 932 ) {
var padding = 50;
var height = 'math';
}
else {
var padding = 50;
var height = 300;
}
var slider = $( this ).children( '.center' );
var activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li.active' ).data( 'insurance-key' );
var image = slider.children( '.images' ).children( '.image[data-insurance-key="'+ activeInsurance +'"]' );
if( height == 'math' ) height = slider.children( '.content' ).height() + padding;
image.css({ 'height': height });
});
/**
*
* quote popup
*
*/
if( $( '#quote-popup #quote-popup-background' ).css( 'display' ) == 'block' ) {
var type = $( '#quote-popup #quote-popup-content #quote-popup-tabs li.active' ).data( 'quote-tab-for' );
var selectedQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' );
setTimeout( function() {
if( mode == 'fixed' ) {
selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() });
$( '#quote-popup #quote-popup-content' ).css({ 'top': '50%', 'marginTop': - ( selectedQuoteForm.height() / 2 ), 'height': selectedQuoteForm.height(), 'position': 'fixed' });
}
else if( mode == 'absolute' ) {
if( windowWidth > 932 ) {
$( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' });
selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() });
}
else {
$( '#quote-popup .quote-form-background' ).css({ 'height': '' });
if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' });
else {
$( '#quote-popup #quote-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50, 'position': 'absolute' });
}
}
}
}, 300 );
}
/**
*
* contact popup
*
*/
if( $( '#contact-popup #contact-popup-background' ).css( 'display' ) == 'block' ) {
setTimeout( function() {
if( mode == 'fixed' ) $( '#contact-popup #contact-popup-content' ).css({ 'top': '50%', 'position': 'fixed', 'marginTop': '-300px' });
else $( '#contact-popup #contact-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'position': 'absolute' });
}, 300 );
}
/**
*
* end of resize manager
*
*/
};
/**
*
* end of file
*
*/
}); | dazmiller/red | public/js/functions.js | JavaScript | mit | 52,773 |
using UnityEngine;
using System.Collections;
public class treasureChest : MonoBehaviour {
string note;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnCollisionEnter2D(Collision2D other)
{
Debug.Log("hello");
GameObject impactor = other.gameObject;
if (impactor.CompareTag("Player") && impactor.name.Equals("character"))
{
Time.timeScale = 0.0f;
GameObject.Find("Canvas").GetComponent<notePanel>().activateReadPanel("Congratulations, you have completed the Adventures of Baldric!");
Destroy(gameObject);
}
}
}
| Liluye/Capstone | AdventuresOfBaldric/Assets/treasureChest.cs | C# | mit | 694 |
module Language.Egison.Typing where
import Data.Set (Set)
import qualified Data.Set as S
import Data.Map (Map)
import qualified Data.Map as M
import Language.Egison.Types
-- I will deprecate this synonym
type EgisonType = EgisonTypeExpr
type TypeVar = String
type ConsName = String
data TypeCons = TCons ConsName -- Name
Int -- Arity
type ClassName = String
type TypeContext = [(ClassName, TypeVar)]
type TypeVarEnv = Set TypeVar
type TypeConsEnv = Map TypeCons Int
type | tokiwoousaka/egison4 | hs-src/Language/Egison/Typing.hs | Haskell | mit | 504 |
#!/bin/sh
# see #35
clib install stephenmathieson/rot132.c > /dev/null 2>&1 && {
echo >&2 "Failed installations should exit with a non-zero exit code"
exit 1
}
exit 0
| clibs/clib | test/gh-35-exit-codes.sh | Shell | mit | 173 |
Take the following steps when releasing a new version of the library to JitPack:
1. Run all unit tests.
2. Run the sample, if available.
3. Increase the `versionCode` and `versionName` in the [root `build.gradle`](../build.gradle),
following the [Semantic Versioning](http://semver.org/) standard.
4. Add the changes to the [CHANGELOG](../CHANGELOG.md).
5. Update the version number in the [README](../README.md).
6. Push the above changes.
7. Create and push a new Git release tag for the new version.
8. Add the release notes on GitHub (usually the same as CHANGELOG description).
Now your apps / other libraries can include this dependency using the new release tag.
| cookingfox/android-app-lifecycle | RELEASING.md | Markdown | mit | 673 |
var mongodb = require('mongodb'),
ObjectId = mongodb.ObjectId;
/**
* Quips Quarantine
**/
var quips_quarantine = function ( app ) {
/**
* Return a list of all (for now) quips in quips_quarantine
**/
app.get('/v1/quips_quarantine', function ( req, res ) {
app.mdbConnect(function ( err, db ) {
db.collection('quips_quarantine').find().toArray(function ( err, results ) {
if (err) { throw err; }
if (results) {
res.setHeader('Content-Type', 'application/json');
res.send(JSON.stringify( results ));
}
db.close();
});
});
});
app.get('/v1/quips_quarantine/:id', function ( req, res ) {
app.mdbConnect(function ( err, db ) {
if (err) { throw err; }
db.collection('quips_quarantine').findOne({ "_id": new ObjectId( req.params.id ) }, function ( err, doc ) {
if (err) { throw err; }
if (doc) {
res.setHeader('Content-Type', 'application/json');
res.send(JSON.stringify( doc ));
}
db.close();
});
});
});
app.get('/v1/quips_quarantine/:id/approve', function ( req, res ) {
app.mdbConnect(function ( err, db ) {
if (err) { throw err; }
db.collection('quips_quarantine').findOne({ "_id": new ObjectId( req.params.id ) }, function ( err, doc ) {
if (err) { throw err; }
if (doc) {
db.collection('quips').insert( doc );
db.collection('quips_quarantine').remove( doc );
res.send(JSON.stringify( doc ));
}
db.close();
});
});
});
app.get('/v1/quips_quarantine/:id/reject', function ( req, res ) {
app.mdbConnect(function ( err, db ) {
if (err) { throw err; }
// db.collection('quips_quarantine').findOne({ "_id": new ObjectId( req.params.id ) }, function ( err, doc ) {
// if (err) { throw err; }
// if (doc) {
// db.collection('quips_quarantine').remove( doc );
// res.send(JSON.stringify( doc ));
// }
// db.close();
// });
});
});
};
module.exports = quips_quarantine; | cannjeff/cq-server | routes/quips_quarantine.js | JavaScript | mit | 1,946 |
from email.mime.text import MIMEText
from smtplib import SMTP
class Gmail(object):
"""Send an email with Google Mail
Can easily be used with other providers
by editing the server and port in send()
Args:
credentials (tuple): (username, password)
"""
def __init__(self, credentials):
self.user, self.password = credentials
def send(self, receiver, subject, body):
"""Send email
Args:
receiver (str): Address of receiver
subject (str): Subject of email
body (str): Body of email
"""
message = MIMEText(body)
message['Subject'] = subject
message['From'] = self.user
message['To'] = receiver
server = SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(self.user, self.password)
server.sendmail(self.user, receiver, message.as_string())
server.quit()
| alexanderteves/OpsBox | mail.py | Python | mit | 937 |
module EntryConf
class Configuration
attr_accessor :content_classes
def initialize
@content_classes = [].freeze
end
end
def self.configuration
@configuration ||= Configuration.new
end
def self.configure
yield configuration
end
end
| hugohernani/church | lib/entry/configuration.rb | Ruby | mit | 272 |
# GuidePage
##guidepage 是一个引导页面的demo。

> 这个主要是给大家提供一个demo,查看demo最简单的方式可以用pod
pod 'LCQGuidePage', '~> 0.0.1' 也可以直接看源码viewcontroller.m
| xunlongdingxue/GuidePage | README.md | Markdown | mit | 338 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ext-lib: 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.7.0 / ext-lib - 0.9.4</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
ext-lib
<small>
0.9.4
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-11-26 07:28:24 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-26 07:28:24 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.7.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "gmalecha@gmail.com"
homepage: "https://github.com/coq-community/coq-ext-lib"
dev-repo: "git+https://github.com/coq-community/coq-ext-lib.git#8.5"
bug-reports: "https://github.com/coq-community/coq-ext-lib/issues"
authors: ["Gregory Malecha"]
license: "BSD-2-Clause-FreeBSD"
build: [
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"ocaml"
"coq" {>= "8.5.0" & < "8.6~"}
]
synopsis: "A library of Coq definitions, theorems, and tactics"
url {
src: "https://github.com/coq-community/coq-ext-lib/archive/v0.9.4.tar.gz"
checksum: "md5=8e04756e88fb108544fbea9c5d9131eb"
}
</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-ext-lib.0.9.4 coq.8.7.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.7.0).
The following dependencies couldn't be met:
- coq-ext-lib -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
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-ext-lib.0.9.4</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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.0/ext-lib/0.9.4.html | HTML | mit | 6,475 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jmlcoq: 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.2 / jmlcoq - 8.13.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
jmlcoq
<small>
8.13.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-24 09:29:54 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-24 09:29:54 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.8.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/coq-community/jmlcoq"
dev-repo: "git+https://github.com/coq-community/jmlcoq.git"
bug-reports: "https://github.com/coq-community/jmlcoq/issues"
license: "MIT"
synopsis: "Coq definition of the JML specification language and a verified runtime assertion checker for JML"
description: """
A Coq formalization of the syntax and semantics of the
Java-targeted JML specification language,
along with a verified runtime assertion checker for JML."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
"coq" {>= "8.10" & < "8.15~"}
]
tags: [
"category:Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms"
"keyword:JML"
"keyword:Java Modeling Language"
"keyword:runtime verification"
"logpath:JML"
"date:2021-08-01"
]
authors: [
"Hermann Lehner"
"David Pichardie"
"Andreas Kägi"
]
url {
src: "https://github.com/coq-community/jmlcoq/archive/v8.13.0.tar.gz"
checksum: "sha512=3d2742d4c8e7f643a35f636aa14292c43b7a91e3d18bcf998c62ee6ee42e9969b59ae803c513d114224725099cb369e62cef8575c3efb0cf26886d8bb8638cca"
}
</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-jmlcoq.8.13.0 coq.8.8.2</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.2).
The following dependencies couldn't be met:
- coq-jmlcoq -> coq >= 8.10
Your request can'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-jmlcoq.8.13.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.8.2/jmlcoq/8.13.0.html | HTML | mit | 7,120 |
<?php
/* @Twig/layout.html.twig */
class __TwigTemplate_14fd6edafabb0aabd141100bb5e628f42686e5ae0ca7d4ffd2d57185f3c83998 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'title' => array($this, 'block_title'),
'head' => array($this, 'block_head'),
'body' => array($this, 'block_body'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_bd021ee689e7f108e975c831b30940c30f24f507cd5c6c09fdac9f452821178d = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_bd021ee689e7f108e975c831b30940c30f24f507cd5c6c09fdac9f452821178d->enter($__internal_bd021ee689e7f108e975c831b30940c30f24f507cd5c6c09fdac9f452821178d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@Twig/layout.html.twig"));
$__internal_836ecac9e6bfe9643e5ccbb971b50b6c2c11ce53f0cb07cf3e9a8b1a747ea468 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_836ecac9e6bfe9643e5ccbb971b50b6c2c11ce53f0cb07cf3e9a8b1a747ea468->enter($__internal_836ecac9e6bfe9643e5ccbb971b50b6c2c11ce53f0cb07cf3e9a8b1a747ea468_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@Twig/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta charset=\"";
// line 4
echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true);
echo "\" />
<meta name=\"robots\" content=\"noindex,nofollow\" />
<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />
<title>";
// line 7
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 8
echo twig_include($this->env, $context, "@Twig/images/favicon.png.base64");
echo "\">
<style>";
// line 9
echo twig_include($this->env, $context, "@Twig/exception.css.twig");
echo "</style>
";
// line 10
$this->displayBlock('head', $context, $blocks);
// line 11
echo " </head>
<body>
<header>
<div class=\"container\">
<h1 class=\"logo\">";
// line 15
echo twig_include($this->env, $context, "@Twig/images/symfony-logo.svg");
echo " Symfony Exception</h1>
<div class=\"help-link\">
<a href=\"https://symfony.com/doc\">
<span class=\"icon\">";
// line 19
echo twig_include($this->env, $context, "@Twig/images/icon-book.svg");
echo "</span>
<span class=\"hidden-xs-down\">Symfony</span> Docs
</a>
</div>
<div class=\"help-link\">
<a href=\"https://symfony.com/support\">
<span class=\"icon\">";
// line 26
echo twig_include($this->env, $context, "@Twig/images/icon-support.svg");
echo "</span>
<span class=\"hidden-xs-down\">Symfony</span> Support
</a>
</div>
</div>
</header>
";
// line 33
$this->displayBlock('body', $context, $blocks);
// line 34
echo " ";
echo twig_include($this->env, $context, "@Twig/base_js.html.twig");
echo "
</body>
</html>
";
$__internal_bd021ee689e7f108e975c831b30940c30f24f507cd5c6c09fdac9f452821178d->leave($__internal_bd021ee689e7f108e975c831b30940c30f24f507cd5c6c09fdac9f452821178d_prof);
$__internal_836ecac9e6bfe9643e5ccbb971b50b6c2c11ce53f0cb07cf3e9a8b1a747ea468->leave($__internal_836ecac9e6bfe9643e5ccbb971b50b6c2c11ce53f0cb07cf3e9a8b1a747ea468_prof);
}
// line 7
public function block_title($context, array $blocks = array())
{
$__internal_1d56bc214c2d73e840233c1cc7a9f54d0ef7009a3649819141e2033ab26e2dae = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_1d56bc214c2d73e840233c1cc7a9f54d0ef7009a3649819141e2033ab26e2dae->enter($__internal_1d56bc214c2d73e840233c1cc7a9f54d0ef7009a3649819141e2033ab26e2dae_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "title"));
$__internal_f0483ee5b975d457eb1c9520efc9d5dfb2de2d30f49eada1b42042dfcfda52cd = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_f0483ee5b975d457eb1c9520efc9d5dfb2de2d30f49eada1b42042dfcfda52cd->enter($__internal_f0483ee5b975d457eb1c9520efc9d5dfb2de2d30f49eada1b42042dfcfda52cd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "title"));
$__internal_f0483ee5b975d457eb1c9520efc9d5dfb2de2d30f49eada1b42042dfcfda52cd->leave($__internal_f0483ee5b975d457eb1c9520efc9d5dfb2de2d30f49eada1b42042dfcfda52cd_prof);
$__internal_1d56bc214c2d73e840233c1cc7a9f54d0ef7009a3649819141e2033ab26e2dae->leave($__internal_1d56bc214c2d73e840233c1cc7a9f54d0ef7009a3649819141e2033ab26e2dae_prof);
}
// line 10
public function block_head($context, array $blocks = array())
{
$__internal_d0936ed7dee8802c04398ea89e43570e86d0c86502620722189f4c839d0c3c7c = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_d0936ed7dee8802c04398ea89e43570e86d0c86502620722189f4c839d0c3c7c->enter($__internal_d0936ed7dee8802c04398ea89e43570e86d0c86502620722189f4c839d0c3c7c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "head"));
$__internal_a3844d16b28cca120098323b462eb07c41cb3be6a53afa92028597323ad17b8f = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_a3844d16b28cca120098323b462eb07c41cb3be6a53afa92028597323ad17b8f->enter($__internal_a3844d16b28cca120098323b462eb07c41cb3be6a53afa92028597323ad17b8f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "head"));
$__internal_a3844d16b28cca120098323b462eb07c41cb3be6a53afa92028597323ad17b8f->leave($__internal_a3844d16b28cca120098323b462eb07c41cb3be6a53afa92028597323ad17b8f_prof);
$__internal_d0936ed7dee8802c04398ea89e43570e86d0c86502620722189f4c839d0c3c7c->leave($__internal_d0936ed7dee8802c04398ea89e43570e86d0c86502620722189f4c839d0c3c7c_prof);
}
// line 33
public function block_body($context, array $blocks = array())
{
$__internal_1a560645990e8d2f4ef326fe57bf2b7a54040f72f295139c201a9f318733e6e6 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_1a560645990e8d2f4ef326fe57bf2b7a54040f72f295139c201a9f318733e6e6->enter($__internal_1a560645990e8d2f4ef326fe57bf2b7a54040f72f295139c201a9f318733e6e6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
$__internal_97d06a59813b0677cc197a22dd8fe89ef1aff8351c779aa8fa01b5f48d2d1b5b = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_97d06a59813b0677cc197a22dd8fe89ef1aff8351c779aa8fa01b5f48d2d1b5b->enter($__internal_97d06a59813b0677cc197a22dd8fe89ef1aff8351c779aa8fa01b5f48d2d1b5b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
$__internal_97d06a59813b0677cc197a22dd8fe89ef1aff8351c779aa8fa01b5f48d2d1b5b->leave($__internal_97d06a59813b0677cc197a22dd8fe89ef1aff8351c779aa8fa01b5f48d2d1b5b_prof);
$__internal_1a560645990e8d2f4ef326fe57bf2b7a54040f72f295139c201a9f318733e6e6->leave($__internal_1a560645990e8d2f4ef326fe57bf2b7a54040f72f295139c201a9f318733e6e6_prof);
}
public function getTemplateName()
{
return "@Twig/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 137 => 33, 120 => 10, 103 => 7, 88 => 34, 86 => 33, 76 => 26, 66 => 19, 59 => 15, 53 => 11, 51 => 10, 47 => 9, 43 => 8, 39 => 7, 33 => 4, 28 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"{{ _charset }}\" />
<meta name=\"robots\" content=\"noindex,nofollow\" />
<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />
<title>{% block title %}{% endblock %}</title>
<link rel=\"icon\" type=\"image/png\" href=\"{{ include('@Twig/images/favicon.png.base64') }}\">
<style>{{ include('@Twig/exception.css.twig') }}</style>
{% block head %}{% endblock %}
</head>
<body>
<header>
<div class=\"container\">
<h1 class=\"logo\">{{ include('@Twig/images/symfony-logo.svg') }} Symfony Exception</h1>
<div class=\"help-link\">
<a href=\"https://symfony.com/doc\">
<span class=\"icon\">{{ include('@Twig/images/icon-book.svg') }}</span>
<span class=\"hidden-xs-down\">Symfony</span> Docs
</a>
</div>
<div class=\"help-link\">
<a href=\"https://symfony.com/support\">
<span class=\"icon\">{{ include('@Twig/images/icon-support.svg') }}</span>
<span class=\"hidden-xs-down\">Symfony</span> Support
</a>
</div>
</div>
</header>
{% block body %}{% endblock %}
{{ include('@Twig/base_js.html.twig') }}
</body>
</html>
", "@Twig/layout.html.twig", "/Users/Rachid/SymfonyProjects/agi_protection/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/layout.html.twig");
}
}
| PeopleBusy/agi_protection | var/cache/dev/twig/2d/2df529e8260e0d526522ec7d0e74d4c4dd6f84f8d4ea428c9ed6ea84b40dd592.php | PHP | mit | 10,452 |
# Contributing
When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
## Pull Request Process
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.
## Code of Conduct
### Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
### Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
### Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
### Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
### Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [fxp61005@gmail.com]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
### Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/ | KodeWorker/Oddyssey | contributing.md | Markdown | mit | 4,214 |
#region * License *
/*
SimpleHelpers - ConfigManager
Copyright © 2013 Khalid Salomão
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER 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.
License: http://www.opensource.org/licenses/mit-license.php
Website: https://github.com/khalidsalomao/SimpleHelpers.Net
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
namespace SimpleHelpers
{
/// <summary>
/// Simple configuration manager to get and set the values in the AppSettings section of the default configuration file.
/// Note: this nuget package contains csharp source code and depends on Generics introduced in .Net 2.0.
/// </summary>
public class ConfigManager
{
private static System.Configuration.Configuration m_instance = null;
private static object m_lock = new object ();
protected static Func<System.Configuration.Configuration> LoadConfiguration;
/// <summary>
/// Singleton initialization.
/// Prepares the LoadConfiguration function specific to the running environment.
/// </summary>
private static System.Configuration.Configuration GetConfig ()
{
if (m_instance == null)
{
lock (m_lock)
{
if (m_instance == null)
{
if (LoadConfiguration == null)
{
// get process name
string processName = System.Diagnostics.Process.GetCurrentProcess ().ProcessName;
string name = processName;
// remove extension
int num = name.LastIndexOf ('.');
if (num > 0)
{
name = name.Substring (0, num);
}
// check name to decide if we are running in a web hosted environment
if (name.Equals ("w3wp", StringComparison.OrdinalIgnoreCase) ||
name.Equals ("aspnet_wp", StringComparison.OrdinalIgnoreCase) ||
name.Equals ("iisexpress", StringComparison.OrdinalIgnoreCase) ||
processName.IndexOf ("webdev.webserver", StringComparison.OrdinalIgnoreCase) == 0)
{ //is web app
LoadConfiguration = () => System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration ("~");
}
else
{ //is windows app
LoadConfiguration = () => System.Configuration.ConfigurationManager.OpenExeConfiguration (System.Configuration.ConfigurationUserLevel.None);
}
}
m_instance = LoadConfiguration ();
}
}
}
return m_instance;
}
/// <summary>
/// Gets or sets the add non existing keys.
/// </summary>
/// <value>The add non existing keys.</value>
public static bool AddNonExistingKeys { get; set; }
/// <summary>
/// Get all configuration keys and values.
/// </summary>
public static IEnumerable<KeyValuePair<string, string>> GetAll ()
{
var cfg = GetConfig ().AppSettings.Settings;
foreach (string key in cfg.AllKeys)
{
yield return new KeyValuePair<string, string> (key, cfg[key].Value);
}
}
/// <summary>
/// Gets the specified key.
/// </summary>
/// <param name="key">The key.</param>
/// <param name="defaultValue">The default value.</param>
/// <returns></returns>
public static T Get<T> (string key, T defaultValue = default(T))
{
var cfg = GetConfig ().AppSettings.Settings;
var item = cfg[key];
if (item != null)
{
return Converter (item.Value, defaultValue);
}
else if (AddNonExistingKeys)
{
Set (key, defaultValue);
}
return defaultValue;
}
/// <summary>
/// Sets the specified key.
/// </summary>
/// <param name="key">The key.</param>
/// <param name="value">The value.</param>
public static void Set<T> (string key, T value)
{
var mgr = GetConfig ();
var cfg = mgr.AppSettings.Settings;
var item = cfg[key];
if (item == null)
{
cfg.Add (key, value.ToString ());
}
else
{
item.Value = value.ToString ();
}
Save ();
}
/// <summary>
/// Sets the specified values.
/// </summary>
/// <param name="values">The values.</param>
public static void Set (IEnumerable<KeyValuePair<string, string>> values)
{
var mgr = GetConfig ();
var cfg = mgr.AppSettings.Settings;
foreach (var i in values)
{
var item = cfg[i.Key];
if (item == null)
{
cfg.Add (i.Key, i.Value);
}
else
{
item.Value = i.Value;
}
}
Save ();
}
/// <summary>
/// Remove the specified key.
/// </summary>
public static void Remove (string key)
{
var mgr = GetConfig ();
var cfg = mgr.AppSettings.Settings;
var item = cfg[key];
if (item != null)
{
cfg.Remove (key);
Save ();
}
}
static bool Save ()
{
try
{
GetConfig ().Save (System.Configuration.ConfigurationSaveMode.Modified);
return true;
}
catch
{
return false;
}
}
/// <summary>
/// Converters the specified input.
/// </summary>
/// <param name="input">The input.</param>
/// <param name="defaultValue">The default value.</param>
/// <returns></returns>
public static T Converter<T> (object input, T defaultValue = default(T))
{
if (input != null)
{
try
{
return (T)Convert.ChangeType (input, typeof (T));
}
catch
{
// return default value in case of a failed convertion
}
}
return defaultValue;
}
}
} | khalidsalomao/SimpleHelpers.Net | SimpleHelpers/ConfigManager.cs | C# | mit | 8,058 |
package raft
import (
"encoding/json"
"io"
"net/http"
"net/url"
"path"
"strconv"
)
// HTTPHandler represents an HTTP endpoint for Raft to communicate over.
type HTTPHandler struct {
log *Log
}
// NewHTTPHandler returns a new instance of HTTPHandler associated with a log.
func NewHTTPHandler(log *Log) *HTTPHandler {
return &HTTPHandler{log: log}
}
// ServeHTTP handles all incoming HTTP requests.
func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
switch path.Base(r.URL.Path) {
case "join":
h.serveJoin(w, r)
case "leave":
h.serveLeave(w, r)
case "heartbeat":
h.serveHeartbeat(w, r)
case "stream":
h.serveStream(w, r)
case "vote":
h.serveRequestVote(w, r)
case "ping":
w.WriteHeader(http.StatusOK)
default:
http.NotFound(w, r)
}
}
// serveJoin serves a Raft membership addition to the underlying log.
func (h *HTTPHandler) serveJoin(w http.ResponseWriter, r *http.Request) {
// TODO(benbjohnson): Redirect to leader.
// Parse argument.
if r.FormValue("url") == "" {
w.Header().Set("X-Raft-Error", "url required")
w.WriteHeader(http.StatusBadRequest)
return
}
// Parse URL.
u, err := url.Parse(r.FormValue("url"))
if err != nil {
w.Header().Set("X-Raft-Error", "invalid url")
w.WriteHeader(http.StatusBadRequest)
return
}
// Add peer to the log.
id, config, err := h.log.AddPeer(u)
if err != nil {
w.Header().Set("X-Raft-Error", err.Error())
w.WriteHeader(http.StatusInternalServerError)
return
}
// Return member's id in the cluster.
w.Header().Set("X-Raft-ID", strconv.FormatUint(id, 10))
w.WriteHeader(http.StatusOK)
// Write config to the body.
_ = json.NewEncoder(w).Encode(config)
}
// serveLeave removes a member from the cluster.
func (h *HTTPHandler) serveLeave(w http.ResponseWriter, r *http.Request) {
// TODO(benbjohnson): Redirect to leader.
// Parse arguments.
id, err := strconv.ParseUint(r.FormValue("id"), 10, 64)
if err != nil {
w.Header().Set("X-Raft-ID", "invalid raft id")
w.WriteHeader(http.StatusBadRequest)
return
}
// Remove a peer from the log.
if err := h.log.RemovePeer(id); err != nil {
w.Header().Set("X-Raft-Error", err.Error())
w.WriteHeader(http.StatusInternalServerError)
return
}
w.WriteHeader(http.StatusOK)
}
// serveHeartbeat serves a Raft heartbeat to the underlying log.
func (h *HTTPHandler) serveHeartbeat(w http.ResponseWriter, r *http.Request) {
var err error
var term, commitIndex, leaderID uint64
// Parse arguments.
if term, err = strconv.ParseUint(r.FormValue("term"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid term")
w.WriteHeader(http.StatusBadRequest)
return
}
if commitIndex, err = strconv.ParseUint(r.FormValue("commitIndex"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid commit index")
w.WriteHeader(http.StatusBadRequest)
return
}
if leaderID, err = strconv.ParseUint(r.FormValue("leaderID"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid leader id")
w.WriteHeader(http.StatusBadRequest)
return
}
// Execute heartbeat on the log.
currentIndex, currentTerm, err := h.log.Heartbeat(term, commitIndex, leaderID)
// Return current term and index.
w.Header().Set("X-Raft-Index", strconv.FormatUint(currentIndex, 10))
w.Header().Set("X-Raft-Term", strconv.FormatUint(currentTerm, 10))
// Write error, if applicable.
if err != nil {
w.Header().Set("X-Raft-Error", err.Error())
w.WriteHeader(http.StatusInternalServerError)
return
}
w.WriteHeader(http.StatusOK)
}
// serveStream provides a streaming log endpoint.
func (h *HTTPHandler) serveStream(w http.ResponseWriter, r *http.Request) {
var err error
var id, index, term uint64
// Parse client's id.
if id, err = strconv.ParseUint(r.FormValue("id"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid id")
w.WriteHeader(http.StatusBadRequest)
return
}
// Parse client's current term.
if term, err = strconv.ParseUint(r.FormValue("term"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid term")
w.WriteHeader(http.StatusBadRequest)
return
}
// Parse starting index.
if s := r.FormValue("index"); s != "" {
if index, err = strconv.ParseUint(r.FormValue("index"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid index")
w.WriteHeader(http.StatusBadRequest)
return
}
}
// TODO(benbjohnson): Redirect to leader.
// Write to the response.
if err := h.log.WriteTo(w, id, term, index); err != nil && err != io.EOF {
w.Header().Set("X-Raft-Error", err.Error())
w.WriteHeader(http.StatusInternalServerError)
return
}
}
// serveRequestVote serves a vote request to the underlying log.
func (h *HTTPHandler) serveRequestVote(w http.ResponseWriter, r *http.Request) {
var err error
var term, candidateID, lastLogIndex, lastLogTerm uint64
// Parse arguments.
if term, err = strconv.ParseUint(r.FormValue("term"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid term")
w.WriteHeader(http.StatusBadRequest)
return
}
if candidateID, err = strconv.ParseUint(r.FormValue("candidateID"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid candidate id")
w.WriteHeader(http.StatusBadRequest)
return
}
if lastLogIndex, err = strconv.ParseUint(r.FormValue("lastLogIndex"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid last log index")
w.WriteHeader(http.StatusBadRequest)
return
}
if lastLogTerm, err = strconv.ParseUint(r.FormValue("lastLogTerm"), 10, 64); err != nil {
w.Header().Set("X-Raft-Error", "invalid last log term")
w.WriteHeader(http.StatusBadRequest)
return
}
// Execute heartbeat on the log.
currentTerm, err := h.log.RequestVote(term, candidateID, lastLogIndex, lastLogTerm)
// Return current term and index.
w.Header().Set("X-Raft-Term", strconv.FormatUint(currentTerm, 10))
// Write error, if applicable.
if err != nil {
w.Header().Set("X-Raft-Error", err.Error())
w.WriteHeader(http.StatusInternalServerError)
return
}
w.WriteHeader(http.StatusOK)
}
| gdi2290/influxdb | raft/handler.go | GO | mit | 6,058 |
package com.machado.waco.fragments;
import java.util.ArrayList;
import java.util.List;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import android.app.Fragment;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;
import com.machado.waco.R;
import com.machado.waco.WacoURLs;
import com.machado.waco.model.Anime;
import com.squareup.picasso.Picasso;
public class SearchFragment extends Fragment {
public static final String TAG = "search_fragment";
private EditText queryEditText;
private ListView resultsList;
private Button submitButton;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
System.out.println("starting oncreateview in searchfrag");
if (submitButton == null) {
System.out.println("button is null");
}
System.out.println("savedInstState is " + (savedInstanceState == null ? "null" : "not null"));
if (getView() == null) {
System.out.println("rootview is null");
}
View rootView = inflater.inflate(R.layout.fragment_search, container, false);
queryEditText = (EditText) rootView.findViewById(R.id.query);
queryEditText.setImeActionLabel("Search", KeyEvent.KEYCODE_ENTER);
queryEditText.setOnEditorActionListener(new OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
startSearch();
return true;
}
});
resultsList = (ListView) rootView.findViewById(R.id.results);
resultsList.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Anime anime = (Anime) parent.getItemAtPosition(position);
getFragmentManager()
.beginTransaction()
.hide(SearchFragment.this)
.add(R.id.container, AnimeFragment.newInstance(anime), anime.id)
.addToBackStack(null)
.commit();
}
});
submitButton = (Button) rootView.findViewById(R.id.submit);
submitButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
startSearch();
}
});
return rootView;
}
private void startSearch() {
queryEditText.setEnabled(false);
submitButton.setEnabled(false);
new SearchTask().execute();
}
class SearchTask extends AsyncTask<Void, Void, Void> {
private List<Anime> animes;
@Override
protected Void doInBackground(Void... params) {
try {
Document searchResponse = Jsoup.connect(WacoURLs.ANIME_SEARCH_URL)
.userAgent("Mozilla")
.header("Content-Type", "application/x-www-form-urlencoded")
.data("queryString", queryEditText.getText().toString())
.data("singleValues", "2")
.post();
Elements results = searchResponse.getElementsByTag("a");
animes = new ArrayList<Anime>();
for (int i = 0; i < results.size(); i++) {
Element result = results.get(i);
Anime anime = new Anime();
String href = result.attr("href");
if (href == null || href.isEmpty()) {
continue;
}
anime.id = href.substring(WacoURLs.ANIME_PREFIX_URL.length());
anime.img_url = result.getElementsByTag("img").first().attr("src");
anime.title = result.getElementsByTag("span").first().text();
animes.add(anime);
}
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
@Override
protected void onPostExecute(Void result) {
ResultsAdapter adapter = new ResultsAdapter(getActivity(), animes);
resultsList.setAdapter(adapter);
submitButton.setEnabled(true);
queryEditText.setEnabled(true);
}
}
class ResultsAdapter extends ArrayAdapter<Anime> {
public ResultsAdapter(Context context, List<Anime> animes) {
super(context, 0, animes.toArray(new Anime[0]));
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
Anime anime = getItem(position);
if (convertView == null) {
convertView = LayoutInflater.from(getContext()).inflate(R.layout.series_result, parent, false);
} else if (convertView.getTag().equals(anime.id)) {
return convertView;
}
convertView.setTag(anime.id);
ImageView img = (ImageView) convertView.findViewById(R.id.series_img);
TextView title = (TextView) convertView.findViewById(R.id.series_title);
title.setText(anime.title);
Picasso.with(getContext()).load(anime.img_url).into(img);
return convertView;
}
}
}
| admiralmachado/WaCO-Player | src/com/machado/waco/fragments/SearchFragment.java | Java | mit | 5,360 |
/*jshint esversion: 6 */
import './flowtext.js';
| mozfet/meteor-autoform-materialize | imports/inputTypes/flowtext/index.js | JavaScript | mit | 50 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-ssreflect: 1 m 46 s 🏆</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.10.1 / mathcomp-ssreflect - 1.12.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-ssreflect
<small>
1.12.0
<span class="label label-success">1 m 46 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-02 09:47:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-02 09:47:12 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
conf-findutils 1 Virtual package relying on findutils
coq 8.10.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
homepage: "https://math-comp.github.io/"
bug-reports: "https://github.com/math-comp/math-comp/issues"
dev-repo: "git+https://github.com/math-comp/math-comp.git"
license: "CECILL-B"
build: [ make "-C" "mathcomp/ssreflect" "-j" "%{jobs}%" ]
install: [ make "-C" "mathcomp/ssreflect" "install" ]
depends: [ "coq" { (>= "8.10" & < "8.15~") } ]
tags: [ "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" "logpath:mathcomp.ssreflect" ]
authors: [ "Jeremy Avigad <>" "Andrea Asperti <>" "Stephane Le Roux <>" "Yves Bertot <>" "Laurence Rideau <>" "Enrico Tassi <>" "Ioana Pasca <>" "Georges Gonthier <>" "Sidi Ould Biha <>" "Cyril Cohen <>" "Francois Garillot <>" "Alexey Solovyev <>" "Russell O'Connor <>" "Laurent Théry <>" "Assia Mahboubi <>" ]
synopsis: "Small Scale Reflection"
description: """
This library includes the small scale reflection proof language
extension and the minimal set of libraries to take advantage of it.
This includes libraries on lists (seq), boolean and boolean
predicates, natural numbers and types with decidable equality,
finite types, finite sets, finite functions, finite graphs, basic arithmetics
and prime numbers, big operators
"""
url {
src: "https://github.com/math-comp/math-comp/archive/mathcomp-1.12.0.tar.gz"
checksum: "sha256=a57b79a280e7e8527bf0d8710c1f65cde00032746b52b87be1ab12e6213c9783"
}
</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-mathcomp-ssreflect.1.12.0 coq.8.10.1</code></dd>
<dt>Return code</dt>
<dd>0</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>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-mathcomp-ssreflect.1.12.0 coq.8.10.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>8 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-mathcomp-ssreflect.1.12.0 coq.8.10.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 46 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 26 M</p>
<ul>
<li>10 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnat.vo</code></li>
<li>2 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/order.glob</code></li>
<li>2 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/order.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/seq.vo</code></li>
<li>905 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/seq.glob</code></li>
<li>664 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finset.glob</code></li>
<li>609 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/bigop.glob</code></li>
<li>598 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finset.vo</code></li>
<li>519 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnat.glob</code></li>
<li>488 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fintype.glob</code></li>
<li>476 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fintype.vo</code></li>
<li>471 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/bigop.vo</code></li>
<li>464 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssreflect.vo</code></li>
<li>460 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/prime.glob</code></li>
<li>447 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/path.vo</code></li>
<li>439 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/prime.vo</code></li>
<li>412 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/path.glob</code></li>
<li>333 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/div.glob</code></li>
<li>294 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fingraph.vo</code></li>
<li>281 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/order.v</code></li>
<li>267 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/div.vo</code></li>
<li>255 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/binomial.vo</code></li>
<li>248 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fingraph.glob</code></li>
<li>221 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/binomial.glob</code></li>
<li>161 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/choice.vo</code></li>
<li>158 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/eqtype.glob</code></li>
<li>155 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finfun.vo</code></li>
<li>147 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/eqtype.vo</code></li>
<li>142 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/seq.v</code></li>
<li>135 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/generic_quotient.vo</code></li>
<li>125 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/tuple.vo</code></li>
<li>119 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrbool.glob</code></li>
<li>104 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/generic_quotient.glob</code></li>
<li>98 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/choice.glob</code></li>
<li>88 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finset.v</code></li>
<li>87 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fintype.v</code></li>
<li>84 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/tuple.glob</code></li>
<li>81 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finfun.glob</code></li>
<li>81 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/bigop.v</code></li>
<li>81 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrAC.vo</code></li>
<li>75 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnat.v</code></li>
<li>61 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/path.v</code></li>
<li>58 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrbool.vo</code></li>
<li>57 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/prime.v</code></li>
<li>38 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/div.v</code></li>
<li>38 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/eqtype.v</code></li>
<li>37 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/fingraph.v</code></li>
<li>31 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrAC.glob</code></li>
<li>29 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/all_ssreflect.vo</code></li>
<li>28 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/choice.v</code></li>
<li>27 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/generic_quotient.v</code></li>
<li>24 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/binomial.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/finfun.v</code></li>
<li>16 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/tuple.v</code></li>
<li>14 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrbool.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrAC.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnotations.vo</code></li>
<li>6 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrfun.vo</code></li>
<li>6 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnotations.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssreflect.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssreflect.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrfun.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrmatching.vo</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrfun.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/all_ssreflect.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/all_ssreflect.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrmatching.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrnotations.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/mathcomp/ssreflect/ssrmatching.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-mathcomp-ssreflect.1.12.0</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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.1/mathcomp-ssreflect/1.12.0.html | HTML | mit | 15,975 |
var ig = {};
// !!! USE YOUR OWN TOKEN
ig.token = '43619676.1677ed0.5ca7163640fc4a7f89ca21dc02475134';
ig.init = function() {
$('.instagram').each(function(i) {
var args = {};
args.container = $(this);
args.userid = args.container.data('userid');
args.limit = args.container.data('limit');
args.feedurl = 'https://api.instagram.com/v1/users/'+args.userid+'/media/recent/?access_token='+ig.token+'&count='+args.limit+'&callback=?';
args.html = '';
// PASS ARGS TO QUERY
ig.query(args);
});
}
ig.query = function(args) {
$.getJSON(args.feedurl, {}, function(data) {
// PASS QUERY DATA TO BUILDER
ig.build(data, args);
});
}
ig.build = function(data, args) {
$.each(data.data,function (i,item) {
console.log(item);
if (item.caption) var caption = item.caption.text;
var thumb = item.images.low_resolution.url;
var img = item.images.standard_resolution.url;
//get 1280 size photo [hack until avail in api]
var hires = img.replace('s640x640', '1080x1080');
args.html += '<a class="image" style="background-image: url('+thumb+');" data-img="'+hires+'">';
if (caption) args.html += '<span class="caption">'+caption+'</span>';
args.html += '</a>';
// PASS TO OUTPUT
ig.output(args);
});
}
ig.output = function(args) {
args.container.html(args.html);
}
ig.view = {
viewer: $('.igviewer'),
image: $('.igviewer img'),
open: function(img) {
ig.view.viewer.removeClass('hidden');
ig.view.image.attr('src', img);
},
close: function() {
ig.view.viewer.addClass('hidden');
ig.view.image.attr('src', '');
}
}
ig.init();
//Listeners
$('.instagram').on('click', '.image', function(){
var img = this.dataset.img;
ig.view.open(img);
});
$('.igviewer').on('click', function(){
ig.view.close();
});
| stalinsky/slider | instagram.js | JavaScript | mit | 1,814 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>V8 API Reference Guide for io.js v2.0.1 - v2.3.0: v8::RegisterState Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for io.js v2.0.1 - v2.3.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="structv8_1_1_register_state.html">RegisterState</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> |
<a href="structv8_1_1_register_state-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">v8::RegisterState Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aa0d0327871d9f95d5e64f47b7f183907"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0d0327871d9f95d5e64f47b7f183907"></a>
void * </td><td class="memItemRight" valign="bottom"><b>pc</b></td></tr>
<tr class="separator:aa0d0327871d9f95d5e64f47b7f183907"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a867bb9d0b9e81c3f7256aa81dc0daee4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a867bb9d0b9e81c3f7256aa81dc0daee4"></a>
void * </td><td class="memItemRight" valign="bottom"><b>sp</b></td></tr>
<tr class="separator:a867bb9d0b9e81c3f7256aa81dc0daee4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaeb80a1d7f6df3ae418f3e9b1295d156"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaeb80a1d7f6df3ae418f3e9b1295d156"></a>
void * </td><td class="memItemRight" valign="bottom"><b>fp</b></td></tr>
<tr class="separator:aaeb80a1d7f6df3ae418f3e9b1295d156"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>deps/v8/include/<a class="el" href="v8_8h_source.html">v8.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 11 2015 23:49:54 for V8 API Reference Guide for io.js v2.0.1 - v2.3.0 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
| v8-dox/v8-dox.github.io | b16d9c2/html/structv8_1_1_register_state.html | HTML | mit | 5,866 |
<?php
/* TwigBundle:Exception:error.rdf.twig */
class __TwigTemplate_948b843bd6b2dcb8dcb68ddbfd737ee5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$this->env->loadTemplate("TwigBundle:Exception:error.xml.twig")->display(array_merge($context, array("exception" => $this->getContext($context, "exception"))));
}
public function getTemplateName()
{
return "TwigBundle:Exception:error.rdf.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 25 => 5, 19 => 1, 70 => 14, 63 => 9, 46 => 14, 22 => 2, 163 => 32, 155 => 50, 152 => 49, 149 => 48, 145 => 46, 139 => 45, 131 => 42, 123 => 41, 120 => 40, 115 => 39, 106 => 36, 101 => 33, 96 => 31, 83 => 25, 80 => 24, 74 => 22, 66 => 20, 55 => 16, 52 => 15, 50 => 14, 43 => 9, 41 => 8, 37 => 8, 35 => 5, 32 => 9, 29 => 6, 184 => 70, 178 => 66, 171 => 62, 165 => 58, 162 => 57, 157 => 56, 153 => 54, 151 => 53, 143 => 48, 138 => 45, 136 => 44, 133 => 43, 130 => 42, 122 => 37, 119 => 36, 116 => 35, 111 => 38, 108 => 37, 102 => 30, 98 => 32, 95 => 28, 92 => 29, 89 => 26, 85 => 24, 81 => 22, 73 => 19, 64 => 19, 60 => 8, 57 => 12, 54 => 6, 51 => 10, 48 => 15, 45 => 8, 42 => 12, 39 => 11, 36 => 5, 33 => 7, 30 => 3,);
}
}
| zadav/Symfony21 | app/cache/dev/twig/94/8b/843bd6b2dcb8dcb68ddbfd737ee5.php | PHP | mit | 1,612 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stalmarck: 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.5.2 / stalmarck - 8.6.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
stalmarck
<small>
8.6.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-03-05 04:46:21 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-05 04:46:21 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 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.5.2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-community/stalmarck"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Stalmarck"]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.7~"}
]
tags: [ "keyword: boolean formula" "keyword: tautology checker" "category: Computer Science/Decision Procedures and Certified Algorithms/Decision procedures" "category: Miscellaneous/Extracted Programs/Decision procedures" "date: 2000" ]
authors: [ "Pierre Letouzey" "Laurent Théry" ]
bug-reports: "https://github.com/coq-community/stalmarck/issues"
dev-repo: "git+https://github.com/coq-community/stalmarck.git"
synopsis: "Proof of Stalmarck's algorithm"
description: """
A two-level approach to prove tautology
using Stalmarck's algorithm."""
flags: light-uninstall
url {
src: "https://github.com/coq-community/stalmarck/archive/v8.6.0.tar.gz"
checksum: "md5=5d5b5316fd65d219d53014f465dfa340"
}
</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-stalmarck.8.6.0 coq.8.5.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.5.2).
The following dependencies couldn't be met:
- coq-stalmarck -> coq >= 8.6
Your request can'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-stalmarck.8.6.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://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</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>
| coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.2/stalmarck/8.6.0.html | HTML | mit | 7,009 |
<?php
/**
* Dibs A/S
* Dibs Payment Extension
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* @category Payments & Gateways Extensions
* @package Dibspw_Dibspw
* @author Dibs A/S
* @copyright Copyright (c) 2010 Dibs A/S. (http://www.dibs.dk/)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
class Dibspw_Dibspw_Model_System_Config_Source_Dibspaytypes {
public function toOptionArray() {
return array(
array('value' => 'DIBS', 'label' => Mage::helper('adminhtml')->__('DIBS Contracted Paytypes')),
array('value' => 'PBB', 'label' => Mage::helper('adminhtml')->__('DIBS PayByBill')),
array('value' => 'MC', 'label' => Mage::helper('adminhtml')->__('MasterCard')),
array('value' => 'MTRO', 'label' => Mage::helper('adminhtml')->__('Maestro')),
array('value' => 'VISA', 'label' => Mage::helper('adminhtml')->__('Visa')),
array('value' => 'ELEC', 'label' => Mage::helper('adminhtml')->__('Visa Electron')),
array('value' => 'DIN', 'label' => Mage::helper('adminhtml')->__('Diners Club')),
array('value' => 'AMEX', 'label' => Mage::helper('adminhtml')->__('American Express')),
array('value' => 'DK', 'label' => Mage::helper('adminhtml')->__('Dankort')),
array('value' => 'EDK', 'label' => Mage::helper('adminhtml')->__('eDankort')),
array('value' => 'SEB', 'label' => Mage::helper('adminhtml')->__('SEB Direktbetalning')),
array('value' => 'SHB', 'label' => Mage::helper('adminhtml')->__('SHB Direktbetalning')),
array('value' => 'FSB', 'label' => Mage::helper('adminhtml')->__('Swedbank Direktbetalning')),
array('value' => 'SOLO', 'label' => Mage::helper('adminhtml')->__('Nordea Solo-E betalning')),
array('value' => 'DNB', 'label' => Mage::helper('adminhtml')->__('Danske Netbetaling (Danske Bank)')),
array('value' => 'MOCA', 'label' => Mage::helper('adminhtml')->__('Mobilcash')),
array('value' => 'BAX', 'label' => Mage::helper('adminhtml')->__('BankAxess')),
array('value' => 'FFK', 'label' => Mage::helper('adminhtml')->__('Forbrugsforeningen Card')),
array('value' => 'JCB', 'label' => Mage::helper('adminhtml')->__('JCB (Japan Credit Bureau)')),
array('value' => 'AKTIA', 'label' => Mage::helper('adminhtml')->__('Aktia Web Payment')),
array('value' => 'ELV', 'label' => Mage::helper('adminhtml')->__('Bank Einzug (eOLV)')),
array('value' => 'EW', 'label' => Mage::helper('adminhtml')->__('eWire')),
array('value' => 'GIT', 'label' => Mage::helper('adminhtml')->__('Getitcard')),
array('value' => 'VAL', 'label' => Mage::helper('adminhtml')->__('Valus')),
array('value' => 'ING', 'label' => Mage::helper('adminhtml')->__('ING iDeal Payment'))
);
}
}
| DIBS-Payment-Services/Magento | src/Dibspw/app/code/community/Dibspw/Dibspw/Model/System/Config/Source/Dibspaytypes.php | PHP | mit | 3,372 |
'use strict';
var handyJS = {};
'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
handyJS.ajax = {};
handyJS.ajax.request = function (options) {
var self = this;
var blankFun = function blankFun() {};
self.xhr = new XMLHttpRequest();
if (options.method === undefined) {
options.method = 'GET';
} else {
options.method = options.method.toUpperCase();
}
if (options.async === undefined) {
options.async = true;
}
if (!options.data) {
options.segments = null;
} else if (!Array.isArray(options.data)) {
throw Error('Option.data must be an Array.');
} else if (options.data.length === 0) {
options.segments = null;
} else {
//detect the form to send data.
if (options.method === 'POST') {
options.data.forEach(function (segment) {
if (segment === null) {
throw Error('Do not send null variable.');
} else if ((typeof segment === 'undefined' ? 'undefined' : _typeof(segment)) === 'object') {
for (var key in segment) {
if (segment.hasOwnProperty(key)) {
if (segment[key] === undefined) {
continue;
}
if (segment[key] instanceof Blob) {
if (options.enctype === undefined) {
options.enctype = 'FORMDATA';
break;
}
if (options.enctype.toUpperCase() !== 'FORMDATA') {
throw Error('You have to set dataForm to \'FormData\'' + ' because you about to send file, or just ignore this property.');
}
}
if (options.enctype === undefined) {
options.enctype = 'URLENCODE';
}
}
}
} else {
throw Error('You have to use {key: value} structure to send data.');
}
});
} else {
options.enctype = 'URLINLINE';
}
}
//transform some type of value
var transformValue = function transformValue(value) {
if (value === null) {
return '';
}
if (value === undefined) {
return '';
}
switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) {
case 'object':
if (value instanceof Blob) {
return value;
} else {
return JSON.stringify(value);
}
break;
case 'string':
return value;
default:
return value;
}
};
//encode uri string
//Copied from MDN, if wrong, pls info me.
var encodeUriStr = function encodeUriStr(str) {
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
return '%' + c.charCodeAt(0).toString(16);
});
};
//add event handler. These handlers must added before open method.
//set blank functions
options.onProgress = options.onProgress || blankFun;
options.onComplete = options.onComplete || blankFun;
options.onFailed = options.onFailed || blankFun;
options.onCanceled = options.onCanceled || blankFun;
options.onLoadEnd = options.onLoadEnd || blankFun;
self.xhr.addEventListener('progress', options.onProgress);
self.xhr.addEventListener('load', options.onComplete);
self.xhr.addEventListener('error', options.onFailed);
self.xhr.addEventListener('abort', options.onCanceled);
self.xhr.addEventListener('loadend', options.onLoadEnd);
self.xhr.open(options.method, options.url, options.async, options.user, options.password);
//digest the data decided by encode type
//header setting must be done here
switch (options.enctype.toUpperCase()) {
case 'FORMDATA':
console.log('Encode data as FormData type.');
options.segments = new FormData();
options.data.forEach(function (segment) {
if (segment.fileName) {
for (var key in segment) {
if (segment.hasOwnProperty(key)) {
if (key !== 'fileName') {
options.segments.append(key, segment[key], segment.fileName);
}
}
}
} else {
for (var _key in segment) {
if (segment.hasOwnProperty(_key)) {
options.segments.append(_key, transformValue(segment[_key]));
}
}
}
});
break;
case 'URLINLINE':
console.log('Encode data as url inline type.');
options.segments = null;
options.data.forEach(function (segment, index) {
for (var key in segment) {
if (segment.hasOwnProperty(key)) {
var value = encodeUriStr(transformValue(segment[key]));
if (index === 0) {
options.url = options.url + '?' + value;
} else {
options.url = options.url + '&' + value;
}
}
}
});
break;
case 'URLENCODE':
console.log('Encode data as url encode type.');
self.xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
options.segments = '';
options.data.forEach(function (segment, index) {
for (var key in segment) {
if (segment.hasOwnProperty(key)) {
var value = encodeUriStr(transformValue(segment[key]));
if (index === 0) {
options.segments = options.segments + key + '=' + value;
} else {
options.segments = options.segments + '&' + key + '=' + value;
}
}
}
});
break;
}
self.xhr.send(options.segments);
};
handyJS.ajax.post = function (url, data, cb) {
var self = this;
self.request({
method: 'POST',
url: url,
data: data,
onComplete: function onComplete() {
//get response content types
var contentType = handyJS.string.removeWhitespace(this.getResponseHeader('content-type').toLowerCase()).split(';');
//callback with probably variables.
if (contentType.indexOf('application/json') === -1) {
cb(this.responseText);
} else {
cb(JSON.parse(this.responseText));
}
}
});
};
'use strict';
//All bout file manipulate
handyJS.file = {};
// sources:
// http://stackoverflow.com/questions/190852/how-can-i-get-file-extensions-with-javascript
handyJS.file.getExtension = function (fileName) {
return fileName.slice((Math.max(0, fileName.lastIndexOf('.')) || Infinity) + 1);
};
//usage: changeFileName('ding.js', 'dong'); => dong.js
handyJS.file.changeName = function (originalName, newName) {
var extension = this.getExtension(originalName);
return newName + '.' + extension;
};
'use strict';
handyJS.string = {};
//remove whitespace, tab and new line
handyJS.string.removeAllSpace = function (string) {
return string.replace(/\s/g, '');
};
//only remove whitespace
handyJS.string.removeWhitespace = function (string) {
return string.replace(/ /g, '');
};
"use strict"; | elantion/handyJS | browser/handy.js | JavaScript | mit | 6,405 |
<!DOCTYPE html>
<html>
<head>
<title>Instagram</title>
<meta name="description" content="Instagram">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/templatemo-style.css">
<link rel="stylesheet" type="text/css" href="css/profilepage-custom.css">
<link rel="stylesheet" type="text/css" href="css/upload-button.css">
<script src="js/upload.msg.js"></script>
<script src="js/jquery.min.js"></script>
<script>
// Check scroll position and add/remove background to navbar
function checkScrollPosition() {
if($(window).scrollTop() > 50) {
$(".fixed-header").addClass("scroll");
} else {
$(".fixed-header").removeClass("scroll");
}
}
$(document).ready(function () {
checkScrollPosition();
// nav bar
$('.navbar-toggle').click(function(){
$('.main-menu').toggleClass('show');
});
$('.main-menu a').click(function(){
$('.main-menu').removeClass('show');
});
});
</script>
</head>
<body>
<div class="fixed-header">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home.php">Instagram</a>
</div>
<nav class="main-menu">
<ul>
<li>
<form action="upload.php" method="post" enctype="multipart/form-data">
<div class="file-upload">
<label for="upload" class="file-upload__label">Upload</label>
<input id="upload" class="file-upload__input" type="file" name="file-upload" onchange="this.form.submit()">
</div>
</form>
</li>
<li><a href="search.php">Search</a></li>
<li><a href="profile.php" class="external">Profile</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</nav>
</div>
</div>
<br><br><br>
| sskender/instagram | instagram/resources/includes/header.php | PHP | mit | 3,219 |
var Chat = function(socket) {
this.socket = socket;
};
// function to send chat messages
Chat.prototype.sendMessage = function(room, text) {
var message = {
room: room,
text: text
};
this.socket.emit('message', message);
};
// function to change rooms
Chat.prototype.changeRoom = function(room) {
this.socket.emit('join', {
newRoom: room
});
};
// processing chat commands
Chat.prototype.processCommand = function(command) {
var words = command.split(' ');
var command = words[0]
.substring(1, words[0].length)
.toLowerCase(); // parse command from first word
var message = false;
switch(command) {
case 'join':
words.shift();
var room = words.join(' ');
this.changeRoom(room); // handle room changing/creating
break;
case 'nick':
words.shift();
var name = words.join(' ');
this.socket.emit('nameAttempt', name); // handle name-change attempts
break;
default:
message = 'Unrecognized command.'; // return error message if command isn't Unrecognized
break;
}
return message;
}; | nubilfi/Nodejs-In-Action | node programming fundamentals/chatrooms/public/javascripts/chat.js | JavaScript | mit | 1,233 |
<?php
namespace App\Member\Models;
class Consignee extends \App\Common\Models\Member\Consignee
{
public function getDefaultSort()
{
$sort = array();
$sort['is_default'] = -1;
return $sort;
}
/**
* 根据会员ID列表获取列表信息
*
* @param string $member_id
* @param boolean $is_default
* @return array
*/
public function getListByMemberId($member_id, $is_default = false)
{
$query = array(
'member_id' => $member_id
);
$sort = $this->getDefaultSort();
if (!empty($is_default)) {
$query['is_default'] = $is_default;
}
$list = $this->findAll($query, $sort);
$ret = array();
if (!empty($list)) {
foreach ($list as $item) {
$ret[$item['_id']] = $item;
}
}
return $ret;
}
/**
* 新增和修改处理
*
* @param string $member_id
* @param string $member_id
* @param string $name
* @param int $province
* @param int $city
* @param int $district
* @param string $address
* @param string $zipcode
* @param string $telephone
* @param string $mobile
* @param boolean $is_default
* @return array
*/
public function insertOrUpdate($id, $member_id, $name, $province, $city, $district, $address, $zipcode, $telephone, $mobile, $is_default)
{
$data = array();
$data['name'] = $name;
$data['member_id'] = $member_id;
$data['province'] = $province;
$data['city'] = $city;
$data['district'] = $district;
$data['address'] = $address;
$data['zipcode'] = $zipcode;
$data['telephone'] = $telephone;
$data['mobile'] = $mobile;
$data['is_default'] = $is_default;
if (empty($id)) {
return $this->insert($data);
} else {
$query = array(
'_id' => $id,
'member_id' => $member_id
);
$this->update($query, array(
'$set' => $data
));
}
}
/**
* 设置默认地址
*
* @param string $id
*/
public function setDefault($id)
{
$query = array(
'_id' => array(
'$ne' => $id
)
);
$data = array();
$data['is_default'] = false;
$this->update($query, array(
'$set' => $data
));
$query = array(
'_id' => $id
);
$data = array();
$data['is_default'] = true;
$this->update($query, array(
'$set' => $data
));
}
}
| handsomegyr/models | lib/App/Member/Models/Consignee.php | PHP | mit | 2,893 |
<h1>Kills</h1>
<div class="row">
<div class="col-md-6">
<h3>Maps</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Map Name</th>
<th>Top Killer</th>
<th>Top Victim</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="map in objectToArray(killsStats.maps)">
<td>{{ map.name | MapNameFilter}}</td>
<td>
<div ng-repeat="topKiller in map.topKillers">
{{ topKiller.name}} ({{topKiller.kills.length}})
</div>
</td>
<td>
<div ng-repeat="topVictim in map.topVictims">
{{ topVictim.name}} ({{topVictim.deaths.length}})
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-3">
<h3>
Humilators
</h3>
<div class="panel-group" id="accordion" >
<div ng-repeat="player in killsStats.humiliations | orderBy: '-count'" collapsible-player-data
player="player" players-list="player.victims" collapsible-style="success" collapsible-id-prefix="'humiliation'"></div>
</div>
</div>
<div class="col-md-3">
<h3>
Fifth Column
</h3>
<div class="panel-group" id="accordion" >
<div ng-repeat="player in killsStats.teammatesKills | orderBy: '-count'" collapsible-player-data
player="player" players-list="player.victims" collapsible-style="warning" collapsible-id-prefix="'fifthColumn'"></div>
</div>
</div>
</div>
<h3>Killer/Victim</h3>
<div class="row">
<div class="col-md-12">
<table class="table table-bordered">
<colgroup></colgroup>
<colgroup ng-repeat="killer in playersSortedByKills" ng-class="{'table-hover': hoveredColumn == $index}"></colgroup>
<colgroup></colgroup>
<tbody ng-mouseout="onLeaveTable()">
<tr>
<td>Killer/Victim</td>
<td ng-repeat="player in playersSortedByKills"><a ng-href="/{{gameId}}/players/{{player.name}}">{{player.name}}</a></td>
<td><b>Total Kills</b></td>
</tr>
<tr ng-repeat="killer in playersSortedByKills"
ng-class="{'table-hover': hoveredRow == $index}">
<td><b><a ng-href="/{{gameId}}/players/{{killer.name}}">{{killer.name}}</a></b></td>
<td ng-repeat="victim in playersSortedByKills" style="text-align:center;" ng-class="{danger: killer.name==victim.name}"
ng-mouseover="onTableHover($parent.$index, $index)">{{getTotalKillsByPlayers(killer.name, victim.name)}}</td>
<td style="text-align:center;"><b>{{getTotalKills(killer.name)}}</b></td>
</tr>
<tr>
<td><b>Total Deaths</b></td>
<td ng-repeat="player in playersSortedByKills" style="text-align:center;"><b>{{getTotalDeaths(player.name)}}</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div> | mbarzeev/quake-stats | app/views/kills.html | HTML | mit | 3,268 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.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 */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+eMgQ77v3Xf3Pe51YKGqqisAEwCR1TIAsiAIblSo6xrdHeJR85Xle3mdmCQKb0PsfqyxxzM8K15HZADl/H5+sHpZwYfxyRjTs+kWwKBx8yoHd2mRiuzF8mkJniWH/13u3Fjrs/EdhsdDFHGB/DLXEJBDLh1MWPAhPo1BLB4WX5yQywHR+m3tVe/t97D52CB/ziG0nIgD/qDuYg8WuCcVZ2YGwlJ3YDugkpR/VNcAEx6GEKhERSr71FuO4YCM4XBdwKvecjIlkSnsO0Hyp/GxSeJAdzBKzpOtnPwyyiPdAZhpZptT04tU+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 */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* 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 */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* 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 */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
33ed3532-6079-45a8-be2c-cb315ade314a
</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="#Mono.Cecil.Pdb">Mono.Cecil.Pdb</a></strong></td>
<td class="text-center">97.84 %</td>
<td class="text-center">93.88 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">93.88 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
<a name="Mono.Cecil.Pdb"><h3>Mono.Cecil.Pdb</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.ArrayList</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.Object)</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 style="padding-left:2em">ToArray(System.Type)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Diagnostics.SymbolStore.SymAddressKind</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Diagnostics.SymbolStore.SymbolToken</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(System.Int32)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Diagnostics.SymbolStore.SymDocumentType</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">Text</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Guid</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(System.UInt32,System.UInt16,System.UInt16,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.File</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">Delete(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">Exists(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">OpenRead(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileStream</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.Stream</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p>
<a href="#Portability Summary">Back to Summary</a>
</p>
</div>
</div>
</body>
</html> | kuhlenh/port-to-core | Reports/mo/mono.cecil.0.9.6.1/Mono.Cecil.Pdb-net35.html | HTML | mit | 21,656 |
<?php
require_once 'conexion.php';
$orgId = $_POST['orgId'];
$eventId = $_POST['idEvent'];
$query = "CALL pa_registrar_orgs_por_evento" . "('$orgId',$eventId)";
$result = $conexion->query($query);
if(!$result)die($conexion->error);
echo json_encode($result);
?>
| jleiva/magki | prototipo/services/registrar_orgs_por_evento.php | PHP | mit | 288 |
<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script>
function initialize_map() {
var mapOptions = {
zoom: 14,
center: new google.maps.LatLng(45.4368799, 10.9720487),
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
var stazione_portanuova = new google.maps.Marker({
position: new google.maps.LatLng(45.428671, 10.982607),
map: map,
icon: 'img/marker_trasporti.png',
title:"Stazione Verona Porta Nuova"
});
var HSM = new google.maps.Marker({
position: new google.maps.LatLng(45.4399785, 10.9697421),
map: map,
icon: 'img/marker_i3p.png',
title:"Hotel San Marco"
});
}
</script>
<a name="location"></a>
<section class="alpha_32">
<div class="container group">
<h3 class="column_12">Location</h3>
<div class="column_6 map">
<div id="map_canvas"></div>
</div>
<div class="column_6 legend right">
<dl>
<dt class="event_location"><span><strong>Event location</strong></span></dt>
<dd class="event_location">
<a href="http://www.sanmarco.vr.it/">{{ page.location_name}} </a><br/>
{{ page.location_address }}<br/>
{{ page.location_city }}
</dd>
<!-- <dt class="eat"><span><strong>Dove mangiare</strong></span></dt>
<dd>Ristoranti</dd> -->
<dt class="get_to"><span><strong>Come arrivare</strong></span></dt>
<dd>Stazione FS</dd>
<!-- <dt class="stay"><span><strong>Dove dormire</strong></span></dt>
<dd>Alberghi</dd> -->
</dl>
</div>
<div class="clear"></div>
<div class="column_3">
<h5>In auto</h5>
<p><strong>Dall'uscita A4 Verona Sud</strong>: Segui le indicazioni per Fiera - Verona Centro. Procedi su Via delle Nazioni, prosegui su Viale del Lavoro e quindi Viale del Piave. Arrivato in Piazzale Porta Nuova gira a sinistra. Segui Viale Luciano Dal Cero, procedi verso Porta Palio; alla rotonda procedi dritto su Viale Colonnello Galliano. Al primo semaforo gira a sinistra in Via San Marco. L'hotel si trova sulla sinistra, all'altezza del primo semaforo.</p>
</div>
<div class="column_3">
<h5>In treno</h5>
<p>
<strong>Dalla stazione di Verona Porta Nuova (Frecciargento)</strong>: raggiungere l'hotel dalla stazione dei treni è molto facile, basta prendere l'autobus numero 11 o 95 alla fermata "C", in direzione "Chievo". La fermata di arrivo è "VIA LONGHENA 40", a due passi dall'hotel; se perdi questa fermata, scendi a "VIALE MANZONI 21/B" che si trova a 300 metri.<br>
È anche possibile prendere un taxi, si trovano vicino all'uscita della stazione, sulla destra.<br>
Se ti piace camminare, l'hotel può essere raggiunto a piedi dalla stazione in circa 20 minuti.
</p>
</div>
<div class="column_3">
<h5>In aereo</h5>
<p>
<strong>Dall'aeroporto Verona Villafranca</strong>: prendi il bus del <a href="http://www.aeroportoverona.it/en/aerobus_t2" target="_blank">Servizio Aerobus</a> fino alla stazione di Verona Porta Nuova, la fermata si trova appena fuori dal terminal arrivi. Le corse iniziano alle 6:30, ogni 20 minuti. Arrivato alla stazione segui le indicazioni alla sezione "In treno"
</p>
</div>
<div class="column_3">
<h5>Hotel</h5>
<p>
<a href="http://www.sanmarco.vr.it/" target="_blank">Hotel San Marco</a>
Via Longhena, 42<br>
37138 Verona — Italy<br>
045569011<br>
045572299<br>
<a href="http://www.sanmarco.vr.it/" target="_blank">http://www.sanmarco.vr.it/</a><br>
<br>
L'hotel che ospita la conferenza offre prezzi scontati per camere singole e doppie.
</p>
</div>
</div>
<div class="clear"></div>
| GrUSP/2016.containerday.it | _includes/places/verona-hotel-san-marco-it.html | HTML | mit | 3,687 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About VPSCoin</source>
<translation>О VPSCoin</translation>
</message>
<message>
<location line="+39"/>
<source><b>VPSCoin</b> version</source>
<translation><b>VPSCoin</b> версия</translation>
</message>
<message>
<location line="+41"/>
<source>Copyright © 2009-2014 The Bitcoin developers
Copyright © 2012-2014 The NovaCoin developers
Copyright © 2014 The VPSCoin developers</source>
<translation>Все права защищены © 2009-2014 Разработчики Bitcoin
Все права защищены © 2012-2014 Разработчики NovaCoin
Все права защищены © 2014 Разработчики VPSCoin</translation>
</message>
<message>
<location line="+15"/>
<source>
This is experimental software.
Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source>
<translation>
Это экспериментальная программа.
Распространяется на правах лицензии MIT/X11, см. файл license.txt или http://www.opensource.org/licenses/mit-license.php.
Этот продукт включает ПО, разработанное OpenSSL Project для использования в OpenSSL Toolkit (http://www.openssl.org/) и криптографическое ПО, написанное Eric Young (eay@cryptsoft.com) и ПО для работы с UPnP, написанное Thomas Bernard.</translation>
</message>
</context>
<context>
<name>AddressBookPage</name>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>Address Book</source>
<translation>Адресная книга</translation>
</message>
<message>
<location line="+22"/>
<source>Double-click to edit address or label</source>
<translation>Для того, чтобы изменить адрес или метку давжды кликните по изменяемому объекту</translation>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation>Создать новый адрес</translation>
</message>
<message>
<location line="+14"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation>Копировать текущий выделенный адрес в буфер обмена</translation>
</message>
<message>
<location line="-11"/>
<source>&New Address</source>
<translation>&Новый адрес</translation>
</message>
<message>
<location line="-46"/>
<source>These are your VPSCoin 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>Это Ваши адреса для получения платежей. Вы можете дать разные адреса отправителям, чтобы отслеживать, кто именно вам платит.</translation>
</message>
<message>
<location line="+60"/>
<source>&Copy Address</source>
<translation>&Копировать адрес</translation>
</message>
<message>
<location line="+11"/>
<source>Show &QR Code</source>
<translation>Показать &QR код</translation>
</message>
<message>
<location line="+11"/>
<source>Sign a message to prove you own a VPSCoin address</source>
<translation>Подписать сообщение, чтобы доказать владение адресом VPSCoin</translation>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation>&Подписать сообщение</translation>
</message>
<message>
<location line="+25"/>
<source>Delete the currently selected address from the list</source>
<translation>Удалить выбранный адрес из списка</translation>
</message>
<message>
<location line="-14"/>
<source>Verify a message to ensure it was signed with a specified VPSCoin address</source>
<translation>Проверить сообщение, чтобы убедиться, что оно было подписано указанным адресом VPSCoin</translation>
</message>
<message>
<location line="+3"/>
<source>&Verify Message</source>
<translation>&Проверить сообщение</translation>
</message>
<message>
<location line="+14"/>
<source>&Delete</source>
<translation>&Удалить</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+65"/>
<source>Copy &Label</source>
<translation>Копировать &метку</translation>
</message>
<message>
<location line="+2"/>
<source>&Edit</source>
<translation>&Правка</translation>
</message>
<message>
<location line="+250"/>
<source>Export Address Book Data</source>
<translation>Экспортировать адресную книгу</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Текст, разделённый запятыми (*.csv)</translation>
</message>
<message>
<location line="+13"/>
<source>Error exporting</source>
<translation>Ошибка экспорта</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Невозможно записать в файл %1.</translation>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<location filename="../addresstablemodel.cpp" line="+144"/>
<source>Label</source>
<translation>Метка</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Адрес</translation>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation>[нет метки]</translation>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<location filename="../forms/askpassphrasedialog.ui" line="+26"/>
<source>Passphrase Dialog</source>
<translation>Диалог ввода пароля</translation>
</message>
<message>
<location line="+21"/>
<source>Enter passphrase</source>
<translation>Введите пароль</translation>
</message>
<message>
<location line="+14"/>
<source>New passphrase</source>
<translation>Новый пароль</translation>
</message>
<message>
<location line="+14"/>
<source>Repeat new passphrase</source>
<translation>Повторите новый пароль</translation>
</message>
<message>
<location line="+33"/>
<source>Serves to disable the trivial sendmoney when OS account compromised. Provides no real security.</source>
<translation>Служит для предотвращения тривиальной отправки монет, если ваша система скомпрометирована. Не предоставляет реальной безопасности.</translation>
</message>
<message>
<location line="+3"/>
<source>For staking only</source>
<translation>Только для участия в доле</translation>
</message>
<message>
<location filename="../askpassphrasedialog.cpp" line="+35"/>
<source>Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>.</source>
<translation>Введите новый пароль для бумажника. <br/> Пожалуйста, используйте фразы из <b>10 или более случайных символов,</b> или <b>восьми и более слов.</b></translation>
</message>
<message>
<location line="+1"/>
<source>Encrypt wallet</source>
<translation>Зашифровать бумажник</translation>
</message>
<message>
<location line="+7"/>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation>Для выполнения операции требуется пароль вашего бумажника.</translation>
</message>
<message>
<location line="+5"/>
<source>Unlock wallet</source>
<translation>Разблокировать бумажник</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation>Для выполнения операции требуется пароль вашего бумажника.</translation>
</message>
<message>
<location line="+5"/>
<source>Decrypt wallet</source>
<translation>Расшифровать бумажник</translation>
</message>
<message>
<location line="+3"/>
<source>Change passphrase</source>
<translation>Сменить пароль</translation>
</message>
<message>
<location line="+1"/>
<source>Enter the old and new passphrase to the wallet.</source>
<translation>Введите старый и новый пароль для бумажника.</translation>
</message>
<message>
<location line="+46"/>
<source>Confirm wallet encryption</source>
<translation>Подтвердите шифрование бумажника</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR COINS</b>!</source>
<translation>Внимание: если вы зашифруете бумажник и потеряете пароль, вы <b>ПОТЕРЯЕТЕ ВСЕ ВАШИ МОНЕТЫ</b>!</translation>
</message>
<message>
<location line="+0"/>
<source>Are you sure you wish to encrypt your wallet?</source>
<translation>Вы уверены, что хотите зашифровать ваш бумажник?</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>ВАЖНО: все предыдущие резервные копии вашего кошелька должны быть заменены новым зашифрованным файлом. В целях безопасности предыдущие резервные копии нешифрованного кошелька станут бесполезны, как только вы начнёте использовать новый шифрованный кошелёк.</translation>
</message>
<message>
<location line="+103"/>
<location line="+24"/>
<source>Warning: The Caps Lock key is on!</source>
<translation>Внимание: Caps Lock включен!</translation>
</message>
<message>
<location line="-133"/>
<location line="+60"/>
<source>Wallet encrypted</source>
<translation>Бумажник зашифрован</translation>
</message>
<message>
<location line="-58"/>
<source>VPSCoin 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>Сейчас программа закроется для завершения процесса шифрования. Помните, что шифрование вашего бумажника не может полностью защитить ваши монеты от кражи с помощью инфицирования вашего компьютера вредоносным ПО.</translation>
</message>
<message>
<location line="+13"/>
<location line="+7"/>
<location line="+44"/>
<location line="+6"/>
<source>Wallet encryption failed</source>
<translation>Не удалось зашифровать бумажник</translation>
</message>
<message>
<location line="-56"/>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation>Шифрование бумажника не удалось из-за внутренней ошибки. Ваш бумажник не был зашифрован.</translation>
</message>
<message>
<location line="+7"/>
<location line="+50"/>
<source>The supplied passphrases do not match.</source>
<translation>Введённые пароли не совпадают.</translation>
</message>
<message>
<location line="-38"/>
<source>Wallet unlock failed</source>
<translation>Разблокировка бумажника не удалась</translation>
</message>
<message>
<location line="+1"/>
<location line="+12"/>
<location line="+19"/>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation>Указанный пароль не подходит.</translation>
</message>
<message>
<location line="-20"/>
<source>Wallet decryption failed</source>
<translation>Расшифрование бумажника не удалось</translation>
</message>
<message>
<location line="+14"/>
<source>Wallet passphrase was successfully changed.</source>
<translation>Пароль бумажника успешно изменён.</translation>
</message>
</context>
<context>
<name>BitcoinGUI</name>
<message>
<location filename="../bitcoingui.cpp" line="+282"/>
<source>Sign &message...</source>
<translation>&Подписать сообщение</translation>
</message>
<message>
<location line="+251"/>
<source>Synchronizing with network...</source>
<translation>Синхронизация с сетью...</translation>
</message>
<message>
<location line="-319"/>
<source>&Overview</source>
<translation>О&бзор</translation>
</message>
<message>
<location line="+1"/>
<source>Show general overview of wallet</source>
<translation>Показать общий обзор действий с бумажником</translation>
</message>
<message>
<location line="+17"/>
<source>&Transactions</source>
<translation>&Транзакции</translation>
</message>
<message>
<location line="+1"/>
<source>Browse transaction history</source>
<translation>Показать историю транзакций</translation>
</message>
<message>
<location line="+5"/>
<source>&Address Book</source>
<translation>&Адресная книга</translation>
</message>
<message>
<location line="+1"/>
<source>Edit the list of stored addresses and labels</source>
<translation>Изменить список сохранённых адресов и меток к ним</translation>
</message>
<message>
<location line="-13"/>
<source>&Receive coins</source>
<translation>&Получение монет</translation>
</message>
<message>
<location line="+1"/>
<source>Show the list of addresses for receiving payments</source>
<translation>Показать список адресов для получения платежей</translation>
</message>
<message>
<location line="-7"/>
<source>&Send coins</source>
<translation>Отп&равка монет</translation>
</message>
<message>
<location line="+35"/>
<source>E&xit</source>
<translation>В&ыход</translation>
</message>
<message>
<location line="+1"/>
<source>Quit application</source>
<translation>Закрыть приложение</translation>
</message>
<message>
<location line="+6"/>
<source>Show information about VPSCoin</source>
<translation>Показать информацию о VPSCoin'е</translation>
</message>
<message>
<location line="+2"/>
<source>About &Qt</source>
<translation>О &Qt</translation>
</message>
<message>
<location line="+1"/>
<source>Show information about Qt</source>
<translation>Показать информацию о Qt</translation>
</message>
<message>
<location line="+2"/>
<source>&Options...</source>
<translation>Оп&ции...</translation>
</message>
<message>
<location line="+4"/>
<source>&Encrypt Wallet...</source>
<translation>&Зашифровать бумажник</translation>
</message>
<message>
<location line="+3"/>
<source>&Backup Wallet...</source>
<translation>&Сделать резервную копию бумажника</translation>
</message>
<message>
<location line="+2"/>
<source>&Change Passphrase...</source>
<translation>&Изменить пароль</translation>
</message>
<message numerus="yes">
<location line="+259"/>
<source>~%n block(s) remaining</source>
<translation><numerusform>остался ~%n блок</numerusform><numerusform>осталось ~%n блоков</numerusform><numerusform>осталось ~%n блоков</numerusform></translation>
</message>
<message>
<location line="+6"/>
<source>Downloaded %1 of %2 blocks of transaction history (%3% done).</source>
<translation>Загружено %1 из %2 блоков истории операций (%3% завершено).</translation>
</message>
<message>
<location line="-256"/>
<source>&Export...</source>
<translation>&Экспорт...</translation>
</message>
<message>
<location line="-64"/>
<source>Send coins to a VPSCoin address</source>
<translation>Отправить монеты на указанный адрес VPSCoin</translation>
</message>
<message>
<location line="+47"/>
<source>Modify configuration options for VPSCoin</source>
<translation>Изменить параметры конфигурации VPSCoin</translation>
</message>
<message>
<location line="+18"/>
<source>Export the data in the current tab to a file</source>
<translation>Экспортировать данные из вкладки в файл</translation>
</message>
<message>
<location line="-14"/>
<source>Encrypt or decrypt wallet</source>
<translation>Зашифровать или расшифровать бумажник</translation>
</message>
<message>
<location line="+3"/>
<source>Backup wallet to another location</source>
<translation>Сделать резервную копию бумажника в другом месте</translation>
</message>
<message>
<location line="+2"/>
<source>Change the passphrase used for wallet encryption</source>
<translation>Изменить пароль шифрования бумажника</translation>
</message>
<message>
<location line="+10"/>
<source>&Debug window</source>
<translation>&Окно отладки</translation>
</message>
<message>
<location line="+1"/>
<source>Open debugging and diagnostic console</source>
<translation>Открыть консоль отладки и диагностики</translation>
</message>
<message>
<location line="-5"/>
<source>&Verify message...</source>
<translation>&Проверить сообщение...</translation>
</message>
<message>
<location line="-202"/>
<source>VPSCoin</source>
<translation>VPSCoin</translation>
</message>
<message>
<location line="+0"/>
<source>Wallet</source>
<translation>Бумажник</translation>
</message>
<message>
<location line="+180"/>
<source>&About VPSCoin</source>
<translation>&О VPSCoin</translation>
</message>
<message>
<location line="+9"/>
<source>&Show / Hide</source>
<translation>&Показать / Скрыть</translation>
</message>
<message>
<location line="+9"/>
<source>Unlock wallet</source>
<translation>Разблокировать бумажник</translation>
</message>
<message>
<location line="+1"/>
<source>&Lock Wallet</source>
<translation>&Заблокировать бумажник</translation>
</message>
<message>
<location line="+1"/>
<source>Lock wallet</source>
<translation>Заблокировать бумажник</translation>
</message>
<message>
<location line="+35"/>
<source>&File</source>
<translation>&Файл</translation>
</message>
<message>
<location line="+8"/>
<source>&Settings</source>
<translation>&Настройки</translation>
</message>
<message>
<location line="+8"/>
<source>&Help</source>
<translation>&Помощь</translation>
</message>
<message>
<location line="+12"/>
<source>Tabs toolbar</source>
<translation>Панель вкладок</translation>
</message>
<message>
<location line="+8"/>
<source>Actions toolbar</source>
<translation>Панель действий</translation>
</message>
<message>
<location line="+13"/>
<location line="+9"/>
<source>[testnet]</source>
<translation>[тестовая сеть]</translation>
</message>
<message>
<location line="+0"/>
<location line="+60"/>
<source>VPSCoin client</source>
<translation>VPSCoin клиент</translation>
</message>
<message numerus="yes">
<location line="+75"/>
<source>%n active connection(s) to VPSCoin network</source>
<translation><numerusform>%n активное соединение с сетью</numerusform><numerusform>%n активных соединений с сетью</numerusform><numerusform>%n активных соединений с сетью</numerusform></translation>
</message>
<message>
<location line="+40"/>
<source>Downloaded %1 blocks of transaction history.</source>
<translation>Загружено %1 блоков истории транзакций.</translation>
</message>
<message>
<location line="+413"/>
<source>Staking.<br>Your weight is %1<br>Network weight is %2<br>Expected time to earn reward is %3</source>
<translation>Участвуем в доле.<br>Ваш вес %1<br>Вес сети %2<br>Ожидаемое время получения награды %3</translation>
</message>
<message>
<location line="+6"/>
<source>Not staking because wallet is locked</source>
<translation>Не участвуем в доле, так как кошелёк заблокирован</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because wallet is offline</source>
<translation>Не участвуем в доле, так как кошелёк оффлайн</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because wallet is syncing</source>
<translation>Не участвуем в доле, так как кошелёк синхронизируется</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because you don't have mature coins</source>
<translation>Не участвуем в доле, так как нет зрелых монет</translation>
</message>
<message numerus="yes">
<location line="-403"/>
<source>%n second(s) ago</source>
<translation><numerusform>%n секунду назад</numerusform><numerusform>%n секунды назад</numerusform><numerusform>%n секунд назад</numerusform></translation>
</message>
<message>
<location line="-312"/>
<source>About VPSCoin card</source>
<translation>О карте VPSCoin</translation>
</message>
<message>
<location line="+1"/>
<source>Show information about VPSCoin card</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>&Unlock Wallet...</source>
<translation>&Разблокировать бумажник</translation>
</message>
<message numerus="yes">
<location line="+297"/>
<source>%n minute(s) ago</source>
<translation><numerusform>%n минуту назад</numerusform><numerusform>%n минуты назад</numerusform><numerusform>%n минут назад</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n hour(s) ago</source>
<translation><numerusform>%n час назад</numerusform><numerusform>%n часа назад</numerusform><numerusform>%n часов назад</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s) ago</source>
<translation><numerusform>%n день назад</numerusform><numerusform>%n дня назад</numerusform><numerusform>%n дней назад</numerusform></translation>
</message>
<message>
<location line="+6"/>
<source>Up to date</source>
<translation>Синхронизировано</translation>
</message>
<message>
<location line="+7"/>
<source>Catching up...</source>
<translation>Синхронизируется...</translation>
</message>
<message>
<location line="+10"/>
<source>Last received block was generated %1.</source>
<translation>Последний полученный блок был сгенерирован %1.</translation>
</message>
<message>
<location line="+59"/>
<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>Данная транзакция превышает предельно допустимый размер. Но Вы можете всё равно совершить её, добавив комиссию в %1, которая отправится тем узлам, которые обработают Вашу транзакцию, и поможет поддержать сеть. Вы хотите добавить комиссию?</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm transaction fee</source>
<translation>Подтвердите комиссию</translation>
</message>
<message>
<location line="+27"/>
<source>Sent transaction</source>
<translation>Исходящая транзакция</translation>
</message>
<message>
<location line="+1"/>
<source>Incoming transaction</source>
<translation>Входящая транзакция</translation>
</message>
<message>
<location line="+1"/>
<source>Date: %1
Amount: %2
Type: %3
Address: %4
</source>
<translation>Дата: %1
Количество: %2
Тип: %3
Адрес: %4
</translation>
</message>
<message>
<location line="+100"/>
<location line="+15"/>
<source>URI handling</source>
<translation>Обработка URI</translation>
</message>
<message>
<location line="-15"/>
<location line="+15"/>
<source>URI can not be parsed! This can be caused by an invalid VPSCoin address or malformed URI parameters.</source>
<translation>Не удалось обработать URI! Это может быть связано с неверным адресом VPSCoin или неправильными параметрами URI.</translation>
</message>
<message>
<location line="+18"/>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation>Бумажник <b>зашифрован</b> и в настоящее время <b>разблокирован</b></translation>
</message>
<message>
<location line="+10"/>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation>Бумажник <b>зашифрован</b> и в настоящее время <b>заблокирован</b></translation>
</message>
<message>
<location line="+25"/>
<source>Backup Wallet</source>
<translation>Сделать резервную копию бумажника</translation>
</message>
<message>
<location line="+0"/>
<source>Wallet Data (*.dat)</source>
<translation>Данные бумажника (*.dat)</translation>
</message>
<message>
<location line="+3"/>
<source>Backup Failed</source>
<translation>Резервное копирование не удалось</translation>
</message>
<message>
<location line="+0"/>
<source>There was an error trying to save the wallet data to the new location.</source>
<translation>При попытке сохранения данных бумажника в новое место произошла ошибка.</translation>
</message>
<message numerus="yes">
<location line="+76"/>
<source>%n second(s)</source>
<translation><numerusform>%n секунда</numerusform><numerusform>%n секунды</numerusform><numerusform>%n секунд</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n minute(s)</source>
<translation><numerusform>%n минута</numerusform><numerusform>%n минуты</numerusform><numerusform>%n минут</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n hour(s)</source>
<translation><numerusform>%n час</numerusform><numerusform>%n часа</numerusform><numerusform>%n часов</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s)</source>
<translation><numerusform>%n день</numerusform><numerusform>%n дня</numerusform><numerusform>%n дней</numerusform></translation>
</message>
<message>
<location line="+18"/>
<source>Not staking</source>
<translation>Не участвуем в доле</translation>
</message>
<message>
<location filename="../bitcoin.cpp" line="+109"/>
<source>A fatal error occurred. VPSCoin can no longer continue safely and will quit.</source>
<translation>Произошла неисправимая ошибка. VPSCoin не может безопасно продолжать работу и будет закрыт.</translation>
</message>
</context>
<context>
<name>ClientModel</name>
<message>
<location filename="../clientmodel.cpp" line="+90"/>
<source>Network Alert</source>
<translation>Сетевая Тревога</translation>
</message>
</context>
<context>
<name>CoinControlDialog</name>
<message>
<location filename="../forms/coincontroldialog.ui" line="+14"/>
<source>Coin Control</source>
<translation>Выбор входов</translation>
</message>
<message>
<location line="+31"/>
<source>Quantity:</source>
<translation>Количество:</translation>
</message>
<message>
<location line="+32"/>
<source>Bytes:</source>
<translation>Размер:</translation>
</message>
<message>
<location line="+48"/>
<source>Amount:</source>
<translation>Сумма:</translation>
</message>
<message>
<location line="+32"/>
<source>Priority:</source>
<translation>Приоритет:</translation>
</message>
<message>
<location line="+48"/>
<source>Fee:</source>
<translation>Комиссия:</translation>
</message>
<message>
<location line="+35"/>
<source>Low Output:</source>
<translation>Мелкие входы:</translation>
</message>
<message>
<location filename="../coincontroldialog.cpp" line="+551"/>
<source>no</source>
<translation>нет</translation>
</message>
<message>
<location filename="../forms/coincontroldialog.ui" line="+51"/>
<source>After Fee:</source>
<translation>С комиссией:</translation>
</message>
<message>
<location line="+35"/>
<source>Change:</source>
<translation>Сдача:</translation>
</message>
<message>
<location line="+69"/>
<source>(un)select all</source>
<translation>Выбрать все</translation>
</message>
<message>
<location line="+13"/>
<source>Tree mode</source>
<translation>Дерево</translation>
</message>
<message>
<location line="+16"/>
<source>List mode</source>
<translation>Список</translation>
</message>
<message>
<location line="+45"/>
<source>Amount</source>
<translation>Сумма</translation>
</message>
<message>
<location line="+5"/>
<source>Label</source>
<translation>Метка</translation>
</message>
<message>
<location line="+5"/>
<source>Address</source>
<translation>Адрес</translation>
</message>
<message>
<location line="+5"/>
<source>Date</source>
<translation>Дата</translation>
</message>
<message>
<location line="+5"/>
<source>Confirmations</source>
<translation>Подтверждения</translation>
</message>
<message>
<location line="+3"/>
<source>Confirmed</source>
<translation>Подтверждено</translation>
</message>
<message>
<location line="+5"/>
<source>Priority</source>
<translation>Приоритет</translation>
</message>
<message>
<location filename="../coincontroldialog.cpp" line="-515"/>
<source>Copy address</source>
<translation>Копировать адрес</translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation>Копировать метку</translation>
</message>
<message>
<location line="+1"/>
<location line="+26"/>
<source>Copy amount</source>
<translation>Копировать сумму</translation>
</message>
<message>
<location line="-25"/>
<source>Copy transaction ID</source>
<translation>Скопировать ID транзакции</translation>
</message>
<message>
<location line="+24"/>
<source>Copy quantity</source>
<translation>Копировать количество</translation>
</message>
<message>
<location line="+2"/>
<source>Copy fee</source>
<translation>Копировать комиссию</translation>
</message>
<message>
<location line="+1"/>
<source>Copy after fee</source>
<translation>Копировать с комиссией</translation>
</message>
<message>
<location line="+1"/>
<source>Copy bytes</source>
<translation>Копировать объем</translation>
</message>
<message>
<location line="+1"/>
<source>Copy priority</source>
<translation>Копировать приоритет</translation>
</message>
<message>
<location line="+1"/>
<source>Copy low output</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy change</source>
<translation>Копировать сдачу</translation>
</message>
<message>
<location line="+317"/>
<source>highest</source>
<translation>наивысший</translation>
</message>
<message>
<location line="+1"/>
<source>high</source>
<translation>высокий</translation>
</message>
<message>
<location line="+1"/>
<source>medium-high</source>
<translation>выше среднего</translation>
</message>
<message>
<location line="+1"/>
<source>medium</source>
<translation>средний</translation>
</message>
<message>
<location line="+4"/>
<source>low-medium</source>
<translation>ниже среднего</translation>
</message>
<message>
<location line="+1"/>
<source>low</source>
<translation>низкий</translation>
</message>
<message>
<location line="+1"/>
<source>lowest</source>
<translation>наименьший</translation>
</message>
<message>
<location line="+155"/>
<source>DUST</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>yes</source>
<translation>да</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 "medium".
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="+37"/>
<location line="+66"/>
<source>(no label)</source>
<translation>(нет метки)</translation>
</message>
<message>
<location line="-9"/>
<source>change from %1 (%2)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>(change)</source>
<translation>(сдача)</translation>
</message>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation>Изменить адрес</translation>
</message>
<message>
<location line="+11"/>
<source>&Label</source>
<translation>&Метка</translation>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation>Метка, связанная с данной записью</translation>
</message>
<message>
<location line="+7"/>
<source>&Address</source>
<translation>&Адрес</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>Адрес, связанный с данной записью.</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+20"/>
<source>New receiving address</source>
<translation>Новый адрес для получения</translation>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation>Новый адрес для отправки</translation>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation>Изменение адреса для получения</translation>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation>Изменение адреса для отправки</translation>
</message>
<message>
<location line="+76"/>
<source>The entered address "%1" is already in the address book.</source>
<translation>Введённый адрес «%1» уже находится в адресной книге.</translation>
</message>
<message>
<location line="-5"/>
<source>The entered address "%1" is not a valid VPSCoin address.</source>
<translation>Введённый адрес "%1" не является правильным VPSCoin-адресом.</translation>
</message>
<message>
<location line="+10"/>
<source>Could not unlock wallet.</source>
<translation>Не удается разблокировать бумажник.</translation>
</message>
<message>
<location line="+5"/>
<source>New key generation failed.</source>
<translation>Генерация нового ключа не удалась.</translation>
</message>
</context>
<context>
<name>GUIUtil::HelpMessageBox</name>
<message>
<location filename="../guiutil.cpp" line="+420"/>
<location line="+12"/>
<source>VPSCoin-Qt</source>
<translation>VPSCoin-Qt</translation>
</message>
<message>
<location line="-12"/>
<source>version</source>
<translation>версия</translation>
</message>
<message>
<location line="+2"/>
<source>Usage:</source>
<translation>Использование:</translation>
</message>
<message>
<location line="+1"/>
<source>command-line options</source>
<translation>параметры командной строки</translation>
</message>
<message>
<location line="+4"/>
<source>UI options</source>
<translation>Опции интерфейса</translation>
</message>
<message>
<location line="+1"/>
<source>Set language, for example "de_DE" (default: system locale)</source>
<translation>Выберите язык, например "de_DE" (по умолчанию: как в системе)</translation>
</message>
<message>
<location line="+1"/>
<source>Start minimized</source>
<translation>Запускать свёрнутым</translation>
</message>
<message>
<location line="+1"/>
<source>Show splash screen on startup (default: 1)</source>
<translation>Показывать сплэш при запуске (по умолчанию: 1)</translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
<location filename="../forms/optionsdialog.ui" line="+14"/>
<source>Options</source>
<translation>Опции</translation>
</message>
<message>
<location line="+16"/>
<source>&Main</source>
<translation>&Главная</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>Опциональная комиссия за каждый КБ транзакции, которая позволяет быть уверенным, что Ваша транзакция будет обработана быстро. Большинство транзакций занимают 1КБ. Рекомендуется комиссия 0.01.</translation>
</message>
<message>
<location line="+15"/>
<source>Pay transaction &fee</source>
<translation>Заплатить ко&миссию</translation>
</message>
<message>
<location line="+31"/>
<source>Reserved amount does not participate in staking and is therefore spendable at any time.</source>
<translation>Зарезервированная сумма не участвует в доле, и поэтому может быть потрачена в любое время.</translation>
</message>
<message>
<location line="+15"/>
<source>Reserve</source>
<translation>Зарезервировать</translation>
</message>
<message>
<location line="+31"/>
<source>Automatically start VPSCoin after logging in to the system.</source>
<translation>Автоматически запускать VPSCoin после входа в систему</translation>
</message>
<message>
<location line="+3"/>
<source>&Start VPSCoin on system login</source>
<translation>&Запускать VPSCoin при входе в систему</translation>
</message>
<message>
<location line="+7"/>
<source>Detach block and address databases at shutdown. This means they can be moved to another data directory, but it slows down shutdown. The wallet is always detached.</source>
<translation>Отключить базы данных блоков и адресов при выходе. Это означает, что их можно будет переместить в другой каталог данных, но завершение работы будет медленнее. Бумажник всегда отключается.</translation>
</message>
<message>
<location line="+3"/>
<source>&Detach databases at shutdown</source>
<translation>&Отключать базы данных при выходе</translation>
</message>
<message>
<location line="+21"/>
<source>&Network</source>
<translation>&Сеть</translation>
</message>
<message>
<location line="+6"/>
<source>Automatically open the VPSCoin client port on the router. This only works when your router supports UPnP and it is enabled.</source>
<translation>Автоматически открыть порт для VPSCoin-клиента на роутере. Работает только если Ваш роутер поддерживает UPnP, и данная функция включена.</translation>
</message>
<message>
<location line="+3"/>
<source>Map port using &UPnP</source>
<translation>Пробросить порт через &UPnP</translation>
</message>
<message>
<location line="+7"/>
<source>Connect to the VPSCoin network through a SOCKS proxy (e.g. when connecting through Tor).</source>
<translation>Подключаться к сети VPSCoin через прокси SOCKS (например, при подключении через Tor).</translation>
</message>
<message>
<location line="+3"/>
<source>&Connect through SOCKS proxy:</source>
<translation>&Подключаться через SOCKS прокси:</translation>
</message>
<message>
<location line="+9"/>
<source>Proxy &IP:</source>
<translation>&IP Прокси: </translation>
</message>
<message>
<location line="+19"/>
<source>IP address of the proxy (e.g. 127.0.0.1)</source>
<translation>IP-адрес прокси (например 127.0.0.1)</translation>
</message>
<message>
<location line="+7"/>
<source>&Port:</source>
<translation>По&рт: </translation>
</message>
<message>
<location line="+19"/>
<source>Port of the proxy (e.g. 9050)</source>
<translation>Порт прокси-сервера (например, 9050)</translation>
</message>
<message>
<location line="+7"/>
<source>SOCKS &Version:</source>
<translation>&Версия SOCKS:</translation>
</message>
<message>
<location line="+13"/>
<source>SOCKS version of the proxy (e.g. 5)</source>
<translation>Версия SOCKS-прокси (например, 5)</translation>
</message>
<message>
<location line="+36"/>
<source>&Window</source>
<translation>&Окно</translation>
</message>
<message>
<location line="+6"/>
<source>Show only a tray icon after minimizing the window.</source>
<translation>Показывать только иконку в системном лотке после сворачивания окна.</translation>
</message>
<message>
<location line="+3"/>
<source>&Minimize to the tray instead of the taskbar</source>
<translation>&Cворачивать в системный лоток вместо панели задач</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>Сворачивать вместо закрытия. Если данная опция будет выбрана — приложение закроется только после выбора соответствующего пункта в меню.</translation>
</message>
<message>
<location line="+3"/>
<source>M&inimize on close</source>
<translation>С&ворачивать при закрытии</translation>
</message>
<message>
<location line="+21"/>
<source>&Display</source>
<translation>О&тображение</translation>
</message>
<message>
<location line="+8"/>
<source>User Interface &language:</source>
<translation>&Язык интерфейса:</translation>
</message>
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting VPSCoin.</source>
<translation>Здесь можно выбрать язык интерфейса. Настройки вступят в силу после перезапуска VPSCoin.</translation>
</message>
<message>
<location line="+11"/>
<source>&Unit to show amounts in:</source>
<translation>&Отображать суммы в единицах: </translation>
</message>
<message>
<location line="+13"/>
<source>Choose the default subdivision unit to show in the interface and when sending coins.</source>
<translation>Выберите единицу измерения монет при отображении и отправке.</translation>
</message>
<message>
<location line="+9"/>
<source>Whether to show VPSCoin addresses in the transaction list or not.</source>
<translation>Показывать ли адреса VPSCoin в списке транзакций.</translation>
</message>
<message>
<location line="+3"/>
<source>&Display addresses in transaction list</source>
<translation>&Показывать адреса в списке транзакций</translation>
</message>
<message>
<location line="+7"/>
<source>Whether to show coin control features or not.</source>
<translation>Выключает и включает отображение панели выбора входов.</translation>
</message>
<message>
<location line="+3"/>
<source>Display coin &control features (experts only!)</source>
<translation>Управление &входами (только для продвинутых пользователей!)</translation>
</message>
<message>
<location line="+71"/>
<source>&OK</source>
<translation>О&К</translation>
</message>
<message>
<location line="+7"/>
<source>&Cancel</source>
<translation>&Отмена</translation>
</message>
<message>
<location line="+10"/>
<source>&Apply</source>
<translation>&Применить</translation>
</message>
<message>
<location filename="../optionsdialog.cpp" line="+55"/>
<source>default</source>
<translation>по умолчанию</translation>
</message>
<message>
<location line="+149"/>
<location line="+9"/>
<source>Warning</source>
<translation>Внимание</translation>
</message>
<message>
<location line="-9"/>
<location line="+9"/>
<source>This setting will take effect after restarting VPSCoin.</source>
<translation>Эта настройка вступит в силу после перезапуска VPSCoin</translation>
</message>
<message>
<location line="+29"/>
<source>The supplied proxy address is invalid.</source>
<translation>Адрес прокси неверен.</translation>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<location filename="../forms/overviewpage.ui" line="+14"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location line="+33"/>
<location line="+231"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the VPSCoin network after a connection is established, but this process has not completed yet.</source>
<translation>Отображаемая информация может быть устаревшей. Ваш бумажник автоматически синхронизируется с сетью VPSCoin после подключения, но этот процесс пока не завершён.</translation>
</message>
<message>
<location line="-160"/>
<source>Stake:</source>
<translation>Доля:</translation>
</message>
<message>
<location line="+29"/>
<source>Unconfirmed:</source>
<translation>Не подтверждено:</translation>
</message>
<message>
<location line="-107"/>
<source>Wallet</source>
<translation>Бумажник</translation>
</message>
<message>
<location line="+49"/>
<source>Spendable:</source>
<translation>Доступно:</translation>
</message>
<message>
<location line="+16"/>
<source>Your current spendable balance</source>
<translation>Баланс, доступный в настоящее время</translation>
</message>
<message>
<location line="+71"/>
<source>Immature:</source>
<translation>Незрелые:</translation>
</message>
<message>
<location line="+13"/>
<source>Mined balance that has not yet matured</source>
<translation>Баланс добытых монет, который ещё не созрел</translation>
</message>
<message>
<location line="+20"/>
<source>Total:</source>
<translation>Итого:</translation>
</message>
<message>
<location line="+16"/>
<source>Your current total balance</source>
<translation>Ваш суммарный баланс</translation>
</message>
<message>
<location line="+46"/>
<source><b>Recent transactions</b></source>
<translation><b>Последние транзакции</b></translation>
</message>
<message>
<location line="-108"/>
<source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source>
<translation>Общая сумма всех транзакций, которые до сих пор не подтверждены, и до сих пор не учитываются в текущем балансе</translation>
</message>
<message>
<location line="-29"/>
<source>Total of coins that was staked, and do not yet count toward the current balance</source>
<translation>Общая сумма всех монет, используемых для Proof-of-Stake, и не учитывающихся на балансе</translation>
</message>
<message>
<location filename="../overviewpage.cpp" line="+113"/>
<location line="+1"/>
<source>out of sync</source>
<translation>не синхронизировано</translation>
</message>
</context>
<context>
<name>QRCodeDialog</name>
<message>
<location filename="../forms/qrcodedialog.ui" line="+14"/>
<source>QR Code Dialog</source>
<translation>Диалог QR-кода</translation>
</message>
<message>
<location line="+59"/>
<source>Request Payment</source>
<translation>Запросить платёж</translation>
</message>
<message>
<location line="+56"/>
<source>Amount:</source>
<translation>Количество:</translation>
</message>
<message>
<location line="-44"/>
<source>Label:</source>
<translation>Метка:</translation>
</message>
<message>
<location line="+19"/>
<source>Message:</source>
<translation>Сообщение:</translation>
</message>
<message>
<location line="+71"/>
<source>&Save As...</source>
<translation>&Сохранить как...</translation>
</message>
<message>
<location filename="../qrcodedialog.cpp" line="+62"/>
<source>Error encoding URI into QR Code.</source>
<translation>Ошибка кодирования URI в QR-код</translation>
</message>
<message>
<location line="+40"/>
<source>The entered amount is invalid, please check.</source>
<translation>Введено неверное количество, проверьте ещё раз.</translation>
</message>
<message>
<location line="+23"/>
<source>Resulting URI too long, try to reduce the text for label / message.</source>
<translation>Получившийся URI слишком длинный, попробуйте сократить текст метки / сообщения.</translation>
</message>
<message>
<location line="+25"/>
<source>Save QR Code</source>
<translation>Сохранить QR-код</translation>
</message>
<message>
<location line="+0"/>
<source>PNG Images (*.png)</source>
<translation>PNG Изображения (*.png)</translation>
</message>
</context>
<context>
<name>RPCConsole</name>
<message>
<location filename="../forms/rpcconsole.ui" line="+46"/>
<source>Client name</source>
<translation>Имя клиента</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="+348"/>
<source>N/A</source>
<translation>Н/Д</translation>
</message>
<message>
<location line="-217"/>
<source>Client version</source>
<translation>Версия клиента</translation>
</message>
<message>
<location line="-45"/>
<source>&Information</source>
<translation>&Информация</translation>
</message>
<message>
<location line="+68"/>
<source>Using OpenSSL version</source>
<translation>Используется версия OpenSSL</translation>
</message>
<message>
<location line="+49"/>
<source>Startup time</source>
<translation>Время запуска</translation>
</message>
<message>
<location line="+29"/>
<source>Network</source>
<translation>Сеть</translation>
</message>
<message>
<location line="+7"/>
<source>Number of connections</source>
<translation>Число подключений</translation>
</message>
<message>
<location line="+23"/>
<source>On testnet</source>
<translation>В тестовой сети</translation>
</message>
<message>
<location line="+23"/>
<source>Block chain</source>
<translation>Цепь блоков</translation>
</message>
<message>
<location line="+7"/>
<source>Current number of blocks</source>
<translation>Текущее число блоков</translation>
</message>
<message>
<location line="+23"/>
<source>Estimated total blocks</source>
<translation>Расчётное число блоков</translation>
</message>
<message>
<location line="+23"/>
<source>Last block time</source>
<translation>Время последнего блока</translation>
</message>
<message>
<location line="+52"/>
<source>&Open</source>
<translation>&Открыть</translation>
</message>
<message>
<location line="+16"/>
<source>Command-line options</source>
<translation>Параметры командной строки</translation>
</message>
<message>
<location line="+7"/>
<source>Show the VPSCoin-Qt help message to get a list with possible VPSCoin command-line options.</source>
<translation>Показать помощь по VPSCoin-Qt, чтобы получить список доступных параметров командной строки.</translation>
</message>
<message>
<location line="+3"/>
<source>&Show</source>
<translation>&Показать</translation>
</message>
<message>
<location line="+24"/>
<source>&Console</source>
<translation>Консоль</translation>
</message>
<message>
<location line="-260"/>
<source>Build date</source>
<translation>Дата сборки</translation>
</message>
<message>
<location line="-104"/>
<source>VPSCoin - Debug window</source>
<translation>VPSCoin - Окно отладки</translation>
</message>
<message>
<location line="+25"/>
<source>VPSCoin Core</source>
<translation>Ядро VPSCoin</translation>
</message>
<message>
<location line="+279"/>
<source>Debug log file</source>
<translation>Отладочный лог-файл</translation>
</message>
<message>
<location line="+7"/>
<source>Open the VPSCoin debug log file from the current data directory. This can take a few seconds for large log files.</source>
<translation>Открыть отладочный лог-файл VPSCoin из текущего каталога данных. Это может занять несколько секунд для больших лог-файлов.</translation>
</message>
<message>
<location line="+102"/>
<source>Clear console</source>
<translation>Очистить консоль</translation>
</message>
<message>
<location filename="../rpcconsole.cpp" line="-33"/>
<source>Welcome to the VPSCoin RPC console.</source>
<translation>Добро пожаловать в RPC-консоль VPSCoin.</translation>
</message>
<message>
<location line="+1"/>
<source>Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.</source>
<translation>Используйте стрелки вверх и вниз для просмотра истории и <b>Ctrl-L</b> для очистки экрана.</translation>
</message>
<message>
<location line="+1"/>
<source>Type <b>help</b> for an overview of available commands.</source>
<translation>Напишите <b>help</b> для просмотра доступных команд.</translation>
</message>
</context>
<context>
<name>SendCoinsDialog</name>
<message>
<location filename="../forms/sendcoinsdialog.ui" line="+14"/>
<location filename="../sendcoinsdialog.cpp" line="+182"/>
<location line="+5"/>
<location line="+5"/>
<location line="+5"/>
<location line="+6"/>
<location line="+5"/>
<location line="+5"/>
<source>Send Coins</source>
<translation>Отправка</translation>
</message>
<message>
<location line="+76"/>
<source>Coin Control Features</source>
<translation>Выбор входов</translation>
</message>
<message>
<location line="+20"/>
<source>Inputs...</source>
<translation>Входы...</translation>
</message>
<message>
<location line="+7"/>
<source>automatically selected</source>
<translation>автоматический выбор</translation>
</message>
<message>
<location line="+19"/>
<source>Insufficient funds!</source>
<translation>Недостаточно средств!</translation>
</message>
<message>
<location line="+77"/>
<source>Quantity:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<location line="+35"/>
<source>0</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-19"/>
<source>Bytes:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+51"/>
<source>Amount:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<location line="+86"/>
<location line="+86"/>
<location line="+32"/>
<source>0.00 VPS</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-191"/>
<source>Priority:</source>
<translation>Приоритет:</translation>
</message>
<message>
<location line="+19"/>
<source>medium</source>
<translation>средний</translation>
</message>
<message>
<location line="+32"/>
<source>Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Low Output:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>no</source>
<translation>нет</translation>
</message>
<message>
<location line="+32"/>
<source>After Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Change</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+50"/>
<source>custom change address</source>
<translation>адрес для сдачи</translation>
</message>
<message>
<location line="+106"/>
<source>Send to multiple recipients at once</source>
<translation>Отправить нескольким получателям одновременно</translation>
</message>
<message>
<location line="+3"/>
<source>Add &Recipient</source>
<translation>&Добавить получателя</translation>
</message>
<message>
<location line="+20"/>
<source>Remove all transaction fields</source>
<translation>Удалить все поля транзакции</translation>
</message>
<message>
<location line="+3"/>
<source>Clear &All</source>
<translation>Очистить &всё</translation>
</message>
<message>
<location line="+28"/>
<source>Balance:</source>
<translation>Баланс:</translation>
</message>
<message>
<location line="+16"/>
<source>123.456 VPS</source>
<translation>123.456 VPS</translation>
</message>
<message>
<location line="+31"/>
<source>Confirm the send action</source>
<translation>Подтвердить отправку</translation>
</message>
<message>
<location line="+3"/>
<source>S&end</source>
<translation>&Отправить</translation>
</message>
<message>
<location filename="../sendcoinsdialog.cpp" line="-173"/>
<source>Enter a VPSCoin address (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Введите VPSCoin-адрес (например Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
<message>
<location line="+15"/>
<source>Copy quantity</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy fee</source>
<translation>Копировать комиссию</translation>
</message>
<message>
<location line="+1"/>
<source>Copy after fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy bytes</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy priority</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy low output</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy change</source>
<translation>Копировать сдачу</translation>
</message>
<message>
<location line="+86"/>
<source><b>%1</b> to %2 (%3)</source>
<translation><b>%1</b> адресату %2 (%3)</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm send coins</source>
<translation>Подтвердите отправку монет</translation>
</message>
<message>
<location line="+1"/>
<source>Are you sure you want to send %1?</source>
<translation>Вы уверены, что хотите отправить %1?</translation>
</message>
<message>
<location line="+0"/>
<source> and </source>
<translation> и </translation>
</message>
<message>
<location line="+29"/>
<source>The recipient address is not valid, please recheck.</source>
<translation>Адрес получателя неверный, пожалуйста, перепроверьте.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount to pay must be larger than 0.</source>
<translation>Количество монет для отправки должно быть больше 0.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount exceeds your balance.</source>
<translation>Количество отправляемых монет превышает Ваш баланс</translation>
</message>
<message>
<location line="+5"/>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation>Сумма превысит Ваш баланс, если комиссия в размере %1 будет добавлена к транзакции</translation>
</message>
<message>
<location line="+6"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation>Обнаружен дублирующийся адрес. Отправка на один и тот же адрес возможна только один раз за одну операцию отправки</translation>
</message>
<message>
<location line="+5"/>
<source>Error: Transaction creation failed.</source>
<translation>Ошибка: не удалось создать транзакцию.</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>Ошибка: В транзакции отказано. Такое может произойти, если некоторые монеты уже были потрачены, например, если Вы используете одну копию файла wallet.dat, а монеты были потрачены из другой копии, но не были отмечены как потраченные в этой.</translation>
</message>
<message>
<location line="+251"/>
<source>WARNING: Invalid VPSCoin address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>(no label)</source>
<translation>(нет метки)</translation>
</message>
<message>
<location line="+4"/>
<source>WARNING: unknown change address</source>
<translation>ПРЕДУПРЕЖДЕНИЕ: неизвестный адрес для сдачи</translation>
</message>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+14"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location line="+15"/>
<source>A&mount:</source>
<translation>Ко&личество:</translation>
</message>
<message>
<location line="+13"/>
<source>Pay &To:</source>
<translation>Полу&чатель:</translation>
</message>
<message>
<location line="+24"/>
<location filename="../sendcoinsentry.cpp" line="+25"/>
<source>Enter a label for this address to add it to your address book</source>
<translation>Введите метку для данного адреса (для добавления в адресную книгу)</translation>
</message>
<message>
<location line="+9"/>
<source>&Label:</source>
<translation>&Метка:</translation>
</message>
<message>
<location line="+18"/>
<source>The address to send the payment to (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Адрес получателя платежа (например Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
<message>
<location line="+10"/>
<source>Choose address from address book</source>
<translation>Выберите адрес из адресной книги</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>Вставить адрес из буфера обмена</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>Удалить этого получателя</translation>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a VPSCoin address (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Введите VPSCoin-адрес (например Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
</context>
<context>
<name>SignVerifyMessageDialog</name>
<message>
<location filename="../forms/signverifymessagedialog.ui" line="+14"/>
<source>Signatures - Sign / Verify a Message</source>
<translation>Подписи - подписать/проверить сообщение</translation>
</message>
<message>
<location line="+13"/>
<location line="+124"/>
<source>&Sign Message</source>
<translation>&Подписать сообщение</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>Вы можете подписывать сообщения своими адресами, чтобы доказать владение ими. Будьте осторожны, не подписывайте что-то неопределённое, так как фишинговые атаки могут обманным путём заставить вас подписать нежелательные сообщения. Подписывайте только те сообщения, с которыми вы согласны вплоть до мелочей.</translation>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Адрес, которым вы хотите подписать сообщение (напр. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
<message>
<location line="+10"/>
<location line="+203"/>
<source>Choose an address from the address book</source>
<translation>Выберите адрес из адресной книги</translation>
</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>Вставить адрес из буфера обмена</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>Введите сообщение для подписи</translation>
</message>
<message>
<location line="+24"/>
<source>Copy the current signature to the system clipboard</source>
<translation>Скопировать текущую подпись в системный буфер обмена</translation>
</message>
<message>
<location line="+21"/>
<source>Sign the message to prove you own this VPSCoin address</source>
<translation>Подписать сообщение, чтобы доказать владение адресом VPSCoin</translation>
</message>
<message>
<location line="+17"/>
<source>Reset all sign message fields</source>
<translation>Сбросить значения всех полей подписывания сообщений</translation>
</message>
<message>
<location line="+3"/>
<location line="+146"/>
<source>Clear &All</source>
<translation>Очистить &всё</translation>
</message>
<message>
<location line="-87"/>
<location line="+70"/>
<source>&Verify Message</source>
<translation>&Проверить сообщение</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>Введите ниже адрес для подписи, сообщение (убедитесь, что переводы строк, пробелы, табы и т.п. в точности скопированы) и подпись, чтобы проверить сообщение. Убедитесь, что не скопировали лишнего в подпись, по сравнению с самим подписываемым сообщением, чтобы не стать жертвой атаки "man-in-the-middle".</translation>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Адрес, которым было подписано сообщение (напр. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified VPSCoin address</source>
<translation>Проверить сообщение, чтобы убедиться, что оно было подписано указанным адресом VPSCoin</translation>
</message>
<message>
<location line="+17"/>
<source>Reset all verify message fields</source>
<translation>Сбросить все поля проверки сообщения</translation>
</message>
<message>
<location filename="../signverifymessagedialog.cpp" line="+27"/>
<location line="+3"/>
<source>Enter a VPSCoin address (e.g. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</source>
<translation>Введите адрес VPSCoin (напр. Sjz75uKHzUQJnSdzvpiigEGxseKkDhQToX)</translation>
</message>
<message>
<location line="-2"/>
<source>Click "Sign Message" to generate signature</source>
<translation>Нажмите "Подписать сообщение" для создания подписи</translation>
</message>
<message>
<location line="+3"/>
<source>Enter VPSCoin signature</source>
<translation>Введите подпись VPSCoin</translation>
</message>
<message>
<location line="+82"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation>Введённый адрес неверен</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>Пожалуйста, проверьте адрес и попробуйте ещё раз.</translation>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation>Введённый адрес не связан с ключом</translation>
</message>
<message>
<location line="-73"/>
<source>Wallet unlock was cancelled.</source>
<translation>Разблокировка бумажника была отменена.</translation>
</message>
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation>Для введённого адреса недоступен закрытый ключ</translation>
</message>
<message>
<location line="+12"/>
<source>Message signing failed.</source>
<translation>Не удалось подписать сообщение</translation>
</message>
<message>
<location line="+5"/>
<source>Message signed.</source>
<translation>Сообщение подписано</translation>
</message>
<message>
<location line="+59"/>
<source>The signature could not be decoded.</source>
<translation>Подпись не может быть раскодирована.</translation>
</message>
<message>
<location line="+0"/>
<location line="+13"/>
<source>Please check the signature and try again.</source>
<translation>Пожалуйста, проверьте подпись и попробуйте ещё раз.</translation>
</message>
<message>
<location line="+0"/>
<source>The signature did not match the message digest.</source>
<translation>Подпись не соответствует отпечатку сообщения.</translation>
</message>
<message>
<location line="+7"/>
<source>Message verification failed.</source>
<translation>Проверка сообщения не удалась.</translation>
</message>
<message>
<location line="+5"/>
<source>Message verified.</source>
<translation>Сообщение проверено.</translation>
</message>
</context>
<context>
<name>TransactionDesc</name>
<message>
<location filename="../transactiondesc.cpp" line="+19"/>
<source>Open until %1</source>
<translation>Открыто до %1</translation>
</message>
<message numerus="yes">
<location line="-2"/>
<source>Open for %n block(s)</source>
<translation><numerusform>Открыто для %n блока</numerusform><numerusform>Открыто для %n блоков</numerusform><numerusform>Открыто для %n блоков</numerusform></translation>
</message>
<message>
<location line="+8"/>
<source>conflicted</source>
<translation>конфликт</translation>
</message>
<message>
<location line="+2"/>
<source>%1/offline</source>
<translation>%1/оффлайн</translation>
</message>
<message>
<location line="+2"/>
<source>%1/unconfirmed</source>
<translation>%1/не подтверждено</translation>
</message>
<message>
<location line="+2"/>
<source>%1 confirmations</source>
<translation>%1 подтверждений</translation>
</message>
<message>
<location line="+18"/>
<source>Status</source>
<translation>Статус</translation>
</message>
<message numerus="yes">
<location line="+7"/>
<source>, broadcast through %n node(s)</source>
<translation><numerusform>, разослано через %n узел</numerusform><numerusform>, разослано через %n узла</numerusform><numerusform>, разослано через %n узлов</numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>Date</source>
<translation>Дата</translation>
</message>
<message>
<location line="+7"/>
<source>Source</source>
<translation>Источник</translation>
</message>
<message>
<location line="+0"/>
<source>Generated</source>
<translation>Сгенерировано</translation>
</message>
<message>
<location line="+5"/>
<location line="+17"/>
<source>From</source>
<translation>От</translation>
</message>
<message>
<location line="+1"/>
<location line="+22"/>
<location line="+58"/>
<source>To</source>
<translation>Для</translation>
</message>
<message>
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation>свой адрес</translation>
</message>
<message>
<location line="-2"/>
<source>label</source>
<translation>метка</translation>
</message>
<message>
<location line="+37"/>
<location line="+12"/>
<location line="+45"/>
<location line="+17"/>
<location line="+30"/>
<source>Credit</source>
<translation>Кредит</translation>
</message>
<message numerus="yes">
<location line="-102"/>
<source>matures in %n more block(s)</source>
<translation><numerusform>будет доступно через %n блок</numerusform><numerusform>будет доступно через %n блока</numerusform><numerusform>будет доступно через %n блоков</numerusform></translation>
</message>
<message>
<location line="+2"/>
<source>not accepted</source>
<translation>не принято</translation>
</message>
<message>
<location line="+44"/>
<location line="+8"/>
<location line="+15"/>
<location line="+30"/>
<source>Debit</source>
<translation>Дебет</translation>
</message>
<message>
<location line="-39"/>
<source>Transaction fee</source>
<translation>Комиссия</translation>
</message>
<message>
<location line="+16"/>
<source>Net amount</source>
<translation>Чистая сумма</translation>
</message>
<message>
<location line="+6"/>
<source>Message</source>
<translation>Сообщение</translation>
</message>
<message>
<location line="+2"/>
<source>Comment</source>
<translation>Комментарий</translation>
</message>
<message>
<location line="+2"/>
<source>Transaction ID</source>
<translation>ID транзакции</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 "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source>
<translation>Сгенерированные монеты должны подождать 510 блоков, прежде чем они могут быть потрачены. Когда Вы сгенерировали этот блок, он был отправлен в сеть для добавления в цепочку блоков. Если данная процедура не удастся, статус изменится на «не подтверждено», и монеты будут недействительны. Это иногда происходит в случае, если другой узел сгенерирует блок на несколько секунд раньше вас.</translation>
</message>
<message>
<location line="+7"/>
<source>Debug information</source>
<translation>Отладочная информация</translation>
</message>
<message>
<location line="+8"/>
<source>Transaction</source>
<translation>Транзакция</translation>
</message>
<message>
<location line="+5"/>
<source>Inputs</source>
<translation>Входы</translation>
</message>
<message>
<location line="+23"/>
<source>Amount</source>
<translation>Количество</translation>
</message>
<message>
<location line="+1"/>
<source>true</source>
<translation>истина</translation>
</message>
<message>
<location line="+0"/>
<source>false</source>
<translation>ложь</translation>
</message>
<message>
<location line="-211"/>
<source>, has not been successfully broadcast yet</source>
<translation>, ещё не было успешно разослано</translation>
</message>
<message>
<location line="+35"/>
<source>unknown</source>
<translation>неизвестно</translation>
</message>
</context>
<context>
<name>TransactionDescDialog</name>
<message>
<location filename="../forms/transactiondescdialog.ui" line="+14"/>
<source>Transaction details</source>
<translation>Детали транзакции</translation>
</message>
<message>
<location line="+6"/>
<source>This pane shows a detailed description of the transaction</source>
<translation>Данный диалог показывает детализированную статистику по выбранной транзакции</translation>
</message>
</context>
<context>
<name>TransactionTableModel</name>
<message>
<location filename="../transactiontablemodel.cpp" line="+226"/>
<source>Date</source>
<translation>Дата</translation>
</message>
<message>
<location line="+0"/>
<source>Type</source>
<translation>Тип</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Адрес</translation>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation>Количество</translation>
</message>
<message>
<location line="+60"/>
<source>Open until %1</source>
<translation>Открыто до %1</translation>
</message>
<message>
<location line="+12"/>
<source>Confirmed (%1 confirmations)</source>
<translation>Подтверждено (%1 подтверждений)</translation>
</message>
<message numerus="yes">
<location line="-15"/>
<source>Open for %n more block(s)</source>
<translation><numerusform>Открыто для ещё %n блока</numerusform><numerusform>Открыто для ещё %n блоков</numerusform><numerusform>Открыто для ещё %n блоков</numerusform></translation>
</message>
<message>
<location line="+6"/>
<source>Offline</source>
<translation>Оффлайн</translation>
</message>
<message>
<location line="+3"/>
<source>Unconfirmed</source>
<translation>Не подтверждено</translation>
</message>
<message>
<location line="+3"/>
<source>Confirming (%1 of %2 recommended confirmations)</source>
<translation>Подтверждается (%1 из %2 рекомендованных подтверждений)</translation>
</message>
<message>
<location line="+6"/>
<source>Conflicted</source>
<translation>Конфликт</translation>
</message>
<message>
<location line="+3"/>
<source>Immature (%1 confirmations, will be available after %2)</source>
<translation>Незрелые (%1 подтверждений, будут доступны после %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>Этот блок не был получен другими узлами и, возможно, не будет принят!</translation>
</message>
<message>
<location line="+3"/>
<source>Generated but not accepted</source>
<translation>Сгенерировано, но не принято</translation>
</message>
<message>
<location line="+42"/>
<source>Received with</source>
<translation>Получено</translation>
</message>
<message>
<location line="+2"/>
<source>Received from</source>
<translation>Получено от</translation>
</message>
<message>
<location line="+3"/>
<source>Sent to</source>
<translation>Отправлено</translation>
</message>
<message>
<location line="+2"/>
<source>Payment to yourself</source>
<translation>Отправлено себе</translation>
</message>
<message>
<location line="+2"/>
<source>Mined</source>
<translation>Добыто</translation>
</message>
<message>
<location line="+38"/>
<source>(n/a)</source>
<translation>[не доступно]</translation>
</message>
<message>
<location line="+190"/>
<source>Transaction status. Hover over this field to show number of confirmations.</source>
<translation>Статус транзакции. Подведите курсор к нужному полю для того, чтобы увидеть количество подтверждений.</translation>
</message>
<message>
<location line="+2"/>
<source>Date and time that the transaction was received.</source>
<translation>Дата и время, когда транзакция была получена.</translation>
</message>
<message>
<location line="+2"/>
<source>Type of transaction.</source>
<translation>Тип транзакции.</translation>
</message>
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation>Адрес назначения транзакции.</translation>
</message>
<message>
<location line="+2"/>
<source>Amount removed from or added to balance.</source>
<translation>Сумма, добавленная, или снятая с баланса.</translation>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<location filename="../transactionview.cpp" line="+55"/>
<location line="+16"/>
<source>All</source>
<translation>Все</translation>
</message>
<message>
<location line="-15"/>
<source>Today</source>
<translation>Сегодня</translation>
</message>
<message>
<location line="+1"/>
<source>This week</source>
<translation>На этой неделе</translation>
</message>
<message>
<location line="+1"/>
<source>This month</source>
<translation>В этом месяце</translation>
</message>
<message>
<location line="+1"/>
<source>Last month</source>
<translation>За последний месяц</translation>
</message>
<message>
<location line="+1"/>
<source>This year</source>
<translation>В этом году</translation>
</message>
<message>
<location line="+1"/>
<source>Range...</source>
<translation>Промежуток...</translation>
</message>
<message>
<location line="+11"/>
<source>Received with</source>
<translation>Получено на</translation>
</message>
<message>
<location line="+2"/>
<source>Sent to</source>
<translation>Отправлено на</translation>
</message>
<message>
<location line="+2"/>
<source>To yourself</source>
<translation>Отправленные себе</translation>
</message>
<message>
<location line="+1"/>
<source>Mined</source>
<translation>Добытые</translation>
</message>
<message>
<location line="+1"/>
<source>Other</source>
<translation>Другое</translation>
</message>
<message>
<location line="+7"/>
<source>Enter address or label to search</source>
<translation>Введите адрес или метку для поиска</translation>
</message>
<message>
<location line="+7"/>
<source>Min amount</source>
<translation>Мин. сумма</translation>
</message>
<message>
<location line="+34"/>
<source>Copy address</source>
<translation>Копировать адрес</translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation>Копировать метку</translation>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation>Скопировать сумму</translation>
</message>
<message>
<location line="+1"/>
<source>Copy transaction ID</source>
<translation>Скопировать ID транзакции</translation>
</message>
<message>
<location line="+1"/>
<source>Edit label</source>
<translation>Изменить метку</translation>
</message>
<message>
<location line="+1"/>
<source>Show transaction details</source>
<translation>Показать подробности транзакции</translation>
</message>
<message>
<location line="+144"/>
<source>Export Transaction Data</source>
<translation>Экспортировать данные транзакций</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Текст, разделённый запятыми (*.csv)</translation>
</message>
<message>
<location line="+8"/>
<source>Confirmed</source>
<translation>Подтверждено</translation>
</message>
<message>
<location line="+1"/>
<source>Date</source>
<translation>Дата</translation>
</message>
<message>
<location line="+1"/>
<source>Type</source>
<translation>Тип</translation>
</message>
<message>
<location line="+1"/>
<source>Label</source>
<translation>Метка</translation>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation>Адрес</translation>
</message>
<message>
<location line="+1"/>
<source>Amount</source>
<translation>Количество</translation>
</message>
<message>
<location line="+1"/>
<source>ID</source>
<translation>ID</translation>
</message>
<message>
<location line="+4"/>
<source>Error exporting</source>
<translation>Ошибка экспорта</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Невозможно записать в файл %1.</translation>
</message>
<message>
<location line="+100"/>
<source>Range:</source>
<translation>Промежуток от:</translation>
</message>
<message>
<location line="+8"/>
<source>to</source>
<translation>до</translation>
</message>
</context>
<context>
<name>WalletModel</name>
<message>
<location filename="../walletmodel.cpp" line="+206"/>
<source>Sending...</source>
<translation>Отправка....</translation>
</message>
</context>
<context>
<name>bitcoin-core</name>
<message>
<location filename="../bitcoinstrings.cpp" line="+33"/>
<source>VPSCoin version</source>
<translation>Версия</translation>
</message>
<message>
<location line="+1"/>
<source>Usage:</source>
<translation>Использование:</translation>
</message>
<message>
<location line="+1"/>
<source>Send command to -server or VPSCoind</source>
<translation>Отправить команду на -server или VPSCoind</translation>
</message>
<message>
<location line="+1"/>
<source>List commands</source>
<translation>Список команд
</translation>
</message>
<message>
<location line="+1"/>
<source>Get help for a command</source>
<translation>Получить помощь по команде</translation>
</message>
<message>
<location line="+2"/>
<source>Options:</source>
<translation>Опции:</translation>
</message>
<message>
<location line="+2"/>
<source>Specify configuration file (default: VPSCoin.conf)</source>
<translation>Указать конфигурационный файл (по умолчанию: VPSCoin.conf)</translation>
</message>
<message>
<location line="+1"/>
<source>Specify pid file (default: VPSCoind.pid)</source>
<translation>Указать pid-файл (по умолчанию: VPSCoind.pid)</translation>
</message>
<message>
<location line="+2"/>
<source>Specify wallet file (within data directory)</source>
<translation>Указать файл кошелька (в пределах DATA директории)</translation>
</message>
<message>
<location line="-1"/>
<source>Specify data directory</source>
<translation>Укажите каталог данных</translation>
</message>
<message>
<location line="+2"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation>Установить размер кэша базы данных в мегабайтах (по умолчанию: 25)</translation>
</message>
<message>
<location line="+1"/>
<source>Set database disk log size in megabytes (default: 100)</source>
<translation>Установить размер лога базы данных в мегабайтах (по умолчанию: 100)</translation>
</message>
<message>
<location line="+6"/>
<source>Listen for connections on <port> (default: 15714 or testnet: 25714)</source>
<translation>Принимать входящие подключения на <port> (по умолчанию: 15714 или 25714 в тестовой сети)</translation>
</message>
<message>
<location line="+1"/>
<source>Maintain at most <n> connections to peers (default: 125)</source>
<translation>Поддерживать не более <n> подключений к узлам (по умолчанию: 125)</translation>
</message>
<message>
<location line="+3"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation>Подключиться к узлу, чтобы получить список адресов других участников и отключиться</translation>
</message>
<message>
<location line="+1"/>
<source>Specify your own public address</source>
<translation>Укажите ваш собственный публичный адрес</translation>
</message>
<message>
<location line="+5"/>
<source>Bind to given address. Use [host]:port notation for IPv6</source>
<translation>Привязаться (bind) к указанному адресу. Используйте запись вида [хост]:порт для IPv6</translation>
</message>
<message>
<location line="+2"/>
<source>Stake your coins to support network and gain reward (default: 1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Threshold for disconnecting misbehaving peers (default: 100)</source>
<translation>Порог для отключения неправильно ведущих себя узлов (по умолчанию: 100)</translation>
</message>
<message>
<location line="+1"/>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
<translation>Число секунд блокирования неправильно ведущих себя узлов (по умолчанию: 86400)</translation>
</message>
<message>
<location line="-44"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
<translation>Произошла ошибка при открытии RPC-порта %u для прослушивания на IPv4: %s</translation>
</message>
<message>
<location line="+51"/>
<source>Detach block and address databases. Increases shutdown time (default: 0)</source>
<translation>Отключить базы данных блоков и адресов. Увеличивает время завершения работы (по умолчанию: 0)</translation>
</message>
<message>
<location line="+109"/>
<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>Ошибка: В транзакции отказано. Такое может произойти, если некоторые монеты уже были потрачены, например, если Вы используете одну копию файла wallet.dat, а монеты были потрачены из другой копии, но не были отмечены как потраченные в этой.</translation>
</message>
<message>
<location line="-5"/>
<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>Ошибка: эта транзакция требует комиссию в размере как минимум %s из-за её объёма, сложности или использования недавно полученных средств </translation>
</message>
<message>
<location line="-87"/>
<source>Listen for JSON-RPC connections on <port> (default: 15715 or testnet: 25715)</source>
<translation>Прослушивать подключения JSON-RPC на <порту> (по умолчанию: 15715 или для testnet: 25715)</translation>
</message>
<message>
<location line="-11"/>
<source>Accept command line and JSON-RPC commands</source>
<translation>Принимать командную строку и команды JSON-RPC</translation>
</message>
<message>
<location line="+101"/>
<source>Error: Transaction creation failed </source>
<translation>Ошибка: Создание транзакции не удалось </translation>
</message>
<message>
<location line="-5"/>
<source>Error: Wallet locked, unable to create transaction </source>
<translation>Ошибка: бумажник заблокирован, невозможно создать транзакцию </translation>
</message>
<message>
<location line="-8"/>
<source>Importing blockchain data file.</source>
<translation>Импортируется файл цепи блоков.</translation>
</message>
<message>
<location line="+1"/>
<source>Importing bootstrap blockchain data file.</source>
<translation>Импортируется bootstrap-файл цепи блоков.</translation>
</message>
<message>
<location line="-88"/>
<source>Run in the background as a daemon and accept commands</source>
<translation>Запускаться в фоне как демон и принимать команды</translation>
</message>
<message>
<location line="+1"/>
<source>Use the test network</source>
<translation>Использовать тестовую сеть</translation>
</message>
<message>
<location line="-24"/>
<source>Accept connections from outside (default: 1 if no -proxy or -connect)</source>
<translation>Принимать подключения извне (по умолчанию: 1, если не используется -proxy или -connect)</translation>
</message>
<message>
<location line="-38"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source>
<translation>Произошла ошибка при открытии на прослушивание IPv6 RCP-порта %u, возвращаемся к IPv4: %s</translation>
</message>
<message>
<location line="+117"/>
<source>Error initializing database environment %s! To recover, BACKUP THAT DIRECTORY, then remove everything from it except for wallet.dat.</source>
<translation>Ошибка инициализации окружения БД %s! Для восстановления СДЕЛАЙТЕ РЕЗЕРВНУЮ КОПИЮ этой директории, затем удалите из нее все, кроме wallet.dat.</translation>
</message>
<message>
<location line="-20"/>
<source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source>
<translation>Максимальный размер высокоприоритетных/низкокомиссионных транзакций в байтах (по умолчанию: 27000)</translation>
</message>
<message>
<location line="+11"/>
<source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source>
<translation>Внимание: установлено очень большое значение -paytxfee. Это комиссия, которую вы заплатите при проведении транзакции.</translation>
</message>
<message>
<location line="+61"/>
<source>Warning: Please check that your computer's date and time are correct! If your clock is wrong VPSCoin will not work properly.</source>
<translation>Внимание: убедитесь, что дата и время на Вашем компьютере выставлены верно. Если Ваши часы идут неправильно, VPSCoin будет работать некорректно.</translation>
</message>
<message>
<location line="-31"/>
<source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source>
<translation>Внимание: ошибка чтения wallet.dat! Все ключи восстановлены, но записи в адресной книге и истории транзакций могут быть некорректными.</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>Внимание: wallet.dat был поврежден, данные восстановлены! Оригинальный wallet.dat сохранен как wallet.{timestamp}.bak в %s;, если ваши транзакции или баланс отображаются неправильно, следует восстановить его из данной копии.</translation>
</message>
<message>
<location line="-30"/>
<source>Attempt to recover private keys from a corrupt wallet.dat</source>
<translation>Попытка восстановления ключей из поврежденного wallet.dat</translation>
</message>
<message>
<location line="+4"/>
<source>Block creation options:</source>
<translation>Параметры создания блоков:</translation>
</message>
<message>
<location line="-62"/>
<source>Connect only to the specified node(s)</source>
<translation>Подключаться только к указанному узлу(ам)</translation>
</message>
<message>
<location line="+4"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation>Определить свой IP (по умолчанию: 1 при прослушивании и если не используется -externalip)</translation>
</message>
<message>
<location line="+94"/>
<source>Failed to listen on any port. Use -listen=0 if you want this.</source>
<translation>Не удалось начать прослушивание на порту. Используйте -listen=0 если вас это устраивает.</translation>
</message>
<message>
<location line="-90"/>
<source>Find peers using DNS lookup (default: 1)</source>
<translation>Искать узлы с помощью DNS (по умолчанию: 1)</translation>
</message>
<message>
<location line="+5"/>
<source>Sync checkpoints policy (default: strict)</source>
<translation>Политика синхронизированных меток (по умолчанию: strict)</translation>
</message>
<message>
<location line="+83"/>
<source>Invalid -tor address: '%s'</source>
<translation>Неверный адрес -tor: '%s'</translation>
</message>
<message>
<location line="+4"/>
<source>Invalid amount for -reservebalance=<amount></source>
<translation type="unfinished"/>
</message>
<message>
<location line="-82"/>
<source>Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)</source>
<translation>Максимальный размер буфера приёма на соединение, <n>*1000 байт (по умолчанию: 5000)</translation>
</message>
<message>
<location line="+1"/>
<source>Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)</source>
<translation>Максимальный размер буфера отправки на соединение, <n>*1000 байт (по умолчанию: 1000)</translation>
</message>
<message>
<location line="-16"/>
<source>Only connect to nodes in network <net> (IPv4, IPv6 or Tor)</source>
<translation>Подключаться только к узлам из сети <net> (IPv4, IPv6 или Tor)</translation>
</message>
<message>
<location line="+28"/>
<source>Output extra debugging information. Implies all other -debug* options</source>
<translation>Выводить больше отладочной информации. Включает все остальные опции -debug*</translation>
</message>
<message>
<location line="+1"/>
<source>Output extra network debugging information</source>
<translation>Выводить дополнительную сетевую отладочную информацию</translation>
</message>
<message>
<location line="+1"/>
<source>Prepend debug output with timestamp</source>
<translation>Дописывать отметки времени к отладочному выводу</translation>
</message>
<message>
<location line="+35"/>
<source>SSL options: (see the Bitcoin Wiki for SSL setup instructions)</source>
<translation>
Параметры SSL: (см. Bitcoin Wiki для инструкций по настройке SSL)</translation>
</message>
<message>
<location line="-74"/>
<source>Select the version of socks proxy to use (4-5, default: 5)</source>
<translation>Выберите версию SOCKS-прокси (4-5, по умолчанию: 5)</translation>
</message>
<message>
<location line="+41"/>
<source>Send trace/debug info to console instead of debug.log file</source>
<translation>Выводить информацию трассировки/отладки на консоль вместо файла debug.log</translation>
</message>
<message>
<location line="+1"/>
<source>Send trace/debug info to debugger</source>
<translation>Отправлять информацию трассировки/отладки в отладчик</translation>
</message>
<message>
<location line="+28"/>
<source>Set maximum block size in bytes (default: 250000)</source>
<translation>Максимальный размер блока в байтах (по умолчанию: 250000)</translation>
</message>
<message>
<location line="-1"/>
<source>Set minimum block size in bytes (default: 0)</source>
<translation>Минимальный размер блока в байтах (по умолчанию: 0)</translation>
</message>
<message>
<location line="-29"/>
<source>Shrink debug.log file on client startup (default: 1 when no -debug)</source>
<translation>Сжимать файл debug.log при запуске клиента (по умолчанию: 1, если нет -debug)</translation>
</message>
<message>
<location line="-42"/>
<source>Specify connection timeout in milliseconds (default: 5000)</source>
<translation>Таймаут соединения в миллисекундах (по умолчанию: 5000)</translation>
</message>
<message>
<location line="+109"/>
<source>Unable to sign checkpoint, wrong checkpointkey?
</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-80"/>
<source>Use UPnP to map the listening port (default: 0)</source>
<translation>Использовать UPnP для проброса порта (по умолчанию: 0)</translation>
</message>
<message>
<location line="-1"/>
<source>Use UPnP to map the listening port (default: 1 when listening)</source>
<translation>Использовать UPnP для проброса порта (по умолчанию: 1, если используется прослушивание)</translation>
</message>
<message>
<location line="-25"/>
<source>Use proxy to reach tor hidden services (default: same as -proxy)</source>
<translation>Использовать прокси для скрытых сервисов (по умолчанию: тот же, что и в -proxy)</translation>
</message>
<message>
<location line="+42"/>
<source>Username for JSON-RPC connections</source>
<translation>Имя для подключений JSON-RPC</translation>
</message>
<message>
<location line="+47"/>
<source>Verifying database integrity...</source>
<translation>Проверка целостности базы данных...</translation>
</message>
<message>
<location line="+57"/>
<source>WARNING: syncronized checkpoint violation detected, but skipped!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Warning: Disk space is low!</source>
<translation>Внимание: мало места на диске!</translation>
</message>
<message>
<location line="-2"/>
<source>Warning: This version is obsolete, upgrade required!</source>
<translation>Внимание: эта версия устарела, требуется обновление!</translation>
</message>
<message>
<location line="-48"/>
<source>wallet.dat corrupt, salvage failed</source>
<translation>wallet.dat поврежден, восстановление не удалось</translation>
</message>
<message>
<location line="-54"/>
<source>Password for JSON-RPC connections</source>
<translation>Пароль для подключений JSON-RPC</translation>
</message>
<message>
<location line="-84"/>
<source>%s, you must set a rpcpassword in the configuration file:
%s
It is recommended you use the following random password:
rpcuser=VPSCoinrpc
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 "VPSCoin Alert" admin@foo.com
</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+51"/>
<source>Find peers using internet relay chat (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<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="+15"/>
<source>When creating transactions, ignore inputs with value less than this (default: 0.01)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation>Разрешить подключения JSON-RPC с указанного IP</translation>
</message>
<message>
<location line="+1"/>
<source>Send commands to node running on <ip> (default: 127.0.0.1)</source>
<translation>Посылать команды узлу, запущенному на <ip> (по умолчанию: 127.0.0.1)</translation>
</message>
<message>
<location line="+1"/>
<source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source>
<translation>Выполнить команду, когда появляется новый блок (%s в команде заменяется на хэш блока)</translation>
</message>
<message>
<location line="+3"/>
<source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source>
<translation>Выполнить команду, когда получена новая транзакция (%s в команде заменяется на ID транзакции)</translation>
</message>
<message>
<location line="+3"/>
<source>Require a confirmations for change (default: 0)</source>
<translation>Требовать подтверждения для сдачи (по умолчанию: 0)</translation>
</message>
<message>
<location line="+1"/>
<source>Enforce transaction scripts to use canonical PUSH operators (default: 1)</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>Обновить бумажник до последнего формата</translation>
</message>
<message>
<location line="+1"/>
<source>Set key pool size to <n> (default: 100)</source>
<translation>Установить размер запаса ключей в <n> (по умолчанию: 100)</translation>
</message>
<message>
<location line="+1"/>
<source>Rescan the block chain for missing wallet transactions</source>
<translation>Перепроверить цепь блоков на предмет отсутствующих в бумажнике транзакций</translation>
</message>
<message>
<location line="+2"/>
<source>How many blocks to check at startup (default: 2500, 0 = all)</source>
<translation>Сколько блоков проверять при запуске (по умолчанию: 2500, 0 = все)</translation>
</message>
<message>
<location line="+1"/>
<source>How thorough the block verification is (0-6, default: 1)</source>
<translation>Насколько тщательно проверять блоки (0-6, по умолчанию: 1)</translation>
</message>
<message>
<location line="+1"/>
<source>Imports blocks from external blk000?.dat file</source>
<translation>Импортировать блоки из внешнего файла blk000?.dat</translation>
</message>
<message>
<location line="+8"/>
<source>Use OpenSSL (https) for JSON-RPC connections</source>
<translation>Использовать OpenSSL (https) для подключений JSON-RPC</translation>
</message>
<message>
<location line="+1"/>
<source>Server certificate file (default: server.cert)</source>
<translation>Файл серверного сертификата (по умолчанию: server.cert)</translation>
</message>
<message>
<location line="+1"/>
<source>Server private key (default: server.pem)</source>
<translation>Приватный ключ сервера (по умолчанию: server.pem)</translation>
</message>
<message>
<location line="+1"/>
<source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source>
<translation>Разрешённые алгоритмы (по умолчанию: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation>
</message>
<message>
<location line="+53"/>
<source>Error: Wallet unlocked for staking only, unable to create transaction.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<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="-158"/>
<source>This help message</source>
<translation>Эта справка</translation>
</message>
<message>
<location line="+95"/>
<source>Wallet %s resides outside data directory %s.</source>
<translation>Кошелек %s находится вне рабочей директории %s.</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot obtain a lock on data directory %s. VPSCoin is probably already running.</source>
<translation>Невозможно установить блокировку на рабочую директорию %s. Возможно, бумажник уже запущен.</translation>
</message>
<message>
<location line="-98"/>
<source>VPSCoin</source>
<translation>VPSCoin</translation>
</message>
<message>
<location line="+140"/>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
<translation>Невозможно привязаться к %s на этом компьютере (bind вернул ошибку %d, %s)</translation>
</message>
<message>
<location line="-130"/>
<source>Connect through socks proxy</source>
<translation>Подключаться через socks прокси</translation>
</message>
<message>
<location line="+3"/>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
<translation>Разрешить поиск в DNS для -addnode, -seednode и -connect</translation>
</message>
<message>
<location line="+122"/>
<source>Loading addresses...</source>
<translation>Загрузка адресов...</translation>
</message>
<message>
<location line="-15"/>
<source>Error loading blkindex.dat</source>
<translation>Ошибка чтения blkindex.dat</translation>
</message>
<message>
<location line="+2"/>
<source>Error loading wallet.dat: Wallet corrupted</source>
<translation>Ошибка загрузки wallet.dat: Бумажник поврежден</translation>
</message>
<message>
<location line="+4"/>
<source>Error loading wallet.dat: Wallet requires newer version of VPSCoin</source>
<translation>Ошибка загрузки wallet.dat: бумажник требует более новую версию VPSCoin</translation>
</message>
<message>
<location line="+1"/>
<source>Wallet needed to be rewritten: restart VPSCoin to complete</source>
<translation>Необходимо перезаписать бумажник, перезапустите VPSCoin для завершения операции</translation>
</message>
<message>
<location line="+1"/>
<source>Error loading wallet.dat</source>
<translation>Ошибка при загрузке wallet.dat</translation>
</message>
<message>
<location line="-16"/>
<source>Invalid -proxy address: '%s'</source>
<translation>Неверный адрес -proxy: '%s'</translation>
</message>
<message>
<location line="-1"/>
<source>Unknown network specified in -onlynet: '%s'</source>
<translation>В параметре -onlynet указана неизвестная сеть: '%s'</translation>
</message>
<message>
<location line="-1"/>
<source>Unknown -socks proxy version requested: %i</source>
<translation>В параметре -socks запрошена неизвестная версия: %i</translation>
</message>
<message>
<location line="+4"/>
<source>Cannot resolve -bind address: '%s'</source>
<translation>Не удаётся разрешить адрес в параметре -bind: '%s'</translation>
</message>
<message>
<location line="+2"/>
<source>Cannot resolve -externalip address: '%s'</source>
<translation>Не удаётся разрешить адрес в параметре -externalip: '%s'</translation>
</message>
<message>
<location line="-24"/>
<source>Invalid amount for -paytxfee=<amount>: '%s'</source>
<translation>Неверное количество в параметре -paytxfee=<кол-во>: '%s'</translation>
</message>
<message>
<location line="+44"/>
<source>Error: could not start node</source>
<translation>Ошибка: не удалось запустить узел</translation>
</message>
<message>
<location line="+11"/>
<source>Sending...</source>
<translation>Отправка...</translation>
</message>
<message>
<location line="+5"/>
<source>Invalid amount</source>
<translation>Неверное количество</translation>
</message>
<message>
<location line="+1"/>
<source>Insufficient funds</source>
<translation>Недостаточно монет</translation>
</message>
<message>
<location line="-34"/>
<source>Loading block index...</source>
<translation>Загрузка индекса блоков...</translation>
</message>
<message>
<location line="-103"/>
<source>Add a node to connect to and attempt to keep the connection open</source>
<translation>Добавить узел для подключения и пытаться поддерживать соединение открытым</translation>
</message>
<message>
<location line="+122"/>
<source>Unable to bind to %s on this computer. VPSCoin is probably already running.</source>
<translation>Невозможно привязаться к %s на этом компьютере. Возможно, VPSCoin уже работает.</translation>
</message>
<message>
<location line="-97"/>
<source>Fee per KB to add to transactions you send</source>
<translation>Комиссия на килобайт, добавляемая к вашим транзакциям</translation>
</message>
<message>
<location line="+55"/>
<source>Invalid amount for -mininput=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+25"/>
<source>Loading wallet...</source>
<translation>Загрузка бумажника...</translation>
</message>
<message>
<location line="+8"/>
<source>Cannot downgrade wallet</source>
<translation>Не удаётся понизить версию бумажника</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot initialize keypool</source>
<translation>Не удаётся инициализировать массив ключей</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot write default address</source>
<translation>Не удаётся записать адрес по умолчанию</translation>
</message>
<message>
<location line="+1"/>
<source>Rescanning...</source>
<translation>Сканирование...</translation>
</message>
<message>
<location line="+5"/>
<source>Done loading</source>
<translation>Загрузка завершена</translation>
</message>
<message>
<location line="-167"/>
<source>To use the %s option</source>
<translation>Чтобы использовать опцию %s</translation>
</message>
<message>
<location line="+14"/>
<source>Error</source>
<translation>Ошибка</translation>
</message>
<message>
<location line="+6"/>
<source>You must set rpcpassword=<password> in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
<translation>Вы должны установить rpcpassword=<password> в конфигурационном файле:
%s
Если файл не существует, создайте его и установите права доступа только для владельца.</translation>
</message>
</context>
</TS> | vpscoin/VPSCoin | src/qt/locale/bitcoin_ru.ts | TypeScript | mit | 145,363 |
import Ember from 'ember';
import layout from '../templates/components/ons-back-button';
export default Ember.Component.extend({
layout,
tagName: 'ons-back-button',
attributeBindings: ['modifier']
});
| sukima/ember-onsenui | addon/components/ons-back-button.js | JavaScript | mit | 208 |
"use strict";
var chai = require('chai');
var chaiHttp = require('chai-http');
var expect = require('chai').expect;
var app = require('../app');
var port = 3001;
var user1 = {
username: 'Laura',
password: 'tiger',
address: {
street: '123 Main St',
city: 'Beaverton',
state: 'OR',
zip: 97007,
},
_id: '',
};
chai.use(chaiHttp);
function chaiRequest() {
return chai.request(`localhost:${port}`);
}
describe('Single Resource REST API', function() {
before(function(done) {
app.listen(port, done);
});
it('POST /users request should add a user to DB', function(done) {
chaiRequest()
.post('/users')
.send(user1)
.end(function(err, res) {
expect(res).to.have.status(200);
//expect(res.text).to.have.string('Welcome to');
expect(res.body).to.have.property('_id');
user1._id = res.body._id;
expect(res.body.username).to.equal(user1.username);
done();
});
});
it('GET /users/:id request for user1 ID should user1 from DB', function(done) {
chaiRequest()
.get('/users/' + user1._id)
.end(function(err, res) {
expect(res).to.have.status(200);
expect(res.body._id).to.equal(user1._id);
expect(res.body.username).to.equal(user1.username);
done();
});
});
it('GET /users request should return all users from DB', function(done) {
chaiRequest()
.get('/users')
.end(function(err, res) {
expect(res).to.have.status(200);
expect(res.body.length).to.be.above(0);
done();
});
});
it('GET /users/:id request for INVALID ID should return empty object', function(done) {
chaiRequest()
.get('/users/999999')
.end(function(err, res) {
expect(res.body).to.be.empty;
done();
});
});
// it('PUT /users/:id request for user1 ID should update user1 password in DB', function(done) {
// chaiRequest()
// .put('/users/' + user1._id)
// .send({password: 'NewPassword'})
// .end(function(err, res) {
// console.log(res.redirects);
// expect(res).to.have.status(200);
// expect(res.body._id).to.equal(user1._id);
// expect(res.body.password).to.equal('NewPassword');
// done();
// });
// });
it('DELETE /users/:id should delete user1 from DB', function(done) {
chaiRequest()
.del('/users/' + user1._id)
.end(function(err, res) {
expect(err).to.be.null;
expect(res).to.have.status(200);
expect(res).to.be.json;
expect(res.body.message).to.equal('ID: ' + user1._id + ' deleted from DB');
done();
});
});
});
| ToolShare/ToolShare | tests/users-routes.Spec.js | JavaScript | mit | 2,639 |
#Node Superclass
abstract _Node{K,V}
#Internal Node - binary version
type Node{K,V} <: _Node{K,V}
key::K
value::V
left::_Node{K,V}
right::_Node{K,V}
end
#Leaf class, might be too formal
type Leaf{K,V} <: _Node{K,V}
end
#constructors for node class
Node{K,V}(key::K, value::V) = Node{K,V}(key, value, Leaf{K,V}(), Leaf{K,V}())
Node{K,V}(key::K, value::V, left::Node{K,V}) = Node{K,V}(key, value, left, Leaf{K,V}())
#Binary Tree container
type BinaryTree{K,V}
root::_Node{K,V}
end
#Constructor function
function BinaryTree(TKey, TValue)
if (typeof(TKey) == DataType) & (typeof(TValue) == DataType)
BinaryTree{TKey, TValue}(Leaf{TKey,TValue}())
else
error("TKey and TValue must be DataType's, found TKey::" * string(typeof(TKey)) * " TValue::" * string(typeof(TValue)))
end
end
type BinaryTreeIterator{K,V}
tree::BinaryTree{K,V}
nodeStack::Array{_Node{K,V}}
end
function BinaryTreeIterator{K,V}( tree::BinaryTree{K,V} )
iter = BinaryTreeIterator(tree, Array(_Node{K,V},0))
push!(iter.nodeStack, tree.root)
iter
end
type StepVector{K,V}
tree::BinaryTree{K,V}
end
function StepVector(TKey, TValue)
ret = StepVector(BinaryTree(TKey, TValue))
insert(ret.tree, convert(TKey, 0), convert( TValue, 0))
ret
end
function Base.string(x::StepVector)
ret = "StepVector("
for node in x.tree
ret = ret * string(node.key) * ":" * string(node.value) * ","
end
return(ret * ")")
end
Base.print(io::IO, x::StepVector) = print(io, string(x))
Base.show(io::IO, x::StepVector) = print(io, string(x))
type GenomicInterval
chrom
start
stop
end
type GenomicArray
contigs::Dict
end
type Alignment
readName
flag
refID
pos
mapq
cigar
nextRefID
nextPos
tLen
seq
qual
optionalFields
end
type CigarOperation
opcode
size::Uint32
interval::GenomicInterval
end
type BAMReference
name::String
length::Int32
end
BAMReference() = BAMReference("None", -1)
type BAMReader
filename::String
stream::GZip.GZipStream
headerText::String
references
end
BAMReader(filename::String) = initializeBAMReader( filename )
type GenomicArray{CType, VType}
map::BinaryTree{CType, StepVector{Uint64, VType}}
end
function GenomicArray( VType )
GenomicArray(BinaryTree(ASCIIString, StepVector{Uint64, VType}))
end
| PaulTheodorPyl/Genomic.jl | src/Classes.jl | Julia | mit | 2,387 |
#!/usr/bin/env bash
set -ex
# NOTE: in the holy name of simplicity and laziness I don't bother handling $PROJECT_ROOT which needs quoting;
# if you try using this script with a $PROJECT_ROOT that has a space in it or so, you're a friggin' moron
if [ ! -e /etc/lsb-release ] || ! egrep 'Ubuntu' /etc/lsb-release > /dev/null; then
echo "this script expects Ubuntu" # but if you know what you're doing, you can just do as the script does
# on your system
# and if you use Debian, then I'm sorry, were I a better man I'd test and
# allow running on it, too
exit 1
fi
if [ -z $PROJECT_ROOT ]; then
PROJECT_ROOT="/opt/revdev"
fi
if [ ! -d $PROJECT_ROOT ] || ! grep d3333ce73f05 $PROJECT_ROOT/bootstrap.sh > /dev/null; then
echo "you should have cloned this repo at $PROJECT_ROOT"
exit 1
fi
if [ "$(id -u)" != "0" ]; then
echo "this script expects to run as root"
exit 1
fi
if dpkg-query -W -f '${Provides}\n' | grep httpd > /dev/null; then
if [ -n "$IDEMPOTENT" ]; then
echo "removing your existing nginx"
apt-get --assume-yes purge nginx-full
apt-get --assume-yes autoremove
else
echo "it appears you already have a webserver on this system; cowardly aborting"
exit 1
fi
fi
if [ -n "$1" ]; then
REVDEV_KEY_PASSWORD="$1"
fi
patch_config_file() {
grep "$1" "$2" > /dev/null || echo "$1" >> "$2"
}
# setup the revdev user
cd $PROJECT_ROOT
mkdir -p home/.ssh
[ ! -f home/.ssh/id_rsa ] && ssh-keygen -f home/.ssh/id_rsa -N '' -q
if [ -n "$IDEMPOTENT" ] && id revdev 2> /dev/null; then
userdel revdev
fi
useradd revdev -d $PROJECT_ROOT/home/ -M -s /bin/sh -r
echo -n "permitopen=\"127.0.0.1:1\",command=\"exec /usr/bin/python -u $PROJECT_ROOT/bin/manager\" " > home/.ssh/authorized_keys
cat home/.ssh/id_rsa.pub >> home/.ssh/authorized_keys
chown -R revdev:revdev home/.ssh
cp home/.ssh/id_rsa www/key
chmod 644 www/key
cat > /etc/sudoers.d/revdev << EOF
Cmnd_Alias NETSTAT = /bin/netstat -tnlp
Cmnd_Alias RELOAD_NGINX = /etc/init.d/nginx reload
revdev ALL=NOPASSWD: NETSTAT, RELOAD_NGINX
EOF
chmod 440 /etc/sudoers.d/revdev
# install/configure nginx
apt-get install --assume-yes nginx-full
mkdir -p nginx/conf.d
chown revdev:revdev nginx/conf.d
mkdir -p nginx/log
chown www-data nginx/log
patch_config_file "DAEMON_OPTS=\"-c $PROJECT_ROOT/nginx/nginx.conf\"" /etc/default/nginx
SERVER_BODY=$(cat << EOF
root $PROJECT_ROOT/www/;
index index.html index.php;
access_log /var/log/nginx/access.log;
server_name revdev;
location /key {
auth_basic revdev;
auth_basic_user_file $PROJECT_ROOT/nginx/htpasswd;
}
EOF
)
if [ -d ssl ]; then
OPTIONAL_SSL_INCLUDE="include $PROJECT_ROOT/ssl/nginx.conf;"
cat > ssl/nginx.conf << EOF
ssl_certificate $PROJECT_ROOT/ssl/certificate.crt;
ssl_certificate_key $PROJECT_ROOT/ssl/key.key;
server {
listen 443 ssl;
ssl on;
$SERVER_BODY
}
EOF
fi
cat > nginx/nginx.conf << EOF
error_log /var/log/nginx/error.log;
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
server {
listen 8000 default_server;
listen 80;
$SERVER_BODY
}
$OPTIONAL_SSL_INCLUDE
include $PROJECT_ROOT/nginx/conf.d/*;
}
EOF
echo ${REVDEV_KEY_USERNAME:-revdev}:$(openssl passwd -crypt ${REVDEV_KEY_PASSWORD:-secret}) > nginx/htpasswd
/etc/init.d/nginx start
# configure sshd for great justice
patch_config_file "UseDNS no" /etc/ssh/sshd_config
patch_config_file "ClientAliveInterval 3" /etc/ssh/sshd_config
service ssh reload
set +ex
cat << EOF
REVDEV INSTALLED SUCCESSFULLY (at least, I think).
Assuming you'd like this revdev server to be called revdev.mydomain.com, that its IP is 1.2.3.4 and that you'd like your development machine to be accessible at mylaptop.revdev.mydomain.com, you will need to do the following:
1. Make sure these DNS records are in place:
revdev IN A 1.2.3.4
*.revdev IN CNAME revdev.mydomain.com.
2. Run the following commands on your laptop:
wget http://revdev:secret@revdev.mydomin.com/key -O ~/.ssh/revdev_rsa
chmod 600 ~/.ssh/revdev_rsa
ssh -i ~/.ssh/revdev_rsa -R localhost:0:localhost:8000 revdev@revdev.mydomain.com mylaptop
3. Open a browser and direct it to http://mylaptop.revdev.mydomain.com. You're done!
Comments? Questions? Head over to https://github.com/yaniv-aknin/revdev and be social :)
EOF
| yaniv-aknin/revdev | bootstrap.sh | Shell | mit | 4,702 |
This directory contains the Puppet control repo. Clone the control repo into a
directory (called development by default). Make sure the directory name matches
the puppet_environment fact in the Vagrantfile. The Puppet control repo will be
installed in /etc/puppet/environments on the Vagrant VM.
| iansu/puppet-control-sandbox | puppet-control/README.md | Markdown | mit | 296 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.