Skip to content

Instantly share code, notes, and snippets.

View Vanuan's full-sized avatar

John Yani Vanuan

  • Lohika
  • Odesa, Ukraine
View GitHub Profile
digraph {
label="За кого голосовать на выборах?"
"1"[label="Президентом должна\nбыть женщина?", shape="box", style=""];
"2"[label="Доверяете\nтелевизору?", shape="box", style=""];
"3"[label="Любите\nшоколад?", shape="box", style=""];
"4"[label="Хотите\nновых лиц?", shape="box", style=""];
"5"[label="Коса -\nприческа?", shape="box", style=""];
"6"[label="Нравится\nбокс?", shape="box", style=""];
"7"[label="Поддерживаете\nрадикальные действия?", shape="box", style=""];
@Vanuan
Vanuan / report.txt
Created June 5, 2015 16:37
Nabuvote
This file has been truncated, but you can view the full file.
2015-06-05 07:02:30.944 ID=1 IP=89.252.***.179 EML=roma***@***ail.ru MOB=38067***5159 SEL=27
2015-06-05 07:02:31.159 ID=2 IP=93.74.***.49 EML=flyo***@***kr.net MOB=38050***7295 SEL=6,7,10,11,12,18,20,34,35
2015-06-05 07:02:46.990 ID=3 IP=94.178.***.115 EML=207-***@***i.ua MOB=38097***0616 SEL=21
2015-06-05 07:04:02.713 ID=4 IP=89.19.***.229 EML=hohm***@***il.com MOB=38067***4555 SEL=16
2015-06-05 07:04:32.831 ID=5 IP=78.111.***.153 EML=volo***@***ail.ru MOB=38050***4046 SEL=25
2015-06-05 07:05:14.259 ID=6 IP=217.25.***.35 EML=ksyy***@***kr.net MOB=38093***4848 SEL=27
2015-06-05 07:05:40.114 ID=7 IP=93.175.***.168 EML=vity***@***ail.ru MOB=38095***2011 SEL=27
2015-06-05 07:06:17.775 ID=8 IP=109.95.***.213 EML=a.si***@***kr.net MOB=38050***1429 SEL=5,9,13,14,15,20,27
2015-06-05 07:06:29.840 ID=9 IP=212.26.***.51 EML=shum***@***ail.ru MOB=38067***6133 SEL=8
2015-06-05 07:08:07.718 ID=10 IP=176.36.***.49 EML=v.ve***@***kr.net MOB=38063***0014 SEL=23
[{"announce_number":["143517"],"publish_date":["2015-06-08"],"document_name":["Оголошення про заплановану закупівлю"],"customer":[{"code":["05415792"],"name":["Клінічна лікарня \"Феофанія\" Державного управління справами"],"region":["Київ"],"address":["вул.Акад.Заболотного, 21, м.Київ, 03680"],"registration_account":["р/р 35219001009636 р/р 35224201009636"]}],"procedure_url":["https://ips.vdz.ua/ua/purchase_details.htm?id=618593"],"documents_url":["https://ips.vdz.ua/ua/purchase_details.htm?id=618593#tab_files"],"bulletin_number":["267(08.06.2015)"],"procedure_type":["Відкриті торги"],"branch":["Медицина та соціальна сфера"],"purchaseSubjectInfo":[{"purchase_subject":["32.50.2 запасні частини для апаратів штучної вентиляції легенів та наркозо-дихальних апаратів"],"quantity":["22 найменування"],"delivery_place":["протягом 2015 року"],"term":["за адресою замовника"]}],"purchase_cost":["1828117.87"],"currency":["грн."],"responsiblePersons":[{"responsiblePerson":[{"Name":["Поліщук Сергій Антонович "],"Phone":["(0
@Vanuan
Vanuan / etcX11xorg.conf
Created August 24, 2011 19:58
xorg.conf.nvidia
Section "DRI"
Mode 0666
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
Option "AutoAddDevices" "false"
EndSection
@Vanuan
Vanuan / xorg8.log
Created August 24, 2011 20:00
xorg8.log
[ 1338.283]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 1338.283] X Protocol Version 11, Revision 0
[ 1338.283] Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
[ 1338.283] Current Operating System: Linux LordDaret 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64
[ 1338.283] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=6ff58b14-964a-48f0-8f41-2da357bd4ca9 ro splash vga=769 quiet splash nomodeset nouveau.modeset=0 vt.handoff=7
[ 1338.283] Build Date: 11 August 2011 03:43:05PM
[ 1338.283] xorg-server 2:1.10.1-1ubuntu1.2 (For technical support please see http://www.ubuntu.com/support)
[ 1338.283] Current version of pixman: 0.20.2
@Vanuan
Vanuan / gist:2127207
Created March 19, 2012 21:24
Rails bug
time ruby -Itest test/unit/table_test.rb
Loaded suite test/unit/table_test
Started
E.
Finished in 0.180404 seconds.
1) Error:
test_validation(TableChildTest):
ActiveRecord::RecordInvalid: Validation failed: Percentage is not included in the list
/var/lib/gems/1.9.1/gems/activerecord-3.2.2/lib/active_record/validations.rb:56:in `save!'
@Vanuan
Vanuan / gist:2867670
Created June 4, 2012 10:35
railties tests failing
.....[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_assets_are_concatenated_when_debug_is_off_and_compile_is_off_either_if_debug_assets_param_is_provided", #<MiniTest::Assertion: Expected /<script src="\/assets\/application-([0-z]+)\.js" type="text\/javascript"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>We're sorry, but something went wrong (500)</title>\n <style type=\"text/css\">\n body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n div.dialog {\n width: 25em;\n padding: 0 4em;\n margin: 4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color: #999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%; color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/500.html -->\n <div class=\"dialog\">\n <h1>We're sorry, but something went wrong.</h1>\n </div>\n</body>\n</html>\n".>]]][[:options, []], [:puke, [ApplicationTests::Ass
@Vanuan
Vanuan / gist:3907142
Created October 17, 2012 18:16
JSDT type inference
/** @returns {HTMLAnchorElement} */
var link = document.createElement('a');
link.innerHTML = "";
/**
results in the following outline:
class link {
static innerHtml : String
}
@Vanuan
Vanuan / Wrapper.java
Created October 26, 2012 17:14 — forked from vkravets/JythonNailgun.java
Running jython via Nailgun server
package com.github.vanuan.jython.nailgun;
import java.util.Arrays;
import org.python.core.Py;
import org.python.core.PyList;
import org.python.core.PySystemState;
import org.python.core.PyType;
import org.python.util.PythonInterpreter;
#include <gdk/gdkx.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <iostream>
/**
g++ -g `pkg-config gtk+-2.0 --cflags` -c get_wm_name.cpp
g++ get_wm_name.o `pkg-config gtk+-2.0 --libs`
**/