March 5, 2011
«techtusiasmic»: If You've Never Programmed...

If you’ve never programmed a computer, you should. There’s nothing like it in the whole world. When you program a computer, it does exactly what you tell it to do. It’s like designing a machine — any machine, like a car, like a faucet, like a gas-hinge for a door — using math and instructions….

September 10, 2010
everzet's blog: BDD in PHP or "Just Be Hat"

everzet:

Today is a great day. Why? Because from today we can write Cucumber-like behavior tests in php.

I’ve finished first alpha of Behat. Behat – is behavior driven development framework for php, based on Cucumber’s Gherkin syntax. It means, that it works with same feature files, Cucumber does &…

Well, looks like there’s one more reason not to quit PHP.

May 11, 2010
building an JSDoc dummy file of Titanium Desktop API

  1. Follow “Building Titanium From Source” guide until last chapter (namely “Building and running”)
  2. Checkout version 1.0 because trunk doesn’t have bindings for Titanium.Filesystem:

    git checkout titanium_1.0.0; cd kroll; git checkout titanium_1.0.0; cd ..

  3. Run scons apicoverage; it will create build/linux/apicoverage.json (of course path is platform-specific)

  4. Download genapidoc.py (taken from mbirth’s wiki) and generate JSDoc-annotated dummy file by calling genapidoc.py > titanium.js in directory with apicoverage.json.
  5. You still have to fix some syntax errors in generated file. After correcting them you’ll get working autocompletion of Titanium Desktop API in your favorite IDE.

Enjoy!

Inspired by mbirth’s “Generate JSDoc file for your IDE” recipe for Titanium Mobile.

April 24, 2010
"git мне напоминает сериал Lost, вроде создается иллюзия понимания, потом фраза одного из героев заставляет застыть в недоумении и мозг пытается найти решение, приходит осознание того что понимание было иллюзией :)"

@mashynia86 (via off)

April 24, 2010
monospace post editor for markdown

English

This user script is designed to change post editor textarea font to monospace if you chose to edit posts in markdown. This makes significantly easier to handle indents (especially complex ones).

Currently, it works in Opera 10. Firefox — haven’t tested, Chrome — doesn’t work.

Русский

Этот пользовательский скрипт изменяет шрифт поля редактирования поста на monospace, если вы выбрали markdown в качестве формата редактирования постов. Благодаря этому существенно облегчается расстановка сложных отступов.

Работает в Opera 10, в Chrome — не работает, в Firefox — не проверял.

Liked posts on Tumblr: More liked posts »