Thursday, February 20, 2014

Watchguard XTM330 Configuration Lost

Yesterday was a panic day as the Watchguard XTM330 firewall just decided to crash and burn. The display never goes into a safe mode but it displays it’s “starting” until the buttons are held and if I let go of the button, it will show the “Watchguard” text display.

What’s biting me back is that I do not have a backup of the configuration and this system seems to have reset to Factory default. Why would a working system go blank when no one accessed the server room.

After installing Watchguard System Manager, I was hopeful that I can get a backup, but sadly it connects based on Factory Default settings and not based on the configurations I had over a year.

Hopefully the rush delivery of different system will be in my hands by end of the day so that the internal network will be up and running by tomorrow.

I am still holding on to the hope that, once the current system is returned Watchguard tech team would be able to retrieve my configuration, as that would really help in setting up the new system or at least comparing it, to make sure no special settings are missing.

Thursday, December 12, 2013

Google Chrome Incognito Two Windows Sharing Data from one another

I have two separate Google Apps account and today I happen to open them up in two separate Google Chrome Incognito Windows.

Two windows two different instances, works well with Google Apps Email or Gmail, both render different Gmail accounts. But there seems to be a caveat, the less restricted Google Apps accounts seems to penetrate the second Incognito window tabs when opening services like “Sites” or “Offers” and ask for permissions to log-in with the second windows credential even though in the next sibling tab the Gmail is running fine.

The “Offers” services automatically displays offers based on the second windows “Credential”. Only after Gmail refreshed does the other services start picking up the same windows credentials.

I assume that this is an expected issue if using the normal browser or if the email itself was behaving same, but because Gmail works flawlessly, it just begs the question why the other Google services not able to support features that Gmail supports.

Is Gmail the first to get this service while others may get this in the future?

Character map Checkmark display in HTML

If you like to use a checkmark for your web page, than use this Unicode “✔” in your html code.

I had a quiz page, where I wanted to display the checkmark if the user answered the question correctly.

I first tried to find which font offers a checkmark symbol.

Second, after much trial and error I noticed the Wingding Font has the checkmark but not the Winding 3 Font. After using the CSS Font-family and src attribute to make it all work, I wasn’t totally sure on the licensing issue and the winding font kept resulting into a lowercase “a” rather than the checkmark in html.

Finally, I was able to solve the issue by referencing the Wikipedia Character Map reference guide and adding html render prefix of “&#x” to the numeric value from reference guide and the post prefix of “;”, to result in an html symbol, that displays checkmark. ✔

Tuesday, November 26, 2013

How to stop HDInsight Services For Windows

My installation of “HDInsights Services For Windows” on my “Windows 8.1 Pro” is more of learning rather than a server level always on installation. I started seeing many Java Platform SE binary(s) running in the task manager and forgot that these were the services being run by Apache Hadoop.

It is always a good idea to set the services on development machines to run in manual mode but in case you forget to set it up or you like to find a easy way to stop or start the services, than check out the below sample, as these services may be renamed or additional added or removed since my blog being posted.

For stopping OR starting all the “Apache Hadoop” Services, use a batch file, and run this file with elevated permissions.

File name: Services_Stop_Apache_Hadoop.bat

***************************************
echo Services Stop Apache Hadoop

NET STOP datanode
NET STOP derbyserver
NET STOP historyserver
NET STOP hiveserver
NET STOP hiveserver2
NET STOP hwi
NET STOP jobtracker
NET STOP metastore
NET STOP namenode
NET STOP oozieservice
NET STOP secondarynamenode
NET STOP tasktracker
NET STOP templeton
******************************************

File name: Services_Start_Apache_Hadoop.bat

***************************************
echo Services Start Apache Hadoop

NET START datanode
NET START derbyserver
NET START historyserver
NET START hiveserver
NET START hiveserver2
NET START hwi
NET START jobtracker
NET START metastore
NET START namenode
NET START oozieservice
NET START secondarynamenode
NET START tasktracker
NET START templeton
******************************************

If you are constantly stopping the service’s on each system restart than it’s better to set these services in the “Administrator Tools >> Service” applet to start “Manual”, or in case of always starting the services, then set the option to “Automatic” start.

Wednesday, July 3, 2013

Did I just lost Windows Explorer in Windows 8.1 Preview?

Very strange experience today with Windows 8.1 Preview. I lost the option to access my “C” drive. On first go, I was prompted to switch to Sky drive for documents and photos, and obviously I said “Don’t ask again” and boom, the crash of task bar. Then I selected a shortcut link to one of my favorite folders and I can access folder structure like, my downloads, my documents but not the “C” drive root.

Very strange, I just hope it’s a fixable issue as, this will really be annoying to work with if I keep running into the “Windows Explorer” crash cycle.

Tuesday, July 2, 2013

IE 11 with updated Developer Tools

The new developer tools window of IE 11 is great looking but it is confusing at best to start with. The most important part of the developer tool is the emulator selection of previous versions but sadly it’s the last option in the left navigation options of the devTools.

Yes after using the devTools, one can say how useful it is and where certain options are located, but the start off is just as how things were with Windows 8 beta. The not knowing of what keys or buttons to press is frustrating.

Ah I wish a day when, designing and maintaining a website will not require a forever testing of every possible combination of systems and the browsers.

Capture

One good thing I notice in the new Emulation is that, it now allows a laundry list of combinations to test out and the user agent string is a long list:

  • Default
  • Internet Explorer 10
  • Internet Explorer 9
  • Internet Explorer 8
  • Internet Explorer 7
  • Internet Explorer 6
  • IE 10 – Windows Phone 8
  • IE 9 – Windows Phone 7
  • IE – Xbox
  • Google Chrome
  • Mozilla Firefox
  • Opera
  • Apple Safari (iPad)
  • Bing Bot
  • Custom

Using the combination of user agent string with browser profile and display options will really make it easy to test the website’s now, as there is much more surety of how the application will look rather than booting up all possible hardware's only to learn the bugs or what not to fix.

The developer tool is very important part of my testing assets, including the Firefox firebug.

Tuesday, April 30, 2013

X-UA-Compatible for IE Older Browsers

I have used the X-UA-Compatible before, but I was not aware that by default the compatibility mode goes directly as far back as IE 7 rather than one off from IE 10 to IE 9.

After testing all the code, I clicked on the compatibility option and realize that, all my CSS Div tag float options at wrong positions.

I was a bit horrified that my code is broken even for the one off “IE 9” browser, but than I realize to open up the “Developer Tools” by pressing the “F12” key. It showed me that my default compatibility option is “IE 7” and not “IE 9”.

After researching few pages, testing multiple options, I came to agree on this meta tag. It has to be placed inside the “head” tag, otherwise it may not work well.

Basically I selected it to default to latest browser if possible (“edge”) or one off till it reaches “IE 8 Compatibility Mode”.

I have not tested if the versions needs to be placed from left to right in increment. For me it just makes it easy to update in future, like if I needs to add “IE 10” or “IE 11” in future.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8;IE=8;IE=EmulateIE9;IE=9;IE=edge">