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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme", | |
"font_size": 12.0, | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"highlight_line": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "Cyrillic (Windows 1251)", | |
"highlight_modified_tabs": 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
function git_current_branch () { | |
local ref | |
ref="$(git symbolic-ref --quiet HEAD 2>/dev/null)" | |
local ret=$? | |
if [[ $ret != 0 ]] | |
then | |
[[ $ret == 128 ]] && return 0 | |
ref=$(git rev-parse --short HEAD 2>/dev/null) || return 0 | |
fi | |
echo "${ref#refs/heads/}" |
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
sudo apt-get -y install git | |
sudo apt-get -y install curl | |
sudo apt-get -y install python-dev | |
sudo apt-get -y install libjpeg8-dev | |
sudo apt-get -y install libfreetype6-dev | |
curl http://python-distribute.org/distribute_setup.py | sudo python | |
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python | |
sudo pip install virtualenv |
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 <LiquidCrystal.h> | |
#include <LiquidCrystalRus.h> | |
// Цифровые PINы - кнопки | |
const int button1 = 10; | |
const int button2 = 9; | |
const int button3 = 8; | |
const int button4 = 7; | |
const int button5 = 6; |
NewerOlder