Rex's tutorials

Mac OSX: Delete a user account

Contributed by Rex on October 7, 2005 under Mac system administration

Deleting a user account is neat and clean with Mac OS X. This recipe describes the procedure and consequences of deleting a user.

Comments Continue reading... 
 

Solve PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried…

Contributed by Rex on November 25, 2004 under PHP programming

This error message can spring up in a previously functional PHP script when the memory requirements exceed the default 8MB limit. Don’t fret, though, because this is an easy problem to overcome.

Comments Continue reading... 
 

PHP: Break apart strings with explode

Contributed by Rex on September 19, 2004 under PHP programming

PHP has a wonderful built-in function to break apart a string using substring separators. This recipe describes the use of the explode() function.

Comments Continue reading... 
 

Java while-do and do-while loop syntax

Contributed by Rex on September 9, 2004 under Java programming

The while loop in Java allows a loop block to be executed an arbitrary number of times until a condition is met. This recipe shows the basic syntax of the Java while loop.

Comments Continue reading... 
 

Java for loop iteration syntax

Contributed by Rex on under Java programming

The for loop provides a simple mechanism for repeating a code block a fixed number of times or for iterating through a set of values.

Comments Continue reading... 
 

Java switch/case statement syntax

Contributed by Rex on September 7, 2004 under Java programming

The switch statement in Java provides a convenient method for branching a program based on a number of conditionals. This recipe describes the use of the Java switch statement.

Comments Continue reading... 
 

Java if statement syntax

Contributed by Rex on under Java programming

The if statement is a fundamental programming contruct. If allows a program to execute different blocks of code depending on the result of a test. This recipe describes the variations of the if statement in Java.

Comments Continue reading... 
 

Java J2SE Hello World sample program

Contributed by Rex on September 4, 2004 under Java programming

The Hello World program (one that just prints Hello World to the screen) has long been a staple first application for a programmer to try out a new programming language. This recipe describes the steps involved in compiling and running a simple Hello World program in Java.

Comments Continue reading...