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
# | |
# Closure | |
# | |
def foo(): | |
x = 123 | |
y = [1, 2, 3] | |
z = [1, 2, 3] | |
def c1(): |
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
// | |
// Общие заметки: | |
// * все возвращаемые сырые указатели нужно освобождать самим (т.е оборачивать их в умные) | |
////////////////////////////////////////////////////////////////////// | |
////////////////////////////////////////////////////////////////////// | |
// | |
// Querying | |
// | |
////////////////////////////////////////////////////////////////////// |
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
ZSH_THEME="robbyrussell" | |
plugins=(git adb colorize dircycle pip svn vagrant sudo dircycle dirhistory) |
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
ez application/andrew-inset | |
aw application/applixware | |
atom application/atom+xml | |
atomcat application/atomcat+xml | |
atomsvc application/atomsvc+xml | |
ccxml application/ccxml+xml | |
cdmia application/cdmi-capability | |
cdmic application/cdmi-container | |
cdmid application/cdmi-domain | |
cdmio application/cdmi-object |
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
FROM ubuntu:14.04 | |
MAINTAINER Aleksei Cherkes <[email protected]> | |
# Notes: | |
# 1. Recommended command to run: | |
# 2. Default install prefix for all modules is: /usr/local/ | |
RUN \ | |
apt-get update && \ | |
apt-get install -y build-essential && \ |
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
### In Ubuntu this file is enabled in .bashrc | |
## Alias definitions. | |
## You may want to put all your additions into a separate file like | |
## ~/.bash_aliases, instead of adding them here directly. | |
## See /usr/share/doc/bash-doc/examples in the bash-doc package. | |
# if [ -f ~/.bash_aliases ]; then | |
# . ~/.bash_aliases | |
# fi |
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
#include <ctime> | |
#include <iostream> | |
#include <string> | |
#include <sstream> | |
//----------------------------------------------------------------------------- | |
// Notes: | |
// 1) You should make full project rebuild during customer build | |
// 2) Keep error handling simple: just print message to cout and call exit(-1) | |
// 3) You can customize the number of days in evaluation period: |
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
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[russian]{babel} | |
\title{Моя статья (My Article)} | |
\author{Алексей Черкес (Aleksei Cherkes)} | |
\begin{document} | |
\maketitle | |
Hello world!!! | |
Привет мир!!! | |
\end{document} |
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
############################################################################################# | |
# Usefull file and directory managment functions | |
############################################################################################# | |
# | |
# os.sep -- path separator | |
# | |
# ------------------------------------------------------------------------------------------- | |
# | |
# os.path.isabs(path) | |
# os.path.isfile(path) |