Subscribe RSS

Archive for November, 2008

Basic Bash Stuff Nov 25

Some resources for bash scripting

BASH String Manipulation
Bash How To

Sed

What a night mare. Heres an excellent reference to sed :

http://www.grymoire.com/Unix/Sed.html

Some bits’n pieces:

If.. then... else

if [ "$ERRORCODE" != "0" ]; then
echo “error!”
else
echo “pass!”
fi

See our more recent post on bash string filename manipulation.

Category: Linux  | Tags: ,  | Leave a Comment
ASCII and HTML Entity Reference Nov 25
Sheila never cheats

&fit;

Looking for the entity or hex for that weird ascii character.. try one of these

Ascii Cheatsheet

HTML Entities

Extensive HTML Entities by name

Category: Web Dev  | Tags: ,  | Leave a Comment
Apache configuration tricks Nov 25
This configuration will do nicely

This configuration will do nicely

This site is a good start point for a number of useful apache configuration (htaccess) tips and tricks.

http://www.askapache.com/htaccess/apache-htaccess.html

A more structured but basic cheat sheet can be found here:

mod_rewrite Cheatsheet/

Another collection of tips:

http://www.thejackol.com/htaccess-cheatsheet/

Category: Web Dev  | Tags: , ,  | Leave a Comment