This file contains hidden or 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 python2 | |
# -*- coding: utf-8 -*- | |
from copy import deepcopy as copy | |
import Queue | |
# usual matrix transpose, in simple python way | |
def transpose(matrix): | |
return map(list, zip(*matrix)) | |
# math list functions |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>lab2!</title> | |
</head> | |
<body> | |
<canvas id="canvas" style=" border: 1px solid black; " onclick="javascript:movement();"></canvas> | |
<img src="1.jpg" id="krest" style="display: none;"> |
This file contains hidden or 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
from flask.ext.wtf import Form, TextField, PasswordField, TextAreaField, validators | |
from flask.ext.admin.form import Select2TagsWidget, Select2Field, Select2TagsField | |
from wtforms.ext.sqlalchemy.fields import QuerySelectField | |
from blog.models import Post, User | |
class UserEditForm(Form): | |
login = TextField('Login name', [validators.required()]) |
This file contains hidden or 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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
grammar libbkmzgrammar; | |
options { | |
k=1; // Only 1 lookahead character required | |
} |
This file contains hidden or 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
.DEF A=r31 | |
.DEF B=r30 | |
.DEF C=r29 | |
.DEF D=r27 | |
.DEF E=r25 | |
.DEF F=r28 | |
.DEF G=r24 | |
.DEF I=r26 | |
.DEF TMP1=r20 | |
.DEF TMP2=r21 |
This file contains hidden or 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
#line 3 "lex.yy.c" | |
#define YY_INT_ALIGNED short int | |
/* A lexical scanner generated by flex */ | |
#define FLEX_SCANNER | |
#define YY_FLEX_MAJOR_VERSION 2 | |
#define YY_FLEX_MINOR_VERSION 5 |
This file contains hidden or 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
syntax on | |
set runtimepath^=~/.vim/bundle/ctrlp.vim | |
set number | |
set nowrap | |
" Vundle params: | |
filetype plugin indent on " required! | |
"filetype off |
This file contains hidden or 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
#include "header.h" | |
int main(int argc, char *argv[]) | |
{ | |
char ch; | |
int i=0,j=0,razm=0,ind=0,fl=0,fl2=0; | |
int l=0; | |
fp=fopen(argv[1],"r"); |
This file contains hidden or 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
/* | |
* File: main.cpp | |
* Author: bkmz | |
* | |
* Created on 27 Октябрь 2009 г., 19:39 | |
*/ | |
#include <stdlib.h> | |
#include <ctime> | |
#include <time.h> |
This file contains hidden or 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
<html> | |
{% block sidebar_user_2 %} | |
<div class="span2"> | |
</div> | |
{% endblock sidebar_user_2 %} | |
</html> |