Note: I’ve written an updated article for both Vista and XP
There are a number of ways to kill a process if you know the name of the process. Here’s a couple different ways you can accomplish this. We are going to assume that the process we are trying to kill is named irssi
A useful technique for your applications is allowing them to parse command line arguments. This can give a lot of extra functionality to your application, for instance to pass the name of a file to open on the command line.
When you are programming a Windows Forms application, you will invariably need to get variables from a second form window, such as an options form or popup search prompt.
If you have an unwieldy text file that you are trying to process, splitting it in sections can sometimes help processing time, especially if we were going to import a file into a spreadsheet. Or you might want to just retrieve a particular set of lines from a file.
The ASP.NET development environment on Ubuntu Linux is called XSP. This is a simple webserver written in C# that can be used for either ASP.NET 1.0 or 2.0 applications. You can install both environments side by side if need be.
When you are trying to install software on Ubuntu or Debian linux using the apt-get package system, quite often you’ll forget the exact name of the package you are trying to install. Here’s how you can get a little help figuring out what the name is.
There is no easier way to get your Ubuntu installation up and running with the tools you need than Automatix. I’m not entirely certain why this hasn’t been integrated into the core of the system yet, because it’s about as easy as it gets.
If you are familiar with linux/unix, you will be very accustomed to the ability to kill (and start) processes from the command line. Linux gives you a very rich set of command line tools that simply don’t exist on Windows by default.
To interact with the services panel from the command line, Windows provides the Net utility. From the command prompt, you can use this utility to start, stop, pause and continue services. What most people don’t realize is that you can also use this to display a list of services that are running on your computer.
This seems to help out with the memory usage quite a bit. Generally, when you minimize a window the memory usage goes way down because that application isn’t active. Unfortunately, Firefox by default doesn’t adhere to this behavior. Here’s how to force it to.
From a command prompt or terminal window, run this command:
To find files containing keywords, linux has a powerful command called grep, which you can use to find the lines inside any file or a list of files. I use this very often to find a function declaration in a set of php files that I’m unfamiliar with.