Ubuntu/Firefox 3 Huge CSS Font Fix

May 7th, 2008

Recently after upgrading to Ubuntu 8.04/Firefox 3, all of my CSS fonts have been HUGE! I didn’t have the opportunity to look for a solution, so I have been using Opera as my primary browser. After finally getting a little time to dig, I found a quick fix using the following steps.

  1. Type “about:config” in the address bar of Firefox
  2. Accept the crazy warning about voiding your warranty
  3. Change the setting of “layout.css.dpi” from -1 to 96 (or 72)
  4. Now all should be fine in the CSS/Font world

Reference
http://blog.wolffmyren.com/2008/04/26/firefox-3-ubuntu-804-large-fonts-fix/

Dell Knows Linux

May 5th, 2008

Seems that Dell is a pretty good judge of Linux character

First major company to factory install Red Hat Linux corporate systems.
http://www.redhat.com/about/news/prarchive/1999/press_linuxsuccess.html

First to install ubuntu in 2007
http://www.ubuntu.com/news/dell-to-offer-ubuntu

Switching the port for the built-in ColdFusion web server

May 2nd, 2008

ColdFusion LogoStraight from the ColdFusion Documentation

You can change the port on which the built-in web server runs.

To change the port for the built-in web server:

1. Back up the jrun.xml file.
This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the cf_root/runtime/servers/default/SERVER-INF directory on UNIX.
2. Open the original jrun.xml file for editing.
3. Change the port number specified in the WebService port attribute (near the bottom of the file):
<service class=”jrun.servlet.http.WebService” name=”WebService”>
<attribute name=”port”>8500</attribute>
<attribute name=”interface”>*</attribute>
<attribute name=”deactivated”>false</attribute>

</service>
Note: Make sure that the deactivated attribute is set to false.
4. Save the file.
5. Restart ColdFusion.

Reference

ColdFusion LiveDocs

Upgrading VMware ESX 3.0.1 to 3.5.0 Update 1 Notes

April 21st, 2008

I love VMware! There is almost nothing cooler than using vmotion to migrate a guest OS to another host, with zero downtime.

I am in the process of upgrading all of my ESX hosts to 3.5 update 1, and I wanted to post some of my notes to remind me (and help others) with some of the bumps I had along the way.

Updating Virtual Center

  • After upgrading Virtual Center to 2.5, 3/4 of hosts received the the following error while attempting to connected them to Virtual Center. “Failed to install the VirtualCenter agent service”
    • This would typically happen after the process was around 80% complete
    • To resolve this issue I used the following steps (Thanks to VMwarewolf for the insight)
      1. Login to ESX Server via ssh client as root user
      2. cd /tmp
      3. mkdir vmware-root
      4. Try re-connecting the host to Virtual Center
  • One of my hosts had the following error. “Unable to access the specified host, it either does not exist, the server is not responding or there is a network problem”
    • This was resolved by starting the “mgmt-vmware” process, using the following steps
      1. Login to ESX server via ssh client as root user
      2. service mgmt-vmware start

References

VMwarewolf

Open a Word 2007 document in an earlier version of Word

April 9th, 2008

For those of you running older versions of MS Office and need to open the newer format:
Click Here

Thanks Jeff for the update ;)

How Good/Bad Is Your Doctor???

April 7th, 2008

If you live in Florida, you can see for yourself….

http://ww2.doh.state.fl.us/irm00profiling/SEARCHFORM.ASP

Thank You Apache POI!

April 6th, 2008

I recently needed a quick way to populate an existing excel template with data I retrieved from my database. Apache POI to the rescue!! Apache POI is a Java API to Access Microsoft Format Files.
References
http://poi.apache.org/
API Docs

Screen Shortcuts

March 4th, 2008

start “screen”

create new window “ctrl-a c”

switch to next window “ctrl-a n”

switch to previous window “ctrl-a p”

switch to list of windows “ctrl-a “”

switch to a particular window “ctrl-a <number>”

detach sreen “ctrl-a d”

reattach sreen “screen -r”

kill a window “ctrl-a k”

rename a window “ctrl-a A”

Move between split sections of the screen “ctrl-a <TAB>”

Split the current window in two “ctrl-a S”

Kill all regions but the current one “ctrl-a Q”

remove active window from split screen “ctrl-a X”

C-a S (split) command, you can adjust the size with C-a :resize n (n is the number of lines, also +n and -n to add or remove lines).
references

http://linuxgazette.net/147/appaiah.html

http://www.debian-administration.org/articles/34

http://www.neophob.com/serendipity/index.php?/archives/112-GNU-Screen-cheat-sheet.html

Find (and delete) Duplicate Files On Linux

February 29th, 2008

fdupes is a program for identifying/deleting duplicate files residing within specified directories.

How I typically use it to find duplicate files
fdupes -r -n -1 -S /path/of/directory/to/search/for/dups

How I typically use it to delete duplicate files. It will prompt you for which file to delete. You can preserve multiple files by using a comma separated list of values. See documentation for caveats.
fdupes -r -n -1 -S -d /path/of/directory/to/search/for/dups

Reference
http://linux.die.net/man/1/fdupes
http://netdial.caribe.net/~adrian2/fdupes.html

How to Determine the Version of Your Linux Kernel

February 8th, 2008

type “uname -r” into a terminal window linux_logo.jpg