Ultimate Weapons for Castlevania: Curse of Darkness

I wrote this little guide because I got annoyed when I learned that I didn't steal material from a one time only boss or realized that I should got back a few stages to spend a half hour trying to get that one material that I needed. I wanted the most powerful weapons and strongest armor in the game. This is a very quick and dirty break down on how to get the weapons.

Continue Reading

Unit Testing PHP

PHP Unit Testing .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; }

A while back I was working on a site, and as I was writing the back end and making sure that it works properly I thought to myself "If .NET has nunit, and Java has junit, does PHP have phpunit, or something similar?" After some digging I found the answer. The answer I found was yes! In addition to finding unit frame works for PHP I also found some for other languages like ada, haskell and so on: aunit - for Ada hunit - for Haskell ant-junit - Apache Ant's optional tasks depending on junit dbunit - DBUnit is a JUnit extension targeted for database-driven pr ojects. tagunit - for testing custom JSP tags xmlunit - for XML and so on. If you want a complete list, on the command prompt, if you're using Gentoo, just type:

# emerge --search unit | less

and have fun! For PHP there are a few different ones: dev-php4/phpunit dev-php5/phpunit dev-php/simpletest At the time of writing this, dev-php4/phpunit is masked, but the version of phpunit for PHP 5 is not. I chose simpletest because I didn't have to unmask any packages in order to install it.

# emerge simpletest

BAM! Done!

Continue Reading
Close Menu