Skip to content

Instantly share code, notes, and snippets.

View voleoo's full-sized avatar
🏠
Working from home

Viktor Leonets voleoo

🏠
Working from home
View GitHub Profile
var cnJqueryUi = angular.module('cn.jquery', []);
cnJqueryUi.directive('autoComplete', function($http) {
// by default do not format autocomplete data
var defaultFormatter = function(data) { return data };
return {
scope: {
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:
deb http://cdn.debian.net/debian experimental main
You can install it with the following commands:
$ apt-get update
$ apt-get install -t experimental iceweasel
Please report any problem to the [email protected] list.
http://pvr.wnet.ua:8018/
sqrt - square root
up = good +(fair/2 )
down =poor +(fair/2 )
n = up + down (count voice )
z = 1.64485; //1.0 = 85%, 1.6 = 95% constant
phat = up / n; (good / count voice(n))
(phat+z*z/(2*n)-z*sqrt((phat*(1-phat)+z*z/(4*n)/n))/(1+z*z/n);
doc http://habrahabr.ru/company/darudar/blog/143188/#habracut