I wanted to change my machine’s Grub default boot partition and didn’t know how. After googling, I learned that the default boot partition is controlled by the file:
/boot/grub/grub.conf
Just change the default setting inside and reboot.
I’m currently using C1Component FlexGrid. To enable a cell to popup a list of allowed values, create a pipe-delimited string (ex: “Red|Green|Orange”) and set it to the Cols(index).ComboList property. Setting the ComboList property causes C1FlexGrid to display a dropdown box next to the cell.
To allow a user to select from a [...]
sudo umount /media/doit
sudo mkdir /media/doit2
sudo mount -t vfat -w /dev/sdb1 /media/doit2
To add a new control to the Toolbox in Visual Studio, click Tools -> Choose Toolbox Items.
C#’s event handling takes event handling notification on a twist from Java’s tried-and-true broadcast-subscription mechanism. Using events, disguised in the form of delegates, event subscribers can similarly subscribe to event notification. The event source notifies all event subscribers to calling back on the delegate method they initially sent for subscribing to the event [...]
Click on the window or control
Right click for properties
Click the Events (looks like lightning icon) button
Select the list of events to generate an event handler
The leftmost column in a default C1FlexGrid has always bothered me. How to turn it off? This consumed me about half a day a month ago. To turn off the left most column, click on the Property page of the C1FlexGrid. Look for the Cols property. Set the “Fixed” setting to 0. This does the [...]
The key is located on the installation CD disk, in the file:
/i386/WINNT.SIF
Newegg is currently offering 100 4.7GB DVDs at a taxfree price of $23 with free shipping. At a fill-rate of 90%, or 4.2GB per disc, this option comes out to 18.26 GB. per dollar.
Newegg is also offering an external hard drive, a Fantom Drives G-Force G1000EU 1TB for $95, $75 with rebate. This option [...]
I just encountered a problem where I needed a job to run if the the same job ran ran over an hour ago. I stored the last run time in a cookie, poll it, and compare the last run time using SQL’s datediff() function. I check the number of hours since the job last ran [...]