05 Apr 2010

Clear the Print Queue in Windows 7/Vista

If you have hung print jobs in Windows 7 or Vista, you can clear the print queue easily by using these steps. 1. Click Start. 2. Type Command. 3. Right-click Command Prompt and select Run as administrator. 4. Type net stop spooler then press Enter. 5. Type del %systemroot%\System32\spool\printers\* /Q then press Enter. 6. Type net start spooler then press Enter. The print queue on y...

02 Apr 2010

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, th...

11 Mar 2010

Testing voice circuits in Cisco IOS

The easiest way to test outbound calls is to build a simple plain old telephone service (POTS) dial-peer on the voice gateway. For example: ! dial-peer voice N pots destination-pattern 9T port X/Y/Z ! You can use the csim start dialstring hidden command to initiate simulated calls to whichever real-world E.164 number is desired. This allows you to determine whether you can properly ...

31 Jan 2010

.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......

31 Jan 2010

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:...

27 Jan 2010

Enabling TELNET in Windows 7

It turns out that by default TELNET was not packaged with Windows 7. Apparently this was also true for Windows Vista. Telnet is known to be insecure and so by default, Microsoft now DISABLES any likely security holes. Whenever you can, you should always use SSH. That being said, you can enable Telnet this way: Start Control Panel Programs And Features Turn Windows features on o...

20 Jan 2010

how to build a DRUPAL Ubuntu Server from scratch

Fantastic writeup of how to build a DRUPAL Ubuntu Server from scratch: http://2bits.com/articles/installing-a-dedicated-server-or-a-vps-with-ubuntu-server-804-lts-hardy-heron-drupal-6x.html Besides its success on the desktop, Ubuntu has become a popular server distribution as well. With the release of Hardy Heron 8.04, Canonical is making this release a Long Term Support (LTS) version, with 5...

10 Jan 2010

Microsoft SQL Server version checking

You can run the following SQL Query to determine the running Version of SQL Server 2005: "SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')" Release Sqlservr.exe RTM 2005.90.1399 SQL Server 2005 Service Pack 1 2005.90.2047 SQL Server 2005 Service Pack 2 2005.90.3042 SQL Server 2005 Service Pack 3 2005.90.4035 If you get an error mes...

05 Jan 2010

DNS Event ID 6702

I get these errors regularly in the Windows Server 2003 Event Log: Event Type: Error Event Source: DNS Event Category: None Event ID: 6702 Date: 12/31/2009 Time: 4:37:05 PM User: N/A Computer: XXXX Description: DNS server has updated its own host (A) records. In order to ensure that its DS-integrated peer DNS servers are able to replicate with this server, an attempt was made to upda...

Subscribe to