Skip to content

Instantly share code, notes, and snippets.

Vladimir Yakovlev nagos

Block or report user

Report or block nagos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nagos
nagos / log_parse.py
Created Feb 5, 2020
Python to InfluxDB transfer
View log_parse.py
#!/usr/bin/env python3
import sys
from influxdb import InfluxDBClient
def process(fname):
with open(fname) as infile:
json_body = []
for line in infile:
d = line.rstrip().split('\t')
@nagos
nagos / captcha_full.ipynb
Created Nov 15, 2017
Распознавание капчи на нейронных сетях
View captcha_full.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View decay.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 0001-tools-Fix-mingw-tools-build.patch
From ce21fbf37a816189d44d8f91844426a9faa7b129 Mon Sep 17 00:00:00 2001
From: Vladimir Yakovlev <nagos@inbox.ru>
Date: Sat, 7 Jul 2012 23:52:41 +0400
Subject: [PATCH] tools: Fix mingw tools build
mkenvimage does not build due to missed os_support.o and unsupported
file modes S_IRGRP S_IWGRP.
Tested with mingw 4.2.1 on ubuntu 12.04.
Signed-off-by: Vladimir Yakovlev <nagos@inbox.ru>
@nagos
nagos / ft_test.c
Created Feb 14, 2011
Пример чтения состояния ножек FT2232H в режиме MPSSE
View ft_test.c
/*
Пример быстрого чтения ножек FT2232H
Компилировать командой
gcc -Wall ft_test.c -l ftdi -o ft_test
Пример работы
nagos@VOLODJ:~/1$ ./ft_test
write: 1024
read: 1024
View mini2440-image.bb
#Angstrom bootstrap image
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
ANGSTROM_EXTRA_INSTALL ?= ""
DEPENDS = "task-base-extended \
psplash-zap \
esekeyd u-boot-utils tslib \
i2c-tools i2c screen rsync nfs-utils \
View blog20100729-2.txt
root@mini2440:/dev/shm# time pngread small.png
begin
Open
read
png_ptr
Init
info
jmpbuf
sig bytes
info2
View blog_20100830.sh
sudo apt-get install git-core
git clone git://github.com/nagos/chromed_bird.git chromed_bird_ru
@nagos
nagos / pyqt_todo.py
Created Aug 28, 2010
Простой todo на PyQT4
View pyqt_todo.py
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys
from PyQt4 import QtGui
from PyQt4 import QtCore
item_count=10
class Todo(QtGui.QWidget):
View TODOLIST.pl
#!/usr/bin/perl -w
use strict;
use Tk;
use Tk::Checkbutton;
use Tk::Entry;
my $mw=MainWindow->new(-title=>'',-background=>'White');
#===vptk widgets definition===< DO NOT WRITE UNDER THIS LINE >===
You can’t perform that action at this time.