Welcome to the real IT world, Obama staff January 25, 2009
Posted by AskMike in General.1 comment so far
According to the Washington Post, the incoming U.S. presidential administration are upset by the outdated Office running on Windows, no Facebook and no IMs.
Well, welcome to the real world. That is exactly how the IT in 95% of corporations and organizations works.
Here is list of most of common IT policies
- No Facebook, what so ever. Facebook is simply blocked within the corporation network. Sorry and now get back to work.
- IM clients, most likely ports are blocked. Unless it is for work.
- Macintosh is not supported at all because those internal web apps doesn’t run well.
- Blackberry, now get this, President. You could have blackberry and get emails on your corp. Blackberry. But there’s no way to install 3rd-party apps and they are blocked by IT Policy!
- Office 2007, Vista? Not right now, because IT department has to test them before rolling out.
Basically that is exactly how people work everyday. Now stop being a baby and go back to work!
Fix: Windows 7 Beta gadgets not working issue January 13, 2009
Posted by AskMike in Computers & Internet.Tags: beta, gadgets, UAC, unspecified error, Windows 7, Windows 7 beta, windows 7 beta gadgets issue, windows 7 beta gadgets problem
12 comments
After a fresh installed Windows 7 beta on my PC. I am quite happy with the overall performance and features presented by this beta.
However, it seemed Windows gadgets didn’t work. Right click on the desktop and select gadgets but nothing happened. I tried to download some gadgets but it said “unspecified error” when I tried to install gadgets.
First of all, I thought it was a bug so I reported it. However, I found the cause and fixed it.
It was the UAC – User Account Control, causing gadgets stop working. After installed Windows 7 beta, I naturally set the level of UAC to “Never notify”. Apparently it broke the gadgets. After restored the UAC back to default level or level 1. I am able to install and show gadgets on my desktop now.
Wired but worked, You will have to use default level at least level 1 for UAC to get the gadgets worked.
Read Digital Magazines for Free (iPhone is not Needed) May 27, 2008
Posted by AskMike in General.add a comment
Apple Iphone owners get to view free digital magazines of 70 or so popular magazines without costs, courtesy of Zinio and Texterity, including Popular Mechanics, PC Magazine, and U.S. News & World Report.
However, non-iPhone/iPod touch browsers can also score free access using the User Agent Switcher extension for Firefox or a simple Safari tweak.
All that needs to be done is change the User Agent in your browser to the one of the iPhone which will trick the website into thinking that you are accessing it with an iPhone. This in turn will give you access to those magazines, among them PC Magazine, Technology Review, Macworld, Lonely Planet and, um, Playboy and Penthouse.
The content is provided in full screen in your browser and you can flip through the pages with a click. It’s probably not the most comfortable way but it’s free and easy enough. Pages are actually shown as images which means they can be saved to the local hard drive.
In Safari, set your browser to the iPhone user agent in the Develop menu, which you can enable at Preferences->Advanced->”Show Develop menu in menu bar.”
Opera users have built-in user agent switching for iPhones
Firefox users can install the User Agent Switcher add-on and configure it with the following User Agent:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A102 Safari/419 (United States)
Then switch to that User Agent and visit the Zinio or Texterity.
Mac OS X is NOT safer than Vista. April 1, 2008
Posted by AskMike in Computers & Internet.Tags: CanSecWest, Hacks, Mac OS X, MacBook Air, security, vista
3 comments
As you surely know by now, the CanSecWest conference was the stage for a contest, PWN to OWN. Three laptops were set up; laptops running Windows Vista, Ubuntu Linux, and Mac OS X. The goal was to hack the computer and read the contents of a file located on each of the machines, using a 0day code execution vulnerability.
During the first day, you can only attack the machine over the network, without physical access. On the second day, user interaction comes into play (visiting a website, opening an email). On the third and final day, third-party applications are added to the mix. Each machine had the same cash prize on its head.
As you all know, the Mac was hacked first, on day two. The user only had to visit a website, and the Mac was hacked. Vista got hacked on the third day using a security hole in Adobe’s Flash, and the Ubuntu machine did not get hacked at all.
when the hacking contest was on its second day. The second day consisted of stock configurations along with browsers and some mail applications. That’s when the MacBook Air laptop was hacked in in about 2 minutes utilizing a Safari vulnerability that Apple has now been notified of.
Technically it wasn’t really Microsoft’s fault that the machine was hacked since Adobe is the one who creates Flash. The MacBook Air vulnerability, on the other hand, was in the Safari browser which ships on all Apple computers.
Gmail Manager Work-around fix for new Gmail November 6, 2007
Posted by AskMike in General.add a comment
recently the Gmail team has been working on a structural code change that we’ll be rolling out to Firefox 2 and IE 7 users over the coming weeks (with other browsers to follow). You won’t notice too many differences to start with, but we’re using a new model that enables us to iterate faster and share components (we now use the same rich text editor as Groups and Page Creator, and the Contact Manager can be seen in several Google apps). A few other things you will notice are some new keyboard shortcuts and the ability to bookmark specific messages and email searches. One side effect of this change is that if you’re using third-party Gmail extensions, they’re likely to stop working. And that is the case for Gmail manager, because this extension no longer shows new messages.
But there is quick fix before the new version:
find your profile folder
browse to the extensions directory
open the folder named {582195F5-92E7-40a0-A127-DB71295901D7}
open the components folder
Open “gmServiceGmail.js” in your favorite text editor (notepad)
Use the find feature to the following text: “?search=inbox&view=tl&start=0&init=1″ (without the quotes)
Append “&ui=1″ to that text (again, without the quotes)
Save the file, and then restart Firefox! It should now show your unread messages!
Hope that helps someone!
Disable Windows Update Restart August 16, 2007
Posted by AskMike in General.add a comment
Windows installed another round of updates and now it’s asking you to restart. Again. One simple command line entry can disable this obnoxious reminder. Reader Jack writes in with the trick:
To stop this service, open [Command Prompt] (Start>Run>cmd>Enter) and type the following command sc stop wuauserv. This will not prevent Automatic Updates from starting at the next boot. So don’t worry, you’ll keep getting Windows updates. Just don’t forget to restart eventually.
It works on XP and Vista as well.
Hacking Firefox: The secrets of about:config – part 4 June 5, 2007
Posted by AskMike in General.add a comment
Stop memory hogging![]()
The default way the Windows version of Firefox consumes memory can be alarming if you don’t know what’s really going on. People routinely report a memory “footprint” of 75MB to 100MB or more with only a few windows or tabs open, and they assume a memory leak is to blame. While earlier versions of Firefox did have memory leak bugs, they’re not the reason for this kind of memory consumption in Firefox 2.x.
Here’s what’s happening: Firefox caches recently used objects — Web pages, images — in memory so that they can be re-rendered on-screen quickly, which drives up memory usage. The following tweaks can make Firefox stake out memory less aggressively. (Note, however, that lightening the memory load might make your pages load a bit more slowly than you’re used to.)
Reduce graphics caching
When the Boolean preference browser.cache.memory.enable is enabled (the default), Firefox keeps copies of all graphical elements from the current browsing session in memory for faster rendering. You can set this to false to free up more memory, but pages in your history will reload less quickly when you revisit them.
Another option: Set the value to true and create a new integer preference called browser.cache.memory.capacity. Then specify, in kilobytes, how much memory to set aside for graphics caching. That way you get some of the speed benefits that graphics caching provides without taking a huge memory hit. If you use -1 as the memory value, Firefox will size the memory cache based on how much physical RAM is present.
Reduce Web page caching
Firefox caches several recently visited Web pages in memory so they don’t have to be regenerated when you press Back or Forward. The integer setting browser.sessionhistory.max_total_viewers determines how many individual Web pages to store in the back/forward cache; each page takes about 4MB (or 4,000KB) of RAM.
By default, however, this value is set to -1, which determines how many pages to cache from the amount of available physical memory; the maximum number of pages stored when you use -1 is 8. Set this value to 0 to disable page caching entirely. That will save some memory, but will also cause Back and Forward navigation to slow down a bit.
Note that this caching is not the same as browser.cache.memory.enable: That setting is for rendering elements on pages like graphics and buttons, and the contents of https-encoded pages, while this setting is for caching the text content of Web pages that have already been rendered or “tokenized.”
Swap out to disk memory when minimized (Windows only)
A little-known feature in Firefox allows the Windows memory manager to swap out some of Firefox’s physical memory space to disk when Firefox is minimized but not closed. This allows other programs to use the physical memory that Firefox was previously monopolizing.
By default, this feature is turned off, for two reasons: 1) PC memory is generally more plentiful than it used to be, so it makes sense to use it if it’s available, and 2) swapping Firefox’s memory out to disk will slow the program down when it’s restored.
That said, if you run Firefox side by side with other memory-hungry applications, it might help keep them from competing with each other. To enable this feature, create a new Boolean preference called config.trim_on_minimize and set its value to true.
Hacking Firefox: The secrets of about:config – part 3 June 5, 2007
Posted by AskMike in General.1 comment so far
Hack network connections![]()
The very first batch of Firefox hacks I learned about was how to override its network defaults. Some of Firefox’s out-of-the-box settings for how it deals with network connections are fairly conservative, probably because Firefox has no way of knowing what kind of network it’s using (dial-up vs. broadband, etc.). If you have a network that readily supports multiple simultaneous connections, you can make a number of changes to Firefox to take advantage of that.
But proceed with caution. If Firefox’s network settings are set too aggressively, they can lead you to being blacklisted for a short time by a given remote server. And you should certainly get permission from the IT department before attempting this kind of hack in a corporate environment. Regardless, moderation is the key. For the most part, I find that setting the network settings to absurdly high numbers does not accomplish much of anything; it helps to ramp them up a bit, but generally not much more than that.
Maximize connections to multiple servers
The integer preference network.http.max-connections controls how many simultaneous network connections Firefox will make at any one time to any number of Web servers. One typical way this pays off is if you have Firefox set to load multiple home pages in different tabs at once, or if you access pages that aggregate contents from several different servers (for instance, multiple advertising systems).
By default, this is set to 24, which should work well for most network connections, but you can raise it to 32 and see if that has any effect. (I’ve seen people raise this as high as 64, but anything above 32 doesn’t seem to provide much discernible payoff.)
Maximize connections to the same server
The integer preference network.http.max-connections-per-server controls how many separate connections Firefox makes to the same server, which allows multiple elements in a page to be downloaded in parallel. Normally, this is set to 8, but some people choose to set it as high as 16.
Note, however, that some Web servers will block you if you try to establish more than 8 inbound connections, typically as a bandwidth-protection or antileeching measure — this is the kind of behavior also exhibited by download managers that try to use as many “slots” as possible to speed things up, and many server admins hate that sort of thing. Also, if you’re on a connection that’s not fast to begin with (e.g., slow ISDN or dial-up), changing this setting will have no discernible effect, and may in fact slow things down.
Bump up persistent connections per server
Firefox keeps persistent connections to a server “alive” to improve performance: Instead of simply sending the results of one request and then closing, they’re held open so that multiple requests can pass back and forth. This means a little less network traffic overall, since a connection to a given server has to be set up only once, instead of once for each separate piece of content; it also means successive connections to the same server go through faster.
The integer preference network.http.max-persistent-connections-per-server controls the number of persistent connections allowed per server. By default, this is set to 2, although some servers will honor a higher number of persistent connections (for instance, if there’s a lot of content from their site that loads in parallel, like images or the contents of frames). You probably only want to go as high as 8 with this; more than that may cause a server to temporarily blacklist your IP address depending on how it’s configured. (If you’re going through a proxy defined by Firefox, use network.http.max-persistent-connections-per-proxy instead of this setting.)
Reduce the interval between persistent connections
If you’ve already used up all the persistent server connections described in the above setting and Firefox needs to make more connections, the integer setting network.http.request.max-start-delay governs how long to wait before attempting to open new connections. This helps if Firefox’s persistent-connection limit has been used up by a number of long downloads, and the browser needs to queue a shorter download on top of that.
Most people set this to 0 (in seconds), with the default being 10. Note that this does not override connection limits imposed by remote hosts, so its usefulness is limited by the whim of the server you’re connecting to.
Turn on pipelining
The Boolean preference network.http.pipelining enables an experimental acceleration technique called “pipelining,” which speeds up the loading of most Web pages. A browser normally waits for some acknowledgment of a given request from a server before attempting to send another one to that server; pipelining sends multiple requests at once without waiting for responses one at a time.
If you turn this on (that is, set its value to true), also be sure to create or edit the integer preference network.http.pipelining.maxrequests, which controls the maximum number of requests that can be pipelined at once. 16 should do it; some people go as high as 128 but there’s not much evidence it’ll help. (If you use a proxy, set network.http.proxy.pipelining to true as well.)
Note that not every Web server honors pipelining requests correctly, which is why this feature is turned off by default and still considered experimental. Some sites may behave strangely if you submit pipelined requests.
Hacking Firefox: The secrets of about:config – part 2 May 30, 2007
Posted by AskMike in General.1 comment so far
Have tabbed browsing your way![]()
Right from the start, one of Firefox’s strengths has been tabbed browsing. But if the tabs don’t behave quite the way you want them to by default, or you hate the way the default behaviors have changed since Firefox 1.x, the following changes will bring them in line.
Corral close buttons
The integer preference browser.tabs.closeButtons controls how the close buttons (the “X” icons) are rendered on tabs:
0: Display a close button only on the currently active tab. This is a nice way to keep from accidentally smacking into a close button for the wrong tab.
(You can press Ctrl-F4 to close only the current tab, but many mouse-centric people never bother to do this.)
1: Display close buttons on all tabs (default).
2: Don’t display any close buttons; the only way to close a tab is by pressing Ctrl-F4.
3: Display one close button at the end of the tab bar (Firefox 1.x’s default).
Open search results in a new tab
This one is a favorite of mine. When browser.search.openintab (a Boolean preference) is set to true, any searches launched from the Search tool bar are opened in a new tab instead of overwriting the contents of the current one. I can’t tell you the number of times I mistakenly wiped out my current page before I started using this.
Note that if you launch a new browser window with Ctrl-N and perform a search there, you’ll see the search results and the default home page for the new browser instance loading in separate tabs.
Open bookmark groups in new tabs
If you open a group of bookmarks at once, Firefox’s default behavior is to replace any existing tabs with the newly opened pages. Set browser.tabs.loadFolderAndReplace (Boolean) to false, and opening groups of bookmarks will append new tabs to the existing window instead of overwriting existing ones.
Squeeze more tabs into the tab bar
The integer preference browser.tabs.tabMinWidth controls how narrow, in pixels, tabs can be shrunk down before scroll arrows appear on the left and right edges of the tab bar.
The default is 100, but you can set this to something smaller so you can fit more tabs in the bar at once. Note, however, that you might find the shortened titles harder to read.
In the same vein, the integer preference browser.tabs.tabClipWidth sets the minimum width, in pixels, that a tab must be in order to show a close button. This is 140 by default, so if you set this to something lower, you’ll see more tabs with close buttons when the tab bar is heavily populated.
How to run file manager with root privileges May 25, 2007
Posted by AskMike in Computers & Internet.2 comments
If you have set up your sudoers file and have a working sudo command (recommended), then simple issuing a `sudo programname from a terminal will allow you to run the program with root privileges. Since you’re looking for a file manager, you would use `sudo nautilus`, enter the root password and nautilus will opon up in /root with full access to all files/folders.
Ubuntu desktop users: If you’re constantly creating “sudo” sessions in Nautilus (or other applications), it’s very easy to confuse your sudo windows with your regular windows. This often results in accidentally opening read-only versions of your system files — very frustrating! A quick way to visually separate your simultaneous sessions, is to assign a different theme to your sudo applications. To do this, open a terminal and type the following:
sudo gnome-theme-manger
Pick a new theme, and any time you launch an application using sudo, you will be able to clearly see the difference between your sudo windows and your regular windows. Check out the difference in the Nautilus sessions shown above (the sudo window is shown in brown on the right, and the regular user window is shown in blue on the left).

