This is a great article about speeding up cakephp apps:
http://www.pseudocoder.com/archives/2009/03/17/8-ways-to-speed-up-cakephp-apps/
Provides simple tips and tricks about php programming, mysql databases, apache web server and linux servers
This is a great article about speeding up cakephp apps:
http://www.pseudocoder.com/archives/2009/03/17/8-ways-to-speed-up-cakephp-apps/
Posted in Uncategorized.
– September 23, 2009
This is a quick way to view ftp access activity in cpanel:
the message are archived chronologically like messages messages.1 messages.2 messages.3 messages.4 with messages.1 being the most recent
Posted in Uncategorized.
– September 22, 2009
This assumes that ssh runs on the remote machine.
To copy a file to a remote machine use the following command:
To set the access port use the -P switch:
If you need to copy from the remote host to the local host, reverse the above command
if you need to copy an entire directory full of files to a remote location, use the -r argument
If you are transferring logfiles or other highly compressible files, you might benefit from the -C argument. This turns on compression, which, while it will increase the CPU usage during the copy, should also increase the speed in which the file transfers.
Use the -l argument to limit how much bandwidth is used. Follow -l with the bandwidth you want to use in kilobits per second. So, to transfer a file and limit it to 256 Kbps use the following command
Posted in Uncategorized.
– September 18, 2009
use
mailq
to dispay all the messages and message id
use
postcat -vq message_id
to display the message contents
– September 17, 2009
How about a little trick to extend the find(’list’) functionality?..
Let’s say we need to display a list of users, but instead of just User.id and User.name we need to have User.id, as well as User.name and User.email combined. Unfortunately find(’list’) doesn’t have that type of functionality out-of-the-box. Well, that’s OK, we’ll make our own…
Now all we have to do in our controller is:
– September 14, 2009
Recent Comments