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….
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.
- Follow “Building Titanium From Source” guide until last chapter (namely “Building and running”)
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 ..Run
scons apicoverage; it will createbuild/linux/apicoverage.json(of course path is platform-specific)- Download genapidoc.py (taken from mbirth’s wiki) and generate JSDoc-annotated dummy file by calling
genapidoc.py > titanium.jsin directory withapicoverage.json. - 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.
— @mashynia86 (via off)
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 — не проверял.
-
Tip of the week: Highlighting your moderators
Each publisher on Disqus today can apply updates to the appearance of their embed theme, with some...
-
Ира, ты не должна звонить мужчинам первая! - Почему? - Ты ведь проститутка!
-
-
git vs. hg (Mercurial) / 対決 git vs. hg (Mercurial)
I confess that I used to use RCS, which was the most infamous version control system (VCS).
Once you start using RCS, you must “check out” your code or document and it is locked until you “check in” it. Checking in/out is not very harmful, but the locking causes serious disaster. Once someone, possibly alias of you, locked the code by checking out it, there is no way for other guys, possibly another alias of you, to edit it.
-
программист, пашущий поле
Шэрлок Холмси доктор Ватсон летели на воздушном шаре и
заблудились. Они снизились и заметил на земле... -
Управление людьми
Очень часто аббревиатуру PM в России расшифровывают как Project Manager, на Западе как Product Manager, а мне...
-
Pull people into your conversation with @mentions
I’m excited to introduce a new feature we’ve just rolled out called Disqus @mentions. @mentions...
-
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...