The simple instruction for enabling I2C interface in Raspberry Pi (Rasbian).
Monday, April 7, 2014
Tuesday, February 11, 2014
Coursera courses
At the beginning of February I've been enrolled for two courses:
- Algorithms, Part I (Coursera) by Kevin Wayne, Robert Sedgewick
- Introduction to Guitar by Thaddeus Hogarth
Saturday, January 4, 2014
What I read in 2013
Science Fiction
- The Judas Solution by Zahn Timothy
- The Backlash Mission by Zahn Timothy
- Blackcollar by Zahn Timothy
- 1984 by George Orwell
Fiction
Philosophy
Self improvements
Labels:
2013,
book,
fiction,
science fiction,
self improvements
Sunday, July 15, 2012
Links dump for July 15, 2012
Inspiration
- Read the masters - Thoughts about learning complex things.
By studying the masters, not their pupils.
- No Excuse List - The best plase on the web to learn anything, free.
Tools
- Ack is a tool like grep, optimized for programmers.
Vim stuff
- Vim Creep - Passionate essay about Vim.
- Supertab - Perform all your Vim insert mode completions with Tab.
- Ack for Vim - Vim plugin for Ack.
English
- LinguaLeo - Enjoyable way to learn English.
Saturday, May 5, 2012
Python development environment for Ubuntu 12.04 Precise
Frankly, my upgrade for the newest release of Ubuntu 12.04 Precise broke my OS.
And I didn't have any chance to recover it. So I just reinstalled Ubuntu and got fresh,
but empty operation system. The last time when I did setup of Python development environment was one year ago.
All my notes about this things were old and unsuitable for the latest Ubuntu release.
This post is summary of my actions to setup Python development environment from scratch.
Install Python setuptools package:
And If you have any comments and suggestions, please, post them in comments. Thanks.
Install Python setuptools package:
sudo apt-get install python-setuptools python-pipInstall virtualenvwrapper:
sudo pip install virtualenvwrapperSetup virtualenvwrapper:
mkdir -p ~/.virtualenvs echo 'export WORKON_HOME=~/.virtualenvs' >> ~/.bashrc echo 'export DJANGO_SITES_ROOT=$HOME/projects/' >> ~/.bashrc echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc source ~/.bashrcInstall Django extension for virtualenvwrapper. I have several Django projects, but if you aren't using Django, then you can skip this step:
sudo apt-get install git-core mkdir -p ~/.virtualenvs/django-libs cd ~/.virtualenvs/django-libs git clone https://github.com/epicserve/django-environment.git cd ~/.virtualenvs/django-libs/django-environment/django_env/bin/ install.pyTest virtualenvwrapper:
cd ~/projects mkvirtualenv example cd example && lsInstall PIL with JPEG, ZLib and FreeType support, if you aren't using PIL, then you can skip this step:
sudo apt-get install libjpeg62-dev zlib1g-dev libfreetype6-dev
cd ~/.virtualenvs/{project-name}
For 32-bit systems:ln -s /usr/lib/i386-linux-gnu/libz.so ./lib/ ln -s /usr/lib/i386-linux-gnu/libjpeg.so ./lib/ ln -s /usr/lib/i386-linux-gnu/libfreetype.so ./lib/For 64-bit systems:
ln -s /usr/lib/x86_64-linux-gnu/libz.so ./lib/ ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so ./lib/ ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so ./lib/ pip install PILI'm big fan of Vim, so here is steps for Vim also:
sudo apt-get install vim.gtkInstall Pathogen plugin:
mkdir -p ~/.vim/autoload ~/.vim/bundle curl -so ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vimadd to ~/.vimrc file:
call pathogen#infect()Install Fugitive for Git support and Python-mode for all Python stuff in Vim:
cd ~/.vim/bundle git clone git://github.com/tpope/vim-fugitive.git git clone git://github.com/klen/python-mode.gitInstall super-fast Command-T plugin for opening files in Vim:
cd ~/.vim/bundle git clone git://git.wincent.com/command-t.git cd ~/.vim/bundle/command-t rake makeThat's all folks. I will keep this post updated for a while.
And If you have any comments and suggestions, please, post them in comments. Thanks.
Subscribe to:
Posts (Atom)