Pony::Object v0.07

Pony::Object v0.07 released!
Читать далее

Рубрика: Программизмы | Метки: , | Добавить комментарий

One more public module

Two days before I was looking for some way to save PHP (via ZF2) sessions into database using Doctrine. But I didn’t find any solution. So I wrote it. Now you can do it using BgvSessionDoctrine module. Just install module and update your database.

Also you can use G403SessionDb for the same. But it works with Zend\Db.

Рубрика: Программизмы | Метки: , | Добавить комментарий

Git (no branch)

Sometimes you could get weird situation:

$ git branch
 * (no branch)
 master

But you can back in master branch (or some other branch) and save all changes which you did.

Get commit’s hash from git log.

$ git log
 commit d735ee31656010d25765f395d98cbbdbe5b448e8 <---- It's here!
 Author: Georgy Bazhukov <gosha@bugov.net>
 Date:   Wed May 29 13:05:15 2013 +0600

    more code!

And change branch

$ git checkout master

After that you should merge current commit (HEAD) with commit from «(no branch)»

$ git merge d735ee31656010d25765f395d98cbbdbe5b448e8
Рубрика: Программизмы | Метки: | Добавить комментарий

«Towel day». Achievement unlocked!

Many companies uses Jira+Stash (issue tracker+git) for code development. And it’s pretty handy. Also you can install plug-in for achievements (for free). And it’s fun! For example new developers starts to use issues in git-comments to get achievement «BugHunter». After that they still use issues in comments because it’s a good practice and they are used.

achievment "Towel day"

But some of achievements are anti-achievements. For example «Pardon my French» (swearing in comments).

Once per year you can unlock achievement «Towel day». But I missed it this year. «Don’t panic!» — you can get it any time :)

git commit --amend --date="Sat May 25 14:00 2013 +0600"

Yes, it’s a cheat in a developer’s tool. But who blames me? Achievements are so delicious! ^_^

Рубрика: Программизмы | Метки: , | Добавить комментарий

Upgrade all CPAN modules in system

Install packages (once):

sudo aptitude install cpanminus # or App::cpanminus from CPAN
sudo cpan App::cpanoutdated

Upgrade modules:

sudo cpan-outdated -p | cpanm
Рубрика: Программизмы | Метки: , | Добавить комментарий

Потеплело на Урале

На Урал пришло тепло → многие заболели. Офис похож на больницу :)Офис "Вебмотор" в маскахЯ в маске

Рубрика: Без рубрики | Метки: , | Добавить комментарий

Ошибка при git pull: HTTP code = 411

$ git push origin master
 Password for 'https://bugov@www.***.ru':
 Counting objects: 1243, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (1126/1126), done.
 error: RPC failed; result=22, HTTP code = 411
 fatal: The remote end hung up unexpectedly
 Writing objects: 100% (1243/1243), 4.32 MiB | 1.97 MiB/s, done.
 Total 1243 (delta 310), reused 0 (delta 0)
 fatal: The remote end hung up unexpectedly
 Everything up-to-date

Решение:

git config http.postBuffer 524288000 # 500Mb
Рубрика: Программизмы | Метки: , | Добавить комментарий

UBRR VDR

Закрыл очередной проект. Virtual Data Room для УБРиР (Уральский Банк Реконструкции и Развития). В целом, проект прошёл неплохо: сроки соблюдены (даже доп. хотелки были добавлены), заказчик молчит (значит, проблем нет).

Читать далее

Рубрика: Программизмы | Метки: , , , | Добавить комментарий

Защищено: perl in examples

Эта запись защищена паролем. Для её просмотра введите, пожалуйста, пароль:


Рубрика: Программизмы | Введите пароль для просмотра комментариев.

Добавить пути в @INC Komodo Edit / IDE

Project(верхний бар, там где File, Edit) → Properties (появится окно) → Languages → Perl.

Пути добавляются в «Additional Perl Import Directories».

Рубрика: Программизмы | Метки: , , | Добавить комментарий