The Problem I want to shorten the paths to a directory that is buried deep in the file system. In my daily work, I often need to cd into such directory as long as: C:\projects\tests\utilities\fileutil Although Windows command line has file name completion, it is still a long and tedious process to change into and […]
September 2, 2008
cannot_login Originally uploaded by haivu_ed The problem I have a Windows 2003 Server which for some reason does not let me log in interactively (that is, locally). The machine issue the following error message when I tried logging in: “The local policy of this system does not permit you to logon interactively.” The solution From […]
January 19, 2008
I had my Leopard set up for file sharing, which I can connect from my other Mac and XP computers. However, for the longest time, I could not connect to it from my Vista machine.After doing some research, I finally found the solution posted in Apple’s discussion forum. If your user name on the Leopard […]
January 5, 2008
I encountered the need to redirect the console output to a file in my attempt to automate testing of functions which does not return any value but writes to the console. Basically, we need to save the old output (Console.Out) before assigning the output to a file stream by means of Console.SetOut(). After the test, […]
January 3, 2008
This is a list of .net exceptions which I compiled. It is by no mean complete. I created this list to help me with the question, “which exception should I throw now that condition X has occurred?” The highlighted rows are the ones which I have used or plan to use. Blogged with Flock Tags: […]
December 28, 2007
I have this one-liner: puts “argc = $argc” and saved it to cmdline.tcl. If I invoke the program directly like this: cmdline.tcl one two three then the result is: argc = 0 If I invoke it as: tclsh cmdline.tcl one two three then the result is correct: argc = 3 The same program works fine […]
November 28, 2007
I have an XP and a Vista box. On the XP box, the auto-completion works beautifully: it automatically suggests the name of the files or directory based on the first few characters that I typed. Auto-completion works in places such as the file open/save dialogs, the Run command, and the Internet Explorer’s web address line. […]
September 16, 2007
In the past few days, I have used VMWare Fusion to run Windows XP on my MacBook and I am pretty happy with it. However, as soon as I am in windows, I have trouble getting used to the Control – Alt – Windows key order. For those who do not know, the Windows keyboard’s […]
August 13, 2007
I have a simple (really!) sheet that I created in the Numbers (part of the new iWork ’08). In this sheet, I created two tables and a text box. When I exported this sheet to Excel and viewed the result from Excel, I was disappointed, but not surprised that the exported sheet looks horrible: each […]
July 15, 2007
The problem: I want to send a folder full of files from my Mac to my friend’s PC. When I right-click on the folder and choose the archive option, the resulting .ZIP file includes a folder called __MACOSX, along with several files that begin with a dot. The solution: Use YemuZip, which has a PC-specific […]
January 20, 2011
0