Thursday, May 2, 2013

Increase Notepad++ Font Size

q: As a frequent user of Notepad++ how can I make the font larger and easier to read?
a: Simple, use the same method as with your browser.

  1. Hold down the CTRL key
  2. While scrolling your wheel mouse up or down

Tuesday, March 26, 2013

Excel Spreadsheet prints to two pages

q: Today we were shown an Excel Spreadsheet whose right border was printing on the left side of page two.   What's the easiest way to resolve this?
a: Click File-Print - and in the print preview window, select "Fit Sheet on One Page".


Wednesday, March 6, 2013

Reset admin password on Nessus Appliance

q: We installed the Nessus Appliance and then "someone" forgot the admin password to the appliance.  They could still log into the application.

a: Well I hate to post this because I'm afraid they'll remove it, but here goes.

  1. Download the CentOS-6.3-x86_64-bin-DVD1.iso 
  2. Mount the ISO to the virtual appliance & configure it to boot from the ISO
  3. Accept all the default questions/answers (You can select no on the network ques.)
  4. When you're finally able to run shell do that.
  5. Navigate to: /opt/appconfig
  6. NOTE: I wish I was making this up
  7. Look for a file called setpass and remove it (rm setpass)
  8. Run Exit, then Exit again, then reboot the box & let it boot to the hard drive
  9. When when we tried to log into the nessus appliance on port 8000 it asked us to set the password. It took us here https://servername:8000/password.html

Monday, February 4, 2013

Why does Gmail wrap text in my emails?

Q: Why does Gmail wrap my plain text emails at 78 characters?
When sending Rich Text or HTML emails, they text goes all the way to the end, but plain text is very skinny.

A: As answered on their forums site, they have to for compliance reasons.  If you don't like it, stop sending as plain text.  Plus Rich Text in Gmail when used through Chrome allows you to paste images inline which is great for screen shots of error messages.

http://www.faqs.org/rfcs/rfc2822.html


2.1.1. Line Length Limits

   There are two limits that this standard places on the number of
   characters in a line. Each line of characters MUST be no more than
   998 characters, and SHOULD be no more than 78 characters, excluding
   the CRLF.

   The 998 character limit is due to limitations in many implementations
   which send, receive, or store Internet Message Format messages that
   simply cannot handle more than 998 characters on a line. Receiving
   implementations would do well to handle an arbitrarily large number
   of characters in a line for robustness sake. However, there are so
   many implementations which (in compliance with the transport
   requirements of [RFC2821]) do not accept messages containing more
   than 1000 character including the CR and LF per line, it is important
   for implementations not to create such messages.

   The more conservative 78 character recommendation is to accommodate
   the many implementations of user interfaces that display these
   messages which may truncate, or disastrously wrap, the display of
   more than 78 characters per line, in spite of the fact that such
   implementations are non-conformant to the intent of this
   specification (and that of [RFC2821] if they actually cause
   information to be lost). Again, even though this limitation is put on
   messages, it is encumbant upon implementations which display messages

   to handle an arbitrarily large number of characters in a line
   (certainly at least up to the 998 character limit) for the sake of
   robustness.

Wednesday, January 30, 2013

No Audio from Google Chrome

q: The computer plays audio fine, but audio from Google Chrome (eg: Pandora) will not play.  Further, Chrome does not show up in the Audio Mixer with other applications.
a: After some digging this seemed like a pretty common issue.

One recommendation was:

As a possible workaround (mostly to confirm/refute hypotheses), could people try one or both of the following:
(1) Setting their speaker config to 2/2.1 if it's currently set up for 5/5.1/7/7.1, etc.?
(2) Setting their default audio format to 48 kHz (or 96 kHz, or even 88.2 kHz)?

In the end, the user changed their settings from:
Mono & 16 bit 44kHZ to:
Stereo and now it works.

Monday, January 14, 2013

QuickBooks on Server 2008 Security too High

q: A customer installed QuickBooks 2011 on a Windows 2008 Server.  QuickBooks would not run because Internet Security was too high.  The suggestion from QuickBooks was to lower the slider for the Internet Security Zone but it is locked.

a: We found this great article that suggests running "Configure IE ESC" from Server Manager.  We did.  Then we disabled Internet Explorer Enhance Security Configuration "IE ESC" for Administrators.  We re-opened QuickBooks without the security error.


Enable Leverage Browser Caching on GoDaddy Hosted site

q: The customer has a site hosted with GoDaddy.  They recently ran Google's PageSpeed against the site.  The extension suggested leveraging Browser Caching.

a: We will provide answers for a few hosted solutions to save time:

  • For IIS
    • Select the Site on the left.
    • Double-Click "HTTP Response Headers" in the middle
    • Click "Set Common Headers" on the right
    • Check (X) Expire Web Content
    • Check (X) After 7 Days (Google Recommended)


  • For Apache
    • edit the .htaccess file to include these lines for 1 day
<FilesMatch ".(jpg|jpeg|png|gif|css|js|ico)$">
Header set Cache-Control "max-age=86400, public"
</FilesMatch>