Pass Variables between Windows Forms Windows without ShowDialog()

This won’t work very well for a find/replace dialog, for instance. It also won’t work very well for custom drawn popup forms. The quick way to pass variables between the forms is using Delegates. This allows you to capture variables before the second form window has closed.

September 20, 2006 · 1 min · 47 words · Bob Jones

Split a text file in half (or any percentage) on Ubuntu Linux

Or you might want to just retrieve a particular set of lines from a file. Enter split, wc, tail, cat, and grep. (don’t forget sed and awk). Linux contains a rich set of utilities for working with text files on the command line. For our task today we will use split and wc. That’s kinda big… but how many lines are we dealing with? If we wanted to import this into Excel, we would need to keep it less than 65k lines....

September 19, 2006 · 1 min · 114 words · Eric Smith

Run ASP.NET applications on Ubuntu (for developers)

The ASP.NET development environment on Ubuntu Linux is called XSP. you’re free to install both environments side by side if need be. Requirements: Mono development environment. To fire off the sample applications, you will launch the XSP process and point it at the samples. You’d simply modify the path to run an system that you’ve created.

September 17, 2006 · 1 min · 56 words · Christina Johnson

Setup OpenSSH Server on Ubuntu Linux

Setting up an SSH server on Ubuntu is about as simple as it gets. The server of choice is OpenSSH. Looks like it’s working! Naturally our ssh client doesn’t have the key for the server, since we just installed it. you’re able to pop in yes to continue or just hit Ctrl-C to stop.

September 17, 2006 · 1 min · 54 words · Daniel Peters

Search for Install Packages from the Ubuntu Command Line

I had initially installed monodevelop, but didn’t realize there was nunit and version control plugins for it. You may also want to launch the results through a more, or even a grep.

September 16, 2006 · 1 min · 32 words · Paul Burgess

Install Ubuntu Applications Easily with Automatix

There is no easier way to get your Ubuntu installation up and running with the tools you need thanAutomatix. Installing Automatix is easy, too. Just head over to the Automatix website and follow the easy install instructions there. Just head on over toAutomatixand check them out. Automatix is now installed. A few of the key applications that Automatix can install:

September 14, 2006 · 1 min · 60 words · Alyssa Trevino

Display a list of Started Services from the Command Line (Windows)

To interact with the services panel from the command line, Windows provides the Net utility.

September 13, 2006 · 1 min · 15 words · Aaron Lee

Kill Processes from the Windows Command Line

Enter theCommand Line Process Viewer/Killer/Suspenderutility from the Beyond Logic website.

September 13, 2006 · 1 min · 10 words · David Wood

8 Ways to List Partitions in Ubuntu

Here are eight quick ways to do it on Ubuntu. What is a Partition? It presents almost everything you would ever need to know, but is still fairly neat and readable. Hannah Stryker / How-To Geek It should be among your first picks if you want a quick partition list. However, unlike fdisk it is not interactive, and it doesn’t handleGPT partitions. It is commonly used when you oughta a script that manipulates partitions in some way....

September 11, 2006 · 1 min · 208 words · Marissa Harrell

A "live" view of a logfile on Linux

tail -f /path/thefile.log This will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.

September 11, 2006 · 1 min · 29 words · Colleen Montgomery

Adding extra Repositories on Ubuntu

Repositories on Ubuntu are the locations that you’ve got the option to download software from. Once you are done adding the repositories, you’ll need to run this command: sudo apt-get update

September 11, 2006 · 1 min · 31 words · Andrew Gray

Backup MySQL Database to a file

Backing up your database is a very important system administration task, and should generally be run from a cron job at scheduled intervals. We will use the mysqldump utility included with mysql to dump the contents of the database to a text file that can be easily re-imported. Syntax: mysqldump -h localhost -u root -pmypassword databasename > dumpfile.sql Example: mysqldump -h localhost -u root -p2Uad7as9 database01 > dumpfile.sql This will give you a text file containing all the commands required to recreate the database....

September 11, 2006 · 1 min · 84 words · Kelly Mcdaniel

Change or Set the MySQL Root password

For mysql, the system administrator user is called root. You will use the mysqladmin utility from a command line to set the new password. Notice that there are two commands to be run.

September 11, 2006 · 1 min · 33 words · Troy Williams