Posts tagged ‘Tips’

Editing the hosts file in Windows Vista

Windows Vista
Image via Wikipedia

For the few, who need to bypass the standard DNS settings or who develop and manage websites and need to edit hosts file are quite stuck up with the UAC in Micro$oft’s Windows Vista.

Here are the few ways to edit the hosts file in Windows Vista, which I came across while googling for the solution.

For non-frequent edits :

  1. Open Notepad with Administrative privileges by clicking StartAll Programs,Accessories, and then right-click Notepad and select to open as Administrator.
  2. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.
  3. Now you can edit and save the hosts file.

For frequent editing

Here’s how to create a shortcut on your desktop and easily open your hosts file with Notepad and edit it.

  1. Send a shortcut to Notepad to your desktop by right-clicking Notepad in the start menu and selecting send to desktop.
  2. Right-click the shortcut to Notepad on your desktop and select properties.
  3. Click the advanced button near the bottom of the shortcut tab and check off run as administrator. Click OK in the advanced properties window.
  4. Replace “ %SystemRoot%\system32\notepad.exe with ” %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box. Click OK in the properties window to save the changes.
  5. Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges.

Ctrl-Tab : A must for Firefox Tab addicts

Ctrl TabEventhough Shiretoko, is going to have Visual Tab switching feature inbuilt, it will be still some more months before we get the stable release. Till then Ctrl-Tab extension should satisfy the Firefox Tab addicts. This extension emulates the Alt+Tab feature which helps to switch between windows in most of the operating systems. It is much more faster in Firefox 3 than the previous versions.

Ctrl-Tab Extension

Pressing [Ctrl]+[Tab], brings up a thumbnail preview of the tabs, and repeated presses of [Tab] proceeds in the order of tab usage. Releasing the [Ctrl] selects the particular Tab window. Holding the [Tab] makes the scroll faster. Press [Shift] to make the scroll in the reverse order.

Ctrl-Tab Extension - Filter View

For those who want to see all the tabs present in the present Firefox session, just press [F4] or the List all Tabs button in the right end of Tab bar to bring up a grid view of all the tabs. There is a filter option also thrown in for the hardcore Tab addicts.

I am using this add-on in Firefox 3 and really recommend all to try it out for yourself. It’s worth the effort.

Download Ctrl-Tab

Zemanta Pixie

Online WordPress Theme Generator

WordPressFor those who blog with WordPress.com or have their self hosted WordPress and think that CSS stands for Canadian Secret Service, they might have been frustrated when they attempt to customise their WP theme to their liking. Even though there are loads of themes available in the World Wide Web, its a pain finding them and they testing each and every one of them to find that some element in the entire theme is not great. You would have wished that if only there was a tool that just gives you the output what you wished. Thanks to Jaroslaw Dobrzanski, we have a Online WordPress Theme Generator. People who love a simple, minimalistic WP theme would fall in love this generator.

WordPress Theme Generator

You can customise the look of your blog, without having to know what is CSS or PHP… You can change the colours, fonts, layout, header and all other settings. The best part of all is that you can see the output right away when in the preview pane. So if you don’t like the way how it turned out, then just redo it till you get it right. Once you are done perfecting the theme, just download the zip, and unzip and load it right away into your dashboard.

Zemanta Pixie

Multiple Row Bookmarks Toolbar in Firefox

One of the features that got attention was the bookmarks management in Firefox 3. Lately I have had the need to bookmark many of the links in my bookmarks toolbar. With the favicon displayed next to the side, it was pleasing and eye-catching. But the space was restricted and the links started to overflow the given width. So little googling to increase the height of my bookmarks toolbar brought me to MozillaZine (which I should have done before going to Google). This is how you go about it….

  1. Go to Firefox’s Profile directory ( Press [Win]+[R], and type “%APPDATA%” to go to your apps directory and you will find a directory called Mozilla and then navigate to your profile directory inside)
  2. In chrome folder, there might be a file called “userChrome.css“. If not you might have a example file and even if that is not there then create one using notepad.
  3. Inside type the following based on which version of Firefox you are running.  Please change the height variable according to your needs. 54px worked out for me. Then save the file and restart Firefox to have as much bookmarks as you want in your toolbar.

For Firefox 2

/* Multi-row bookmarks toolbar */
#bookmarks-ptf {display:block !important;}
#bookmarks-ptf toolbarseparator {display:inline !important;}

and sometimes you might need to add this also

/* Sometimes you may need this */
#PersonalToolbar {max-height: none !important;}

For Firefox 3 (this worked out for me)

/* Multi-row bookmarks toolbar for Fx3b5pre*/
#bookmarksBarContent
{display:block !important;}
.places-toolbar-items
{display:block !important;
height: 54px !important;
overflow-y:auto !important;}
#bookmarksBarContent toolbarseparator
{display:inline !important;}
#bookmarksBarContent .bookmark-item
{visibility: visible !important;}
.chevron {height: 0px !important;}

Zemanta Pixie