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
| #!/bin/bash | |
| # очистка экрана | |
| echo -en "\E[2J" | |
| # запуск тестов LIMIT раз | |
| LIMIT=10 | |
| for ((a=1; a <= LIMIT ; a++)) | |
| do |
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
| Список изученного: | |
| Ruby | |
| 1. "Язык программирования Ruby" Дэвид Флэнаган, Юкихиро Мацумото | |
| 2. "Изучаем Ruby" Майкл Фитцджеральд | |
| 3. "Учись программировать" Крис Пайн | |
| 4. Ruby в Викиучебнике (сейчас вроде как удалили) | |
| 5. Скринкасты ruby.hasbrains.ru (Роман Снитко) | |
| 6. Курсы Codeschool (Try Ruby, Ruby Bits, Ruby Bits Part 2) | |
| 7. Другие он-лайн курсы (RubyMonk, RubyKoans) |
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
| { | |
| "always_show_minimap_viewport": true, | |
| "ensure_newline_at_eof_on_save": true, | |
| // "font_face": "Meslo", | |
| // "font_face": "Liberation Mono", | |
| "font_size": 9, | |
| "highlight_modified_tabs": true, | |
| "hot_exit": true, | |
| "ignored_packages": | |
| [ |
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
| [ | |
| { | |
| "button": "button1", | |
| "count": 1, | |
| "modifiers": ["ctrl"], | |
| "press_command": "drag_select", | |
| "command": "goto_definition" | |
| }, | |
| { "keys": ["f1"], "command": "toggle_side_bar" }, | |
| { "keys": ["f2"], "command": "toggle_minimap" } |
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
| [user] | |
| name = Dmitriy Polozov | |
| email = polozov.dm@gmail.com | |
| [alias] | |
| st = status | |
| ci = commit -m | |
| cii = commit -am | |
| cia = commit --amend -m | |
| ciah = commit --amend -C HEAD |
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
| rake db:setup | |
| # produces the error below.....hmmm.....it's a no-worky | |
| psql:/yourprojectpath/yourproject/db/structure.sql:29: ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/hstore.control": No such file or directory | |
| # hstore postgresql extension needs to be installed, so.... | |
| sudo apt-get install postgresql-contrib | |
| # now your extension should be available to enable so log in with psql | |
| psql -d yourproject_production -U yourdbuser -W | |
| # or |
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
| gem: --no-rdoc --no-ri |
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
| Add the repo: | |
| $ sudo add-apt-repository ppa:indicator-brightness/ppa | |
| Update the repo index: | |
| $ sudo apt-get update | |
| Install indicator-brightness: | |
| $ sudo apt-get install indicator-brightness |
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
| sudo add-apt-repository ppa:chris-lea/postgresql-9.3 | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 postgresql-contrib-9.3 | |
| sudo su -l postgres | |
| psql -d template1 -p 5433 | |
| CREATE EXTENSION IF NOT EXISTS hstore; | |
| CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
| \q |
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
| # игнорить все файлы начинающиеся с ".ruby-" в корневой директории | |
| svn pedit svn:ignore . — для выставления игноров на текущую папку | |
| svn pedit svn:ignore ./folder/ — для выставления игноров на папку folder, которая находится в текущей папке. | |
| svn pedit svn:ignore ".ruby-*" . | |
| # статус svn | |
| svn status | |
OlderNewer