Archive for \'Web\'



Setup 64bit CentOS (PHP5, MySQL, memcached, ketama)

A script to setup 64bit CentOS with PHP5, MySQL, memcached and ketama.

Force MySQL Encoding to UTF8

How to force MySQL to use UTF8 encoding by default.

Browser detection with PHP

How to set up and use PHP’s get_browser() function to detect client browsers.

PHP5 on OS X Leopard

How to get PHP5 running on an OS X Leopard machine.

Subversion Server on CentOS

How to set up a subversion server with apache and CentOS

Format JSON with PHP

A PHP function for formatting and indenting a JSON string.

jQuery i18n Translation Plugin

A jquery plugin for doing client-side i18n translation.

jQuery SimpleColor Color-Picker

A very simple color-picker plugin for jQuery.

Default Values With Hibernate Annotations

How to set the default value of a field with Hibernate.

Adding Appfuse Dependencies

How to add a dependency to AppFuse.

Get complete AppFuse sources

How to get the complete, exploded source of an AppFuse application.

Skip AppFuse Tests

How to skip tests when compiling/running AppFuse applications.

Appfuse “failed to lazily initialize a collection of role”

Fix the failed to lazily initialize a collection of role error in AppFuse

Hibernate OneToMany Relationships

An example of a one-to-many relationship using Spring MVC and Hibernate.

Hibernate ‘TYPE=storage_engine is deprecated’

Fixing ‘TYPE=storage_engine is deprecated’ warnings in Hibernate.