Tips & Clues

Find CPU info in Linux

This command will give you all of the known info regarding the processor(s) under linux:
# less /proc/cpuinfo

Manual Start/Stop of the GUI in Ubuntu

To stop the GUI:

Code:
The easist way is to open a terminal and execute these commands:

sudo /etc/init.d/gdm stop

And then ctrl+alt+backspace to end your current session

To restart the GUI:

sudo /etc/init.d/gdm start

Windows Live Mail - the missing menus

Those out there that use(ed) Outlook Express should know that there is no such thing in Windows 7. Also true in Vista, where "Windows Mail" was released.

Yet another major change for Windows 7: the new (free) email client is called "Windows Live Mail" and the most annoying new "Feature" is the missing menus.

To see the old menu you are looking for; hit the "ALT" key by itself. Then, the menu will magically appear.

Mystery solved!

.bashrc functions to do repetitive tasks

A cool thing to do if you find yourself doing something LOTs of times:

Edit your ".bashrc" (in your home directory)
and create your personalised script as follows:

wch()
{
sudo chmod 774 $1 $2 $3 $4;
sudo chown www-data.www-data $1 $2 $3 $4;
}

Then you can execute the command "wch" with parameters to execute the commands you want. Very cool...

Using ImageCache and positioning in node output (Drupal)

See "Joe's" comment here: http://drupal.org/node/139915

Go to [Content management] > [Content types] > [Manage fields] and make sure yiour image field is LIGHTER than [body] eg -2
this will force the image above your teaser but not yet inline

then go to modules > system > defaults.css

and add

.field-type-image img {
float: right;
margin-left: 1em;
border: 0px solid red;
}

Note: my CCK image field is called "image" and I choose to float it right, adjust yours to suit your tastes.

A fantastic medley of modules for the discerning drupal developer

A featured story on drupal.org: Case Study of OpenTheMagazine.com
In the story, we get a fantastic closeup view of the drupal modules used and the reasoning behind their use. For a young Drupal developer/user, it is a very useful article.

The "Heroes" of the site were considered to be Views 2, CCK, & for search, Apache SOLR.
The list below of other drupal modules used by the site is excerpted from the article on drupal.org:

Binary Maths

Download the Zip file attached...

I need my Quick Launch...

As I evaluate Windows 7 (which looks pretty good overall), I missed terribly the "Quick Launch" feature that I rely upon heavily in XP...
So I found this very well done lesson on how to get the Quick Launch back in V7... Read more »

Apache Web Logs - more than you ever wanted to know

Note: This article is published HERE:
www.sitepoint.com/article/configuring-web-logs-apache (although it is not loading right now)

Configure Web Logs in Apache

Author's Note: While most of this piece discusses configuration options for any operating system Apache supports, some of the content will be Unix/Linux (*nix) specific, which now includes Macintosh OS X and its underlying Unix kernel.

One of the many pieces of the Website puzzle is Web logs. Traffic analysis is central to most Websites, and the key to getting the most out of your traffic analysis revolves around how you configure your Web logs. Apache is one of the most -- if not the most -- powerful open source solutions for Website operations. You will find that Apache's Web logging features are flexible for the single Website or for managing numerous domains requiring Web log analysis. Read more »

Simple Windows password reset

I just used this tool to reset a Vista password - it is a Linux boot CD very simple and effective. So if you've forgotten your Windows XP or VISTA password, don't despair - this tool will get you back in business FAST.

See: http://home.eunet.no/pnordahl/ntpasswd/bootdisk.html

A very good walk-through is provided here:
http://pcsupport.about.com/od/toolsofthetrade/ss/ontpre-screenshot-guide...

Oh, and yes, it's completely FREE.

Syndicate content