web development

Installing PHPUnit on MAMPs

After spending sometime searching on how to it. I just want to document what worked for me.

My setup MAMPs version 2.1.1 , php version 5.4.4, pear version 1.9.4

sudo /Applications/MAMP/bin/php/php5.4.4/bin/pear config-set auto_discover 1
sudo /Applications/MAMP/bin/php/php5.4.4/bin/pear install pear.phpunit.de/PHPUnit

Now you should be able to do

require_once 'PHPUnit/Autoload.php';

To make it available on the command line everywhere you need to create a simlink to phpunit in your local bin.

sudo ln -s /Applications/MAMP/bin/php/php5.4.4/bin/phpunit /usr/local/bin/phpunit
phpunit --version

HTML is so last year

“Graffiti Markup Language (.gml) is a universal, XML based, open file format designed to store graffiti motion data (x and y coordinates and time). The format is designed to maximize readability and ease of implementation, even for hobbyist programmers, artists and graffiti writers. Popular applications currently implementing GML include Graffiti Analysis and EyeWriter. Beyond storing data, a main goal of GML is to spark interest surrounding the importance (and fun) of open data and introduce open source collaborations to new communities. GML is intended to be a simple bridge between ink and code, promoting collaborations between graffiti writers and hackers. GML is today’s new digital standard for tomorrow’s vandals.”

Learn more at http://www.graffitimarkuplanguage.com/

wiki, wordpress

Wiki Embed – testers needed

The project moved to a more permanent home.

So I have finally finished round one of wiki embed implementation, and I need your help testing it.
You can download it here: wiki-embed-09-alpha.latest version

The install is quite strait forward, upload the unziped plugin, to you WordPress plugins folder and active it.

After that please report any bugs, problems, spelling mistakes 🙂 and any confusing bits by posting a comment or sending me an email at enej.bajgoric@gmail.com.

Here are a few screen shots

A page that list all the wiki content that is embedded on the site.

a look at the wiki embed settings page.

A way to embed a media wiki page inside your site.

Thanks in advance.