I found a good document for regular grammars and thought I would post it so I wouldn’t lose it.
Have fun!
http://www.cset.oit.edu/~yangs/CST229/Lecture/6_grammarforms.pdf
Regular Grammar
Filed under: Deterministic Finite Automata on January 29th, 2008 | No Comments »
To find large files in linux you can use the find command.
As an example you can find all files that are close to 1GB or over by issuing the command:
find . -type f -size +1000000
The above command will list all files larger than 1GB recursively from the current working directory.
Filed under: Linux on January 29th, 2008 | No Comments »
If you are here you have probably seen this error “530 Login incorrect”
In order to fix this problem you need to ensure that the shell being used for the user in question is in the file /etc/shell.
# /etc/shells: valid login shells
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/esh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/screen
Any shell that is in this file will allow the user to connect.
Filed under: Linux on January 26th, 2008 | 1 Comment »
I found this link useful. I have attached the actual backup script located on this page just in case it is gone in the future.
Tar Backup Script
Tar Backup Web Page
Filed under: Linux on January 23rd, 2008 | No Comments »
Just paste this code into a file named HelloWorld.php.
<?php
echo ‘Hello World!’;
?>
Navigate to the page and you have “hello world.”
Filed under: PHP on January 14th, 2008 | No Comments »