There are many PHP frameworks out there, but 2 of my personal favorites are Drupal and CakePHP. WordPress is another popular in the world, and I have done many projects with it. I will say that WordPress has great documentation and a clean API, but it is rather limited in its capabilties. CakePHP and Drupal have proven to be flexible, scalable, and perfect for certain uses. The bottom line in this debate is that both are great, and both serve their purposes. Between CakePHP and Drupal, I feel a project of any size can be accomplished.
The script program (bsdutils) will output the whole terminal output to a file. This can be helpful for logging and creating scripts out of history.
The approach here is to output the command history to a file and then manipulate the file a bit to get what we want.
history 3 > script.sh
This will output the last 3 commands to script.sh. Note that the actual history command will become the most recent event in history, and will be output in the file. This can be edited out manually or using this command:
Sometimes when working we don't always have a fully featured keyboard. Whether using a small portable bluetooth keyboard, old software, or you just want to be a command line ninja, these shortcuts are very important to know to increase productivity and to work through technical limitations on keyboards.
Typing long commands over and over gets old. Use bash aliases to make your life easier and impress your peers. Add these to your .bashrc and/or .bash_profile. Personally I use only one and symlink them together. These are just some examples of how you can use alias. Anytime you find yourself repeating lengthy commands think about creating an alias. Optionally, if it's a long command you are only going to be using for a short period, be sure to use history tools like ! and !? to quickly repeat previous commands.
There is a veil of mystery surrounding SEO tactics. There are many modules out there that aid in improving your site's exposure. The easiest path for a beginning is to use SEO Tools. It basically gives you a list of prerequesites, and gives you some easy out of the box SEO.
To show all errors in PHP use these two functions:
If you are using a framework or CMS, a good place to put it is your settings or bootstrap file. For Drupal I recommend the settings.php file.
Google Code Prettify is great for turning <code> tags into nicely formatted HTML. I personally appreciate how it displays the line numbers, but they don't get included when you copy+paste. There are many themes available but my favorite is the google code. It treats word wrapping well with line numbers, shows each line number, and is styled nicely. The Drupal module allows you to integrate it easily to Drupal.
Drupal Pretiffy module: http://drupal.org/project/prettify
Manually alter the Drupal theme in MySQL using these commands.
UPDATE system SET status=1 WHERE name = 'garland';
UPDATE variable SET value='s:7:"garland"' WHERE name = 'theme_default';
NOTE: There are many cache tables in Drupal 7 that may need to be flushed.