October 22

APC UPS Discharge problem reset

This is for the following people who have these symptoms

•  You ran Power chute software and noticed your run time is less than it should be.

•  You replaced your batteries with new one(s) and your run time is still very low.

•  Your Battery LED lights are flashing / blinking without a full load.

•  Your UPS program tells you, “UPS battery is discharged” from power chute software.

Follow these steps to repair this un-documented solution.

***You need the smart-UPS serial cable to do this process. It is black, not gray. ***




•  Close power chute software, and stop the “APC – UPS power chute” service.

•  Open HyperTerminal. Start > Programs > Accessories > Hyperterminal > Hyperterminal

•  Enter in a name, such as APC repair .

•  Be sure the settings are as follows : 2400 Baud, 8 data bits, 1 Stop bit, no parity, Protocol is Xon/Xoff .

•  You should have an empty window. Press “SHIFT + Y” . You will get back “ SM ”

•  Enter “ 1 ” two times, with a two second gap between the two. (Two cursor flashes)

•  You should see “ PROG ”

•  Enter “ 0 ”. This will report back the current state the UPS is in. A perfect running APC UPS will be at “ 8C ”

•  Press and hold the “ – “ minus key to program the UPS to the correct state. You can cycle through the options until you get to “8C”

•  Press the “ + ” plus key once you have selected the correct constant value.

•  Press “ SHIFT + R ”, it should say “ BYE ” You’re Done!

•  Press “ SHIFT + Y ”, Enter “ 0 ” to verify your Program took. If it does, you have fixed your problem. If not repeat the process again.

•  Close Hyperterminal, restart the UPS service, and re-run Power Chute software. You’re UPS will show the correct run time.

This Info was provided by APC tech support back in June of 2006.

Category: Technical | Comments Off on APC UPS Discharge problem reset
October 22

Mac OS X Key Bindings

Create a file called DefaultKeyBinding.dict in ~/Library/KeyBindings directory

Edit your DefaultKeyBinding.dict file so it contains:

Restart the Cocoa Application.

Category: Mac, Technical | Comments Off on Mac OS X Key Bindings
October 19

Force your Mac to update its malware definitions

First, check to see whether you’re already up to date or not. Launch Terminal, and paste this command:

more /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

What do you see? At this writing, some folks (with the old definitions) will see (among some other data) a “last modification date” listed as Thu, 26 May 2011 02:24:41.

(If you see any later date, you’re more current than this tutorial, but the instructions below will still help ensure that you have the latest malware defnitions.)

Now, to force your Mac to update, follow these steps:

  1. Launch System Preferences
  2. Go to the Security preference pane
  3. Uncheck the “Automatically update safe downloads list” box
  4. Re-check that box.

Ta-da! Now, if all goes well, and you re-run that Terminal command from above, you’ll see that the timestamp has changed. As of this writing, the “last modification date” should be Wed, 01 Jun 2011 21:19:15 GMT.

You needn’t run this command every day; your Mac should automatically update that list as long as you leave the checkbox checked. But if you want to make sure you’re current because you’ve heard about new, unpleasant malware on the loose that might harm your Mac, now you know how to force an update.

Category: Mac, Technical | Comments Off on Force your Mac to update its malware definitions
October 9

Using BChunk on Mac OS X

Ever run across a .BIN/.CUE download? One way to extract the set is to use Toast Titanium, however, in addition to being bloatware, it is quite expensive. If you have MacPorts installed, BChunk is a very quick way to output the file to an ISO image.
Open terminal and use the following command:

From there you can use the OS X native Disk Utility to mount and burn the image.

Category: Mac, Technical | Comments Off on Using BChunk on Mac OS X
October 5

Embedding FusionCharts in your blog post

FusionCharts SWF files are linked with XML files that provide data and configuration of the chart.

Creating these XML files are easy and there is ample lot of documentation to guide you through. However, I found an online XML Generator Utility that makes it even easier to create these XML files.

Open http://www.fusioncharts.com/Demos/GUI/ and click on “I want to enter my data manually”. If you already your data in Excel, CSV or other tabular format, you may try the second option saying “I want to copy-paste my data…”

After you have entered your data in the tabular format (or copy-pasted), you should use the “Convert to XML” button to get the data XML. You should now click the “Configure Chart” button to open the “Chart Properties” window. Here, you can provide settings for your chart like caption, axis titles, design palette, etc.

After you have provided all your information and updated your XML, you can copy the XML to clipboard and paste it in a new file called data.xml (or any other file name of your choice).

Upload this file to your web-server as well. You might again use FTP or the WordPress Media Library.

Embedding FusionCharts in your blog post

At this point, you should have at least three files uploaded to your server with their URLs noted down.

You can simply copy-paste the code (in HTML view) that I have provided below and replace the path (/FusionCharts/) with the location where your SWF, JS and XML files are located.

At this point, if you publish the page, you should see an SWF movie on your page showing your data.

If you wish to change the chart type (say from Column3D to Pie2D,) you should simply upload the SWF of the chart and replace myChartSWF with appropriate SWF filename.

You can modify the chartWidth and chartHeight variables in order to size the chart as per your requirements.

There are many other ways to customize your chart using the data XML we had just now created. You should look up their documentation at http://www.fusioncharts.com/docs/ for detailed list of all the XML attributes that work with FusionCharts.

You may include multiple charts in your page and for more information on how to do the same, refer to their documentation.

Finally

While embedding FusionCharts in blog posts, I found that we will face issues in two sections. The first hurdle is getting the SWF and JS files uploaded onto servers. After that, the next challenge is the WordPress TinyMCE WYSIWYG editor itself.

Although the first hurdle can be easily crossed by using FTP or WordPress’ own Media Library, the second hurdle is an issue that we will have to live with.

You may encounter a “Loading chart…” text within your page with nothing happening. This is generally caused when TinyMCE reformats the JavaScript codes that we had typed in. Make sure your final codes are same as we had provided above. You can verify that performing a “View Source” on your erring blog page.

Category: Technical | Comments Off on Embedding FusionCharts in your blog post