This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var Promise = require('promise'); | |
var rp = require('request-promise'); | |
var Jimp = require("jimp"); | |
var Canvas = require('canvas') | |
, Image = Canvas.Image | |
, canvas = new Canvas(200, 200, "png") | |
, ctx = canvas.getContext('2d'); | |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trns_id,doc_datd,msrprd_date,doc_nazn,payer_nm,recipt_nm,doc_sq,payer_edrpou,recipt_edrpou,recipt_mfo_knw_id,recipt_mfo_nm,payer_mfo_knw_id,payer_mfo_nm | |
373881,14.09.2015,14.09.2015,"Акумуляція коштів єдиного внеску на рахунки ГУ МІНДОХОДІВ, клас профризику 201",Артемiвська ОДПI (Артемiвський р.),ГУ Мiндоходiв у Донецькiй обл.,93267.10,38659554,38707471,834016,ГУДКСУ у Донецькiй областi,834016,ГУДКСУ у Донецькiй областi | |
373882,14.09.2015,14.09.2015,*;101;;Податок з дох.найм.праців. утрим. з авансу за 09.xxxxр.У бюджет перерах.повністю.,Дзержинський міський центр зайнятості,029ДзержинськеУК/мДзержинськ/11010100,3576.00,22029719,37522165,834016,ГУДКСУ у Донецькiй областi,834016,ГУДКСУ у Донецькiй областi | |
373883,11.09.2015,14.09.2015,"зарплата з ДП"" ДДП геоінформатики та маркшердерії"",КР xxxx - Хачатрян Тетяна Iванівна",Відділ ДВС Артемівського МРУЮ,"ПАТ""ПУМБ""",2371.39,34776850,14282829,334851,"ЗАТ""ПЕРШИЙ УКР.МІЖНАРОД.БАНК"",ДОНЕЦЬК ",834016,ГУДКСУ у Донецькiй областi | |
373884,11.09.2015,14.09.2015,"#Пер.п |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
SOURCE_PATH=`pwd` | |
BUILD_PATH=$HOME/build | |
# In case the old package URL is still being used | |
sed -i 's/http\.debian\.net/httpredir\.debian\.org/g' /etc/apt/sources.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(XML) | |
url <- "http://drz.lanet.ua/updates/" | |
html <- xmlRoot(htmlTreeParse(url,useInternalNodes = TRUE)) | |
files = xpathApply(html ,"//a", xmlGetAttr, "href") | |
am_files = files[grepl("AM.*xml", files)] | |
#ra_files = files[grepl("RA.*xml", files)] | |
#ra_tender <- function(name){ | |
# xml<- xmlRoot(xmlTreeParse(paste(url, name, sep=""), useInternalNodes = TRUE)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"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 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=""]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv, cv2 | |
import numpy as np | |
import sys | |
def read(filenames): | |
files = [] | |
for filename in filenames: | |
img = cv2.imread(filename) | |
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) | |
files.append(gray) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, ast | |
def printAst(ast, indent=' ', stream=sys.stdout, initlevel=0): | |
"Pretty-print an AST to the given output stream." | |
print_node(ast, initlevel, indent, stream.write) | |
stream.write('\n') | |
def print_node(node, level, indent, write): | |
"Recurse through a node, pretty-printing it." | |
pfx = indent * level |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, ast | |
def printAst(ast, indent=' ', stream=sys.stdout, initlevel=0): | |
"Pretty-print an AST to the given output stream." | |
print_node(ast, initlevel, indent, stream.write) | |
stream.write('\n') | |
def print_node(node, level, indent, write): | |
"Recurse through a node, pretty-printing it." | |
pfx = indent * level |