Skip to content

Instantly share code, notes, and snippets.

Number.prototype.plural = function(){
if(this > 1 || this == 0){
return true;
} else {
return false;
}
}
String.prototype.pluralize_rules = function(){
return [[new RegExp('$', 'gi'), 's']];
su postgres
pg_dropcluster --stop 9.1 main
pg_upgradecluster 8.4 main