Archives for Mar,2008

You are browsing the site archives by date.

php MySQL Leoprd

One thing changed with Leopard is the socket for Mysql. It moved to /private/tmp, so you may need to configure your php.ini file to point it to the new location. To do so, open the file ‘/private/etc/php.ini‘, (if no such file exists, then make a...
Read More

mod_rewrite

Occasionally a new user will run in to mod_rewrite issues, so I’ll mention them marginally here. If the Cake welcome page looks a little funny (no images or css styles), it probably means mod_rewrite isn’t functioning on your system. Here...
Read More

URL Rewriting

An Introduction to Rewriting origianl post Readable URLs are nice. A well designed website will have a logical file system layout, with smart folder and file names, and as many implementation details left out as possible. In the most well designed sites,...
Read More

Using JSON in CakePHP 1.2

original post I’m going to explain you how to setup CakePHP 1.2 to output JSON with help of Router::parseExtensions() and the JavascriptHelper::object() method. In this example we’re going to use a simple posts controller like the one in the Cake...
Read More

json cakephp

definevar $helpers = array(‘Javascript’);in your app_controller.phpNOTA: esto pisa la variable helpers, por lo tanto no olvidar agregar ‘Html’ a la lista del array:var $helpers = array( ‘Html’, ‘Javascript’...
Read More

Leopard VNC client

Leopard Tip: VNC Client I’ve been using “Chicken of the VNC” for about 6 months in Tiger. Although ”Chicken of the VNC” is a great app I have noticed that the development has been halted for over 2 years now. With the advent of OS 10.5 Leopard...
Read More

Instalar VirtualBox

Explicativo para Instalacion sobre Ubuntu.Bajar el archivo correspondiente de la página oficial:http://www.virtualbox.org/wiki/Downloads Antes de correr el archivo, asegurarse que estén las siguientes libs en el sistema:libqt3-mt y libxalan110. Para...
Read More

Agregar usuario a un grupo

Así se crea un usuario y se asigna a un grupo# useradd -G admins,ftp,www,developers jerry admins,ftp,www,developers: son los grupos separados por com, sin espaciojerry: es el nombre de usuario para saber que grupos tiene un usuario:# id jerrypara saber...
Read More

Guía rápida de SVN – Referencia

Características: Directory versioning: Subversion sólamente graba el historial de los cambios en los archivos, pero crea un filesystem virtual que graba también los cambios hechos en directorios. True version history: Subversion permite agregar, copiar,...
Read More

Mac OS X screen capture tips

Creating a screen capture of part or all of the screen with OS X is pretty straightforward once you know what keys to press. Here’s a quick rundown: OS X screen capture keystrokes Command-Shift-3: takes a screen capture of the entire screen Command-Shift-4:...
Read More