wok-current rev 683
Up: slitaz-hacker (1.4) - Lua template, cgi test and more dir
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 25 12:40:49 2008 +0200 (2008-04-25) |
parents | ebf88d350088 |
children | 17882e14fc31 |
files | slitaz-hacker/receipt slitaz-hacker/stuff/hacker/.rhapsodyrc slitaz-hacker/stuff/hacker/Public/cgi-bin/tests.sh slitaz-hacker/stuff/hacker/Templates/html-page.html slitaz-hacker/stuff/hacker/Templates/html.html slitaz-hacker/stuff/hacker/Templates/lua-prog.lua |
line diff
1.1 --- a/slitaz-hacker/receipt Fri Apr 25 00:02:09 2008 +0200 1.2 +++ b/slitaz-hacker/receipt Fri Apr 25 12:40:49 2008 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-hacker" 1.7 -VERSION="1.3" 1.8 +VERSION="1.4" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="SliTaz user hacker." 1.11 DEPENDS="slitaz-base-files lxappearance" 1.12 @@ -13,11 +13,13 @@ 1.13 { 1.14 # /home/hacker directories. 1.15 # 1.16 - mkdir -p $fs/home/hacker/Documents \ 1.17 + mkdir -p \ 1.18 + $fs/home/hacker/Documents \ 1.19 $fs/home/hacker/Downloads \ 1.20 - $fs/home/hacker/Templates \ 1.21 + $fs/home/hacker/Music \ 1.22 $fs/home/hacker/.local/bin \ 1.23 - $fs/home/hacker/.local/share 1.24 + $fs/home/hacker/.local/share \ 1.25 + $fs/home/hacker/.mozilla/plugins 1.26 cp -a stuff/hacker $fs/home 1.27 # Change permissions. 1.28 #
2.1 --- a/slitaz-hacker/stuff/hacker/.rhapsodyrc Fri Apr 25 00:02:09 2008 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,103 +0,0 @@ 2.4 -############################################################################### 2.5 -# # 2.6 -# Configuration file created by Rhapsody IRC Version 0.28b Beta - Linux # 2.7 -# # 2.8 -############################################################################### 2.9 - 2.10 -# Do not put comments in this file. This file is automatically generated when 2.11 -# you save your configuration. 2.12 - 2.13 -# The config syntax consists of a attribute = value pair for most configuration 2.14 -# options. Attributes that may have several values, use the following 2.15 -# definition: 2.16 -# attribute { 2.17 -# value 1 2.18 -# value 2 2.19 -# ... 2.20 -# } 2.21 - 2.22 -nick = hacker 2.23 -alt_nick = _unnamed_ 2.24 -name = hacker 2.25 -user = hacker 2.26 -host = slitaz 2.27 -domain = localdomain 2.28 -mode = 2.29 - 2.30 -# Server favorites are contained within curly brackets and have the following syntax: 2.31 -# server { 2.32 -# server1 port1 2.33 -# server2 port2 2.34 -# } 2.35 - 2.36 -server { 2.37 - irc.libordux.org 6667 2.38 -} 2.39 - 2.40 -# Channel favorite list is also contained within curly brackets. 2.41 -channel { 2.42 - #slitaz 2.43 -} 2.44 - 2.45 -# Favorite user list is contained within curly brackets as well. 2.46 -nick { 2.47 -} 2.48 - 2.49 -# User ignore list is contained within curly brackets as well. 2.50 -ignore { 2.51 -} 2.52 - 2.53 -# DCC Options 2.54 - 2.55 -dcchostname = slitaz 2.56 -dccstartport = 24000 2.57 -dccendport = 24010 2.58 - 2.59 -dccdownloadpath = /home/hacker 2.60 -dccuploadpath = /home/hacker 2.61 -dccblocksize = 1024 2.62 -dccaccept = 0 2.63 -dccduplicates = 0 2.64 - 2.65 -# CTCP Options 2.66 - 2.67 -ctcpreply = 1 2.68 -ctcpthrottle = 20 2.69 -ctcpfinger = 2.70 -ctcpuserinfo = 2.71 - 2.72 -# Misc Options 2.73 - 2.74 -autosave = 1 2.75 -connecttimeout = 10 2.76 -timestampformat = [%H:%M] 2.77 -channeltimestamps = 0 2.78 -chattimestamps = 0 2.79 -dcctimestamps = 0 2.80 - 2.81 -# Color Settings 2.82 - 2.83 -screencolor = 7,0 2.84 -menucolor = 4,7 2.85 -formcolor = 4,7 2.86 -formfieldcolor = 0,7 2.87 -formbuttoncolor = 0,7 2.88 - 2.89 -messagecolor = 6 2.90 -errorcolor = 1 2.91 -noticecolor = 2 2.92 -ctcpcolor = 5 2.93 -dcccolor = 6 2.94 -joincolor = 3 2.95 -renamecolor = 2 2.96 -modecolor = 2 2.97 -kickcolor = 1 2.98 -invitecolor = 2 2.99 - 2.100 -# Proxy Settings 2.101 - 2.102 -proxy = direct 2.103 -proxyhostname = slitaz 2.104 -proxyport = 1080 2.105 -proxyusername = hacker 2.106 -proxypassword =
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/slitaz-hacker/stuff/hacker/Public/cgi-bin/tests.sh Fri Apr 25 12:40:49 2008 +0200 3.3 @@ -0,0 +1,27 @@ 3.4 +#!/bin/sh 3.5 +# 3.6 + 3.7 +# Variables. 3.8 +HOST=`cat /etc/hostname` 3.9 +RELEASE=`uname -r` 3.10 + 3.11 +# Content type. 3.12 +echo -e "Content-Type: text/html\n" 3.13 + 3.14 +# Header. 3.15 +echo "<html>" 3.16 +echo "<head>" 3.17 +echo " <title>cgi-bin tests</title>" 3.18 +echo "</head>" 3.19 +echo "<body>" 3.20 + 3.21 +# Page content. 3.22 +echo "<h1>Web server cgi-bin tests</h1>" 3.23 +echo "<hr>" 3.24 +echo "<p>" 3.25 +echo "This script is runnig on $HOST with a Linux kernel $RELEASE." 3.26 +echo "</p>" 3.27 + 3.28 +# Footer. 3.29 +echo "</body>" 3.30 +echo "</html>"
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/slitaz-hacker/stuff/hacker/Templates/html-page.html Fri Apr 25 12:40:49 2008 +0200 4.3 @@ -0,0 +1,26 @@ 4.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 4.5 +<html dir="ltr" lang="fr"> 4.6 +<head> 4.7 + <title>Titre de la page</title> 4.8 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 4.9 + <meta name="description" content="Déscription du contenu de la page"> 4.10 + <meta name="keywords" lang="fr" content="Mots clés"> 4.11 + <meta name="modified" content="2007-01-27 13:41:16"> 4.12 +</head> 4.13 +<body style="direction: ltr;"> 4.14 +<!-- Commantaire. --> 4.15 +<h1>Titre h1</h1> 4.16 +<h2>Titre h2</h2> 4.17 +<h3>Titre h3</h3> 4.18 +<p> 4.19 +Paragraphe. 4.20 +</p> 4.21 +<ul> 4.22 + <li>Liste non-ordonnée</li> 4.23 + <li><a href="">Lien</a></li> 4.24 +</ul> 4.25 +<pre> 4.26 +Texte préformaté. 4.27 +</pre> 4.28 +</body> 4.29 +</html>
5.1 --- a/slitaz-hacker/stuff/hacker/Templates/html.html Fri Apr 25 00:02:09 2008 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,26 +0,0 @@ 5.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 5.5 -<html dir="ltr" lang="fr"> 5.6 -<head> 5.7 - <title>Titre de la page</title> 5.8 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 5.9 - <meta name="description" content="Déscription du contenu de la page"> 5.10 - <meta name="keywords" lang="fr" content="Mots clés"> 5.11 - <meta name="modified" content="2007-01-27 13:41:16"> 5.12 -</head> 5.13 -<body style="direction: ltr;"> 5.14 -<!-- Commantaire. --> 5.15 -<h1>Titre h1</h1> 5.16 -<h2>Titre h2</h2> 5.17 -<h3>Titre h3</h3> 5.18 -<p> 5.19 -Paragraphe. 5.20 -</p> 5.21 -<ul> 5.22 - <li>Liste non-ordonnée</li> 5.23 - <li><a href="">Lien</a></li> 5.24 -</ul> 5.25 -<pre> 5.26 -Texte préformaté. 5.27 -</pre> 5.28 -</body> 5.29 -</html>