April 2008
4 posts
Box2D AS3 HelloWorld boxDef extents 'issue'.
You may have, like me, been very excited to use the AS3 Box2D library in a couple of little Flash experiments. You may have also, again, as I did, immediately pulled out the default Sprites that the HelloWorld example runs with and replaced them with your own (possibly drawn on the fly), only to find that nothing worked properly. Debugging the problem, after the jump. Is it the extents? Well,...
Apr 18th
Incredibly useful Illustrator script: 'Round Any...
Illustrator has myriad shape tools and fairly decent support for rounding corners, but sometimes you may find yourself in a situation where it’s not obvious how to create a ‘proper’ (two anchor point) rounded corner on a sharp (single anchor point) edge. You could use a ‘jig’ that you build by subtracting a rounded corner shape from another, but then you have to deal...
Apr 16th
How to logrotate your Drupal cron logs.
The ‘man logrotate’ command should actually give you a very accessible overview (unlike many other man pages) about how to use logrotate. However, if you’re like me and search google before looking at manpages, read on for detailed instructions. First off, I’m logging my drupal cron jobs using the following commands in crontab (‘crontab -l’ lists,...
Apr 16th
vim (vi) emulation with viPlugin in FlexBuilder...
Download a trial here: http://www.satokar.com/viplugin/. You need the one compatible with Eclipse 3.0+. Drop the contents of the ‘features’ and ‘plugins’ directory into the corresponding folders where your FlexBuilder install lives and restart for joy. Read more about downsides and my usage notes after the jump. Two downsides: 1. It’s not free — there is a...
Apr 14th