I just stumbled across the MySQL GUI Tools Bundle which is very useful for managing a MySQL databases. In my opinion, it's much easier than using phpMyAdmin, which I had been doing previously. The only problem is that using it "requires" the machine the database is on (my web server …read more
I had quite a bit of fun trying to get Apache to serve the admin files for my Django install. Here are the settings I used to finally get it to work. Note that the site is in a subdirectory of my domain. I'm not currently hosting any other media …read more
Reading some php code, you might get confused about the difference betweeen =, ==, and === (this single, double, and triple equal signs). Here's a quick summary.
= (Assignment) Just like in (pretty much) every other programming language.
== (Equality) Returns true if the two variables have the same value.
=== (Identity) Returns true if the …read more
I got this annoying error message this morning when trying to open Outlook 2007.
Cannot start Microsoft Office Outlook. Cannot open the Outlook window.
I tried logging out and back in, which didn't help. Neither did a restart. A quick Google search revealed the following solution:
- Click Start, then Run …
I thought this was funny:
Historical footnote: DDT was developed at MIT for the PDP-1 computer in 1961. At that time DDT stood for "DEC Debugging Tape". Since then, the idea of an on-line debugging program has propagated throughout the computer industry. DDT programs are now available for all DEC …
The MATLAB script below will export 10000 primes to a file named 'primes.txt':read more
x=primes(10000); % Insert your own value here fopen('primes.txt','w+'); % Insert the file name heref printf(ans, '%d\n',x); % Prints a new line between each prime (C-style formatting) fclose all;
You can use the following SQL query to set the next value to be used by an auto-incrementing field in MySQL. Useful if you make a mistake and want to delete a value you just added without leaving a gap in the sequence numbers, or if you want to start …read more
This is a problem I used to have with Firefox updates failing when I was running as a Limited User in Windows XP.
Here are the steps to fix the problem:
- Close all running instances of Firefox.
- Open an Administrator command prompt by right-clicking on a Command Prompt icon, choose …
The following shows how to add a user to the "sudoers" file in Fedora 11 (and likely other versions of Fedora), allowing normal users to execute elevated commands with
sudo ...instead of needing to switch to root (
su -).read more
[greg@fedora ~]$ su - [root@fedora ~]# chmod +w /etc/sudoers [root@fedora ~]# echo …
To view all environment variables
To view a specific environment variable, use one of the following
set VARIABLE echo %VARIABLE%
To set an environment variableread more
« Page 2 / 3 »