Author |
Message |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
Blah blah blah!
|
Thu Aug 20, 2009 6:21 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
:O PAGE 37!
|
Thu Aug 20, 2009 6:21 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
My knee hurts
|
Thu Aug 20, 2009 6:22 pm |
|
 |
themcman1
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:54 pm Posts: 572
|
hai
|
Thu Aug 20, 2009 6:23 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
General Error SQL ERROR [ mysql4 ]
Incorrect string value: '\xE2\x88\x9E\xC2\xA7\xC2...' for column 'post_text' at row 1 [1366]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
D'OH!
|
Thu Aug 20, 2009 6:23 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
|
Thu Aug 20, 2009 6:23 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
|
Thu Aug 20, 2009 6:24 pm |
|
 |
themcman1
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:54 pm Posts: 572
|
I got that. 
|
Thu Aug 20, 2009 6:24 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
#!/bin/sh #Script will take and index file and make it into a web page.
usage(){ echo "Usage: html_creator <index_file_location> <output_location.html>" exit }
#Check args (must be 2) if [ $# -gt 2 ] || [ $# -lt 2 ] || [ $1 = "-h" ] ; then usage fi
#Is $1 a file? if [ -f $1 ] ; then INDEX=$1 else echo "File does not exist" usage fi
#Get and separate destination path and file DEST_DIR=`echo $2 | sed 's/\(.*\)\/\([^/]*\)/\1/'` DEST_FILE=`echo $2 | sed 's/\(.*\)\/\([^/]*\)/\2/'` DEST_PATH=$2 mkdir -p $DEST_DIR
#Generate temp file for links TEMP_FILE=/tmp/$$.tmp for EACH in `cat $INDEX` ; do TEMP_NAME=`echo $EACH | sed 's/\(.*\)\/\([^/]*\)/\2/' | sed 's/[$.].*//' | sed 's/%20/ /g'` echo " <li><a href='$EACH'>$TEMP_NAME</a></li>" >> $TEMP_FILE done
#Append html for html file TEMP_HTML=/tmp/$$.html PAGE_TITLE=`echo $DEST_FILE | sed 's/\.html//'` echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' >> $TEMP_HTML echo '<head>' >> $TEMP_HTML echo " <title>$PAGE_TITLE</title>" >> $TEMP_HTML echo '</head>' >> $TEMP_HTML echo '<body>' >> $TEMP_HTML echo " <h1>$PAGE_TITLE</h1>" >> $TEMP_HTML echo ' <ol>' >> $TEMP_HTML cat $TEMP_FILE >> $TEMP_HTML echo ' </ol>' >> $TEMP_HTML echo '</body>' >> $TEMP_HTML
#Cleanup rm $TEMP_FILE mv $TEMP_HTML $DEST_PATH
|
Thu Aug 20, 2009 6:24 pm |
|
 |
themcman1
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:54 pm Posts: 572
|
SO I HERD U LIEK MUDKIPZ?
|
Thu Aug 20, 2009 6:24 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
Hehe, Random characters FTL apparently!
|
Thu Aug 20, 2009 6:25 pm |
|
 |
themcman1
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:54 pm Posts: 572
|
i have web design to do.
ah well.
|
Thu Aug 20, 2009 6:25 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
What to type...?
|
Thu Aug 20, 2009 6:25 pm |
|
 |
themcman1
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:54 pm Posts: 572
|
Most active topic:The All-New Improved 24hr Thread (216 Posts / 41.46% of your posts)
|
Thu Aug 20, 2009 6:25 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
Go! Get on with it, make out site better!
|
Thu Aug 20, 2009 6:25 pm |
|
|