add got_chars((char *)Buf, Len); to int8_t CDC_Receive_FS (uint8_t Buf, uint32_t *Len)
and add usb_out(); to main loop
import re | |
class NGram(): | |
pattern = re.compile('[^а-яА-Я ]+') | |
_ngrams = dict() | |
_it = 0 | |
def __init__(self): | |
self.words = dict() | |
self._it = 0 |
add got_chars((char *)Buf, Len); to int8_t CDC_Receive_FS (uint8_t Buf, uint32_t *Len)
and add usb_out(); to main loop
/* | |
* rtc.c | |
* | |
* Created on: 11 июн. 2017 г. | |
* Author: stavinsky | |
*/ | |
#include "rtc.h" | |
This is a test for my lcd display.
PINS DB7:0 connected to A7:0
Other pins connected as described in lcd.h
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
yum install python35 python35-pip python35-devel | |
yum install gcc libxml2-devel.x86_64 libffi-devel libffi-devel libxslt-devel openssl-devel | |
python3 -m pip install scrapy | |
yum install postgresql95-devel.x86_64 | |
pip-3.5 install psycopg2 | |
locate bin/scrapy | |
from sklearn.base import TransformerMixin | |
class TransformWrapper(TransformerMixin): | |
"""simple wrapper for instruments like LabelEncoder. | |
It is usefull if we want to encode many features at one time. | |
They have a little bit different interface compairing to OneHotEncoder for example""" | |
def __init__(self, enc): | |
self.enc = enc |
-module(solution). | |
-export([main/0]). | |
input(row) -> | |
input([], row); | |
input(column) -> | |
input([], column). | |
input(List, row)-> | |
case io:get_line("") of | |
eof -> List; |
#!/usr/bin/env python | |
""" mysql_test_connection.py: simple script to check if mysql drops connections | |
""" | |
import mysql.connector | |
from mysql.connector import errorcode | |
import sys | |
import logging | |
import time | |
TIMEOUT = 100.0 / 1000 # milliseconds |
#!/bin/bash -e | |
###### | |
# here last version of all package. | |
# Please change constants at the top of this file before use!!! | |
# | |
# usage: sh -e build.sh all # to build all in a right sequence | |
# | |
# | |
###### |