slitaz-tools rev 12
Add hacker directory with many examples file for $HOME
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hacker/.ash_history Sun Dec 02 21:02:03 2007 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +ls -al 1.5 +cat /proc/cpuinfo 1.6 +cat /proc/partitions 1.7 +free 1.8 +ifconfig -a 1.9 +exit 1.10 +tazpkg list 1.11 +cat Images/ASCII/tux.txt 1.12 +less -EM /usr/share/doc/tazpkg/tazpkg.txt 1.13 +less -EM /usr/share/doc/slitaz/apropos.txt 1.14 +nInvaders 1.15 +htop 1.16 +rhapsody 1.17 +nano 1.18 +retawq 1.19 +retawq http://localhost/server-status 1.20 +retawq http://localhost/ 1.21 +clex
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/hacker/.bashrc Sun Dec 02 21:02:03 2007 +0100 2.3 @@ -0,0 +1,6 @@ 2.4 +# ~/.bashrc: Bash personal config file. 2.5 +# 2.6 + 2.7 +PS1='\u@\h:\w\$ ' 2.8 + 2.9 +export PS1
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/hacker/.clexbm Sun Dec 02 21:02:03 2007 +0100 3.3 @@ -0,0 +1,6 @@ 3.4 +# 3.5 +# CLEX bookmark file 3.6 +# 3.7 +/mnt 3.8 +/media 3.9 +/usr/share/doc
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/hacker/.clexrc Sun Dec 02 21:02:03 2007 +0100 4.3 @@ -0,0 +1,5 @@ 4.4 +# 4.5 +# CLEX configuration file 4.6 +# 4.7 +CMD_F4=nano $f 4.8 +CMD_F9=retawq $f
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/hacker/.gqview/gqviewrc Sun Dec 02 21:02:03 2007 +0100 5.3 @@ -0,0 +1,210 @@ 5.4 +###################################################################### 5.5 +# GQview config file version 2.0.4 # 5.6 +###################################################################### 5.7 + 5.8 +# Note: This file is autogenerated. Options can be changed here, 5.9 +# but user comments and formatting will be lost. 5.10 + 5.11 +##### General Options ##### 5.12 + 5.13 +layout_style: 0 5.14 + 5.15 +layout_order: "123" 5.16 + 5.17 +layout_view_as_icons: false 5.18 + 5.19 +layout_view_as_tree: false 5.20 + 5.21 +show_icon_names: true 5.22 + 5.23 + 5.24 +tree_descend_folders: false 5.25 + 5.26 +lazy_image_sync: false 5.27 + 5.28 +update_on_time_change: true 5.29 + 5.30 +exif_auto_rotate: false 5.31 + 5.32 + 5.33 +enable_startup_path: false 5.34 + 5.35 +startup_path: 5.36 + 5.37 +zoom_mode: fit 5.38 +two_pass_scaling: true 5.39 + 5.40 +zoom_to_fit_allow_expand: true 5.41 + 5.42 + 5.43 +fit_window_to_image: false 5.44 + 5.45 +limit_window_size: false 5.46 + 5.47 +max_window_size: 100 5.48 + 5.49 + 5.50 +progressive_keyboard_scrolling: false 5.51 + 5.52 +scroll_reset_method: 0 5.53 + 5.54 + 5.55 +enable_thumbnails: false 5.56 + 5.57 +thumbnail_width: 96 5.58 + 5.59 +thumbnail_height: 72 5.60 + 5.61 +cache_thumbnails: true 5.62 + 5.63 +cache_thumbnails_into_dirs: false 5.64 + 5.65 +use_xvpics_thumbnails: true 5.66 + 5.67 +thumbnail_spec_standard: true 5.68 + 5.69 + 5.70 +local_metadata: false 5.71 + 5.72 + 5.73 +sort_method: 1 5.74 + 5.75 +sort_ascending: true 5.76 + 5.77 +sort_case_sensitive: false 5.78 + 5.79 + 5.80 +confirm_delete: true 5.81 + 5.82 +enable_delete_key: true 5.83 + 5.84 +safe_delete: false 5.85 + 5.86 +safe_delete_path: "/home/hacker/.gqview/trash" 5.87 +safe_delete_size: 20 5.88 + 5.89 + 5.90 +tools_float: false 5.91 + 5.92 +tools_hidden: false 5.93 + 5.94 +restore_tool_state: false 5.95 + 5.96 +toolbar_hidden: false 5.97 + 5.98 +mouse_wheel_scrolls: false 5.99 + 5.100 +in_place_rename: true 5.101 + 5.102 +open_recent_max: 10 5.103 + 5.104 +image_cache_size_max: 10 5.105 + 5.106 +thumbnail_quality: 1 5.107 + 5.108 +zoom_quality: 2 5.109 + 5.110 +dither_quality: 1 5.111 + 5.112 +zoom_increment: 5 5.113 + 5.114 +enable_read_ahead: true 5.115 + 5.116 +display_dialogs_under_mouse: false 5.117 + 5.118 +black_window_background: false 5.119 + 5.120 +fullscreen_screen: -1 5.121 + 5.122 +fullscreen_clean_flip: false 5.123 + 5.124 +fullscreen_disable_saver: true 5.125 + 5.126 +fullscreen_above: false 5.127 + 5.128 +custom_similarity_threshold: 99 5.129 + 5.130 + 5.131 +##### Slideshow Options ##### 5.132 + 5.133 +slideshow_delay: 15.0 5.134 + 5.135 +slideshow_random: false 5.136 + 5.137 +slideshow_repeat: false 5.138 + 5.139 + 5.140 +##### Filtering Options ##### 5.141 + 5.142 +show_dotfiles: false 5.143 + 5.144 +disable_filtering: false 5.145 + 5.146 +filter_ext: "png" ".png" "Le format d'image PNG" 5.147 +filter_ext: "jpeg" ".jpeg;.jpe;.jpg" "Le format d'image JPEG" 5.148 +filter_ext: "gif" ".gif" "Le format d'image GIF" 5.149 +filter_ext: "ico" ".ico;.cur" "Le format d'image ICO" 5.150 +filter_ext: "ani" ".ani" "Le format d'image ANI" 5.151 +filter_ext: "ras" ".ras" "Le format d'image Sun raster" 5.152 +filter_ext: "xpm" ".xpm" "Le format d'image XPM" 5.153 +filter_ext: "tiff" ".tiff;.tif" "Le format d'image TIFF" 5.154 +filter_ext: "pnm" ".pnm;.pbm;.pgm;.ppm" "La famille de format d'image PNM/PBM/PGM/PPM" 5.155 +filter_ext: "bmp" ".bmp" "Le format d'image BMP" 5.156 +filter_ext: "wbmp" ".wbmp" "Le format d'image WBMP" 5.157 +filter_ext: "xbm" ".xbm" "Le format d'image XBM" 5.158 +filter_ext: "tga" ".tga;.targa" "Le format d'image Targa" 5.159 +filter_ext: "pcx" ".pcx" "Le format d'image PCX" 5.160 +filter_ext: "#svg" ".svg" "Scalable Vector Graphics" 5.161 + 5.162 +##### External Programs ##### 5.163 +# Maximum of 10 programs (external_1 through external_10) 5.164 +# format: external_n: "menu name" "command line" 5.165 + 5.166 +external_1: "Mtpaint" "mtpaint %f" 5.167 +external_2: "" "" 5.168 +external_3: "" "" 5.169 +external_4: "" "" 5.170 +external_5: "" "" 5.171 +external_6: "" "" 5.172 +external_7: "" "" 5.173 +external_8: "" "" 5.174 +external_9: "jpegtran rotation horaire" "%vif jpegtran -rotate 90 -copy all -outfile %p_tmp %p; then mv %p_tmp %p;else rm %p_tmp;fi" 5.175 +external_10: "jpegtran rotation anti-horaire" "%vif jpegtran -rotate 270 -copy all -outfile %p_tmp %p; then mv %p_tmp %p;else rm %p_tmp;fi" 5.176 + 5.177 +##### Collection Options ##### 5.178 + 5.179 +rectangular_selections: false 5.180 + 5.181 + 5.182 +##### Window Positions ##### 5.183 + 5.184 +restore_window_positions: false 5.185 + 5.186 + 5.187 +main_window_x: 398 5.188 + 5.189 +main_window_y: 312 5.190 + 5.191 +main_window_width: 700 5.192 + 5.193 +main_window_height: 500 5.194 + 5.195 +main_window_maximized: false 5.196 + 5.197 +float_window_x: 0 5.198 + 5.199 +float_window_y: 0 5.200 + 5.201 +float_window_width: 260 5.202 + 5.203 +float_window_height: 450 5.204 + 5.205 +float_window_divider: 200 5.206 + 5.207 +divider_position_h: 260 5.208 + 5.209 +divider_position_v: 200 5.210 + 5.211 +###################################################################### 5.212 +# end of GQview config file # 5.213 +######################################################################
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/hacker/.gtk-bookmarks Sun Dec 02 21:02:03 2007 +0100 6.3 @@ -0,0 +1,2 @@ 6.4 +file:///home/hacker/Public 6.5 +file:///home/hacker/Templates
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/hacker/.gtkrc-2.0 Sun Dec 02 21:02:03 2007 +0100 7.3 @@ -0,0 +1,13 @@ 7.4 +# ~/.gtkrc-2.0 - GTK+ theme, icon and font configuration. 7.5 +# 7.6 +# System files : /usr/share/{themes,icons,fonts} 7.7 +# Personal files : ~/.icons and ~/.fonts 7.8 +# 7.9 + 7.10 +gtk-theme-name = "Clearlooks-DeepSky" 7.11 +#gtk-theme-name = "Clearlooks-Olive" 7.12 +#gtk-theme-name = "Clearlooks-Quicksilver" 7.13 + 7.14 +gtk-icon-theme-name = "Tango" 7.15 + 7.16 +gtk-font-name = "Bitstream Vera Sans 11"
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/hacker/.isomaster Sun Dec 02 21:02:03 2007 +0100 8.3 @@ -0,0 +1,19 @@ 8.4 + 8.5 +[ui] 8.6 +windowwidth = 632 8.7 +windowheight = 550 8.8 +toppaneheight = 200 8.9 +fscurrentdir = /home/hacker/ 8.10 +showhiddenfilesfs = 0 8.11 +sortdirsfirst = 1 8.12 +scanforduplicatefiles = 1 8.13 +followsymlinks = 0 8.14 +appendextension = 1 8.15 +editor = leafpad 8.16 +viewer = firefox 8.17 +tempdir = /tmp 8.18 +isosortcolumnid = 1 8.19 +isosortdirection = 0 8.20 +fssortcolumnid = 1 8.21 +fssortdirection = 0 8.22 +
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/hacker/.profile Sun Dec 02 21:02:03 2007 +0100 9.3 @@ -0,0 +1,38 @@ 9.4 +# ~/.profile: Executed by Bourne-compatible login SHells. 9.5 +# 9.6 + 9.7 +# Path to personal scripts and executables (~/Bin). 9.8 +# 9.9 +if [ -d "$HOME/Bin" ] ; then 9.10 + PATH=$HOME/Bin:$PATH 9.11 + export export 9.12 +fi 9.13 + 9.14 +# Java home directory path. 9.15 +# 9.16 +#JAVA_HOME=$HOME/Bin/jre1.6.0_03 9.17 +#JAVA_BINDIR=$JAVA_HOME/bin 9.18 +#if [ -d "$HOME/Bin" ] ; then 9.19 +# export PATH=$JAVA_BINDIR:$PATH 9.20 +#fi 9.21 + 9.22 +# Environnement variables and prompt for Ash SHell 9.23 +# or Bash. 9.24 +# 9.25 + 9.26 +# Classic prompt. 9.27 +PS1='\u@\h:\w\$ ' 9.28 + 9.29 +# Light green and blue colored prompt. 9.30 +#PS1='\e[1;32m\u@\h\e[0m:\e[1;34m\w\e[0m\$ ' 9.31 + 9.32 +# Light blue or yellow. 9.33 +#PS1='\e[1;34m\u@\h:\w\e[0m\$ ' 9.34 +#PS1='\[\033[1;33m\]\u@\h:\w\[\033[0m\]\$ ' 9.35 + 9.36 +EDITOR='nano' 9.37 +PAGER='less -EM' 9.38 + 9.39 +export PS1 EDITOR PAGER 9.40 + 9.41 +umask 022
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/hacker/.retawq/bookmarks.html Sun Dec 02 21:02:03 2007 +0100 10.3 @@ -0,0 +1,26 @@ 10.4 +<html> 10.5 +<head> 10.6 + <title>SliTaz Retawq - Bookmarks</title> 10.7 +</head> 10.8 +<body> 10.9 + 10.10 +<h1>Bookmarks the web!</h1> 10.11 +<hr /> 10.12 + 10.13 +<ul> 10.14 + <li><a href="http://localhost/">http://localhost/</a></li> 10.15 + <li><a href="http://localhost/~hacker/">http://localhost/~hacker/</a></li> 10.16 + <li><a href="http://localhost/doc/">http://localhost/doc/</a></li> 10.17 + <li><a href="http://www.slitaz.org/">www.slitaz.org</a></li> 10.18 + <li><a href="http://www.libordux.org/">www.libordux.org</a></li> 10.19 + <li><a href="http://www.tuxfamily.org/">www.tuxfamily.org</a></li> 10.20 + <li><a href="http://freshmeat.net/">freshmeat.net</a></li> 10.21 + <li><a href="http://www.gnu.org/">www.gnu.org</a></li> 10.22 + <li><a href="http://www.kernel.org/">www.kernel.org</a></li> 10.23 + <li><a href="http://www.busybox.net/">www.busybox.net</a></li> 10.24 + <li><a href="http://www.lighttpd.net/">www.lighttpd.net</a></li> 10.25 + <li><a href="http://www.google.com/">www.google.com</a></li> 10.26 +</ul> 10.27 + 10.28 +</body> 10.29 +</html>
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/hacker/.retawq/config Sun Dec 02 21:02:03 2007 +0100 11.3 @@ -0,0 +1,33 @@ 11.4 +# This is a run-time configuration for the web browser 11.5 +# retawq (<http://retawq.sourceforge.net/>). 11.6 +# This file is part of SliTaz GNU/Linux 11.7 +# (http://www.slitaz.org/). 11.8 + 11.9 +# A bookmarks document; we use a local file: 11.10 +bookmarks local:~/.retawq/bookmarks.html 11.11 + 11.12 +# Set colors, if you want black-on-white colors, 11.13 +# use colors reverse: 11.14 +colors on 11.15 + 11.16 +# Our home page, you can set this value to off: 11.17 +home http://www.slitaz.org/ 11.18 + 11.19 +# Our favorite search engine. 11.20 +search-engine http://www.google.com/ 11.21 + 11.22 +# When downloading something from an HTTP server, we prefer the French 11.23 +# language, but would also accept English. 11.24 +languages fr,en 11.25 + 11.26 +# Allow any ("*") CGI scripts in /var/www directory. 11.27 +local-cgi 11.28 + allow /var/www/cgi-bin/* 11.29 + allow /home/hacker/Public/cgi-bin/* 11.30 + 11.31 +# Maximum number of automatic redirections; we need to access a completely 11.32 +# screwed server which requires more than 10 redirections. 11.33 +redirections 15 11.34 + 11.35 +# Tell HTTP servers about our operating system. 11.36 +user-agent 1
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/hacker/.rhapsodyrc Sun Dec 02 21:02:03 2007 +0100 12.3 @@ -0,0 +1,103 @@ 12.4 +############################################################################### 12.5 +# # 12.6 +# Configuration file created by Rhapsody IRC Version 0.28b Beta - Linux # 12.7 +# # 12.8 +############################################################################### 12.9 + 12.10 +# Do not put comments in this file. This file is automatically generated when 12.11 +# you save your configuration. 12.12 + 12.13 +# The config syntax consists of a attribute = value pair for most configuration 12.14 +# options. Attributes that may have several values, use the following 12.15 +# definition: 12.16 +# attribute { 12.17 +# value 1 12.18 +# value 2 12.19 +# ... 12.20 +# } 12.21 + 12.22 +nick = hacker 12.23 +alt_nick = _unnamed_ 12.24 +name = hacker 12.25 +user = hacker 12.26 +host = slitaz 12.27 +domain = localdomain 12.28 +mode = 12.29 + 12.30 +# Server favorites are contained within curly brackets and have the following syntax: 12.31 +# server { 12.32 +# server1 port1 12.33 +# server2 port2 12.34 +# } 12.35 + 12.36 +server { 12.37 + irc.libordux.org 6667 12.38 +} 12.39 + 12.40 +# Channel favorite list is also contained within curly brackets. 12.41 +channel { 12.42 + #slitaz 12.43 +} 12.44 + 12.45 +# Favorite user list is contained within curly brackets as well. 12.46 +nick { 12.47 +} 12.48 + 12.49 +# User ignore list is contained within curly brackets as well. 12.50 +ignore { 12.51 +} 12.52 + 12.53 +# DCC Options 12.54 + 12.55 +dcchostname = slitaz 12.56 +dccstartport = 24000 12.57 +dccendport = 24010 12.58 + 12.59 +dccdownloadpath = /home/hacker 12.60 +dccuploadpath = /home/hacker 12.61 +dccblocksize = 1024 12.62 +dccaccept = 0 12.63 +dccduplicates = 0 12.64 + 12.65 +# CTCP Options 12.66 + 12.67 +ctcpreply = 1 12.68 +ctcpthrottle = 20 12.69 +ctcpfinger = 12.70 +ctcpuserinfo = 12.71 + 12.72 +# Misc Options 12.73 + 12.74 +autosave = 1 12.75 +connecttimeout = 10 12.76 +timestampformat = [%H:%M] 12.77 +channeltimestamps = 0 12.78 +chattimestamps = 0 12.79 +dcctimestamps = 0 12.80 + 12.81 +# Color Settings 12.82 + 12.83 +screencolor = 7,0 12.84 +menucolor = 4,7 12.85 +formcolor = 4,7 12.86 +formfieldcolor = 0,7 12.87 +formbuttoncolor = 0,7 12.88 + 12.89 +messagecolor = 6 12.90 +errorcolor = 1 12.91 +noticecolor = 2 12.92 +ctcpcolor = 5 12.93 +dcccolor = 6 12.94 +joincolor = 3 12.95 +renamecolor = 2 12.96 +modecolor = 2 12.97 +kickcolor = 1 12.98 +invitecolor = 2 12.99 + 12.100 +# Proxy Settings 12.101 + 12.102 +proxy = direct 12.103 +proxyhostname = slitaz 12.104 +proxyport = 1080 12.105 +proxyusername = hacker 12.106 +proxypassword =
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/hacker/Desktop/emelfm2.desktop Sun Dec 02 21:02:03 2007 +0100 13.3 @@ -0,0 +1,8 @@ 13.4 +[Desktop Entry] 13.5 +Type=Application 13.6 +Name=emelFM2 13.7 +Comment=File manager. 13.8 +TryExec=emelfm2 --trash=$HOME/.Trash 13.9 +Exec=emelfm2 --trash=$HOME/.Trash %F 13.10 +Icon=/usr/share/pixmaps/emelfm2/emelfm2_48.png 13.11 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/hacker/Desktop/firefox.desktop Sun Dec 02 21:02:03 2007 +0100 14.3 @@ -0,0 +1,7 @@ 14.4 +[Desktop Entry] 14.5 +Type=Application 14.6 +Name=Firefox 14.7 +Comment=Web browse 14.8 +TryExec=firefox 14.9 +Exec=firefox %F 14.10 +Icon=/usr/share/pixmaps/mozicon.png
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/hacker/Desktop/geany.desktop Sun Dec 02 21:02:03 2007 +0100 15.3 @@ -0,0 +1,7 @@ 15.4 +[Desktop Entry] 15.5 +Type=Application 15.6 +Name=Geany 15.7 +Comment=Lightweight and powerfull IDE. 15.8 +TryExec=geany 15.9 +Exec=geany %F 15.10 +Icon=/usr/share/pixmaps/geany.png
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/hacker/Desktop/leafpad.desktop Sun Dec 02 21:02:03 2007 +0100 16.3 @@ -0,0 +1,7 @@ 16.4 +[Desktop Entry] 16.5 +Type=Application 16.6 +Name=Leafpad 16.7 +Comment=Text edito 16.8 +TryExec=leafpad 16.9 +Exec=leafpad %F 16.10 +Icon=/usr/share/pixmaps/leafpad.png
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/hacker/Desktop/xterm.desktop Sun Dec 02 21:02:03 2007 +0100 17.3 @@ -0,0 +1,7 @@ 17.4 +[Desktop Entry] 17.5 +Type=Application 17.6 +Name=Xterm 17.7 +Comment=X terminal emulator 17.8 +TryExec=xterm -bg grey16 -fg white -cr orange 17.9 +Exec=xterm -bg grey16 -fg white -cr orange %F 17.10 +Icon=/home/hacker/Images/Icons/e17/terminal_tango.edj
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/hacker/Images/ASCII/gnu-linux.txt Sun Dec 02 21:02:03 2007 +0100 18.3 @@ -0,0 +1,5 @@ 18.4 + ____ _ _ _ _ ___ _ 18.5 + / ___| \ | | | | | / / | (_)_ __ _ ___ __ 18.6 +| | _| \| | | | |/ /| | | | '_ \| | | \ \/ / 18.7 +| |_| | |\ | |_| / / | |___| | | | | |_| |> < 18.8 + \____|_| \_|\___/_/ |_____|_|_| |_|\__,_/_/\_\
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/hacker/Images/ASCII/gnu.txt Sun Dec 02 21:02:03 2007 +0100 19.3 @@ -0,0 +1,9 @@ 19.4 + , , 19.5 + / \ 19.6 +((__-^^-,-^^-__)) 19.7 + `-_---' `---_-' 19.8 + `--|o` 'o|--' 19.9 + \ ` / 19.10 + ): :( 19.11 + :o_o: 19.12 + "-"
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/hacker/Images/ASCII/tux-mini.txt Sun Dec 02 21:02:03 2007 +0100 20.3 @@ -0,0 +1,3 @@ 20.4 + (°- { Hi SliTaz User! } 20.5 + //\ 20.6 + v_/_
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/hacker/Images/ASCII/tux.txt Sun Dec 02 21:02:03 2007 +0100 21.3 @@ -0,0 +1,26 @@ 21.4 + .88888888:. 21.5 + 88888888.88888. 21.6 + .8888888888888888. 21.7 + 888888888888888888 21.8 + 88' _`88'_ `88888 21.9 + 88 88 88 88 88888 21.10 + 88_88_::_88_:88888 21.11 + 88:::,::,:::::8888 21.12 + 88`:::::::::'`8888 21.13 + .88 `::::' 8:88. 21.14 + 8888 `8:888. 21.15 + .8888' `888888. 21.16 + .8888:.. .::. ...:'8888888:. 21.17 + .8888.' :' `'::`88:88888 21.18 + .8888 ' `.888:8888. 21.19 + 888:8 . 888:88888 21.20 + .888:88 .: 888:88888: 21.21 + 8888888. :: 88:888888 21.22 + `.::.888. :: .88888888 21.23 + .::::::.888. :: :::`8888'.:. 21.24 + ::::::::::.888 ' .:::::::::::: 21.25 + ::::::::::::.8 ' .:8::::::::::::. 21.26 + .::::::::::::::. .:888::::::::::::: 21.27 + :::::::::::::::88:.__..:88888:::::::::::' 21.28 + `'.:::::::::::88888888888.88:::::::::' 21.29 + `':::_:' -- '' -'-' `':_::::'`
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/hacker/Public/cgi-bin/tests.sh Sun Dec 02 21:02:03 2007 +0100 22.3 @@ -0,0 +1,27 @@ 22.4 +#!/bin/sh 22.5 +# 22.6 + 22.7 +# Variables. 22.8 +HOST=`cat /etc/hostname` 22.9 +RELEASE=`uname -r` 22.10 + 22.11 +# Content type. 22.12 +echo -e "Content-Type: text/html\n" 22.13 + 22.14 +# Header. 22.15 +echo "<html>" 22.16 +echo "<head>" 22.17 +echo " <title>cgi-bin tests</title>" 22.18 +echo "</head>" 22.19 +echo "<body>" 22.20 + 22.21 +# Page content. 22.22 +echo "<h1>Web server cgi-bin tests</h1>" 22.23 +echo "<hr>" 22.24 +echo "<p>" 22.25 +echo "This script is runnig on $HOST with a Linux kernel $RELEASE." 22.26 +echo "</p>" 22.27 + 22.28 +# Footer. 22.29 +echo "</body>"; 22.30 +echo "</html>"
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/hacker/Templates/Makefile Sun Dec 02 21:02:03 2007 +0100 23.3 @@ -0,0 +1,8 @@ 23.4 +PREFIX?=/usr/local 23.5 + 23.6 +all: 23.7 + 23.8 +install: 23.9 + 23.10 +uninstall: 23.11 +
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 24.2 +++ b/hacker/Templates/cgi-bin-html.sh Sun Dec 02 21:02:03 2007 +0100 24.3 @@ -0,0 +1,27 @@ 24.4 +#!/bin/sh 24.5 +# 24.6 + 24.7 +# Variables. 24.8 +HOST=`cat /etc/hostname` 24.9 +RELEASE=`uname -r` 24.10 + 24.11 +# Content type. 24.12 +echo -e "Content-Type: text/html\n" 24.13 + 24.14 +# Header. 24.15 +echo "<html>" 24.16 +echo "<head>" 24.17 +echo " <title>cgi-bin</title>" 24.18 +echo "</head>" 24.19 +echo -e "<body bgcolor=\"#ffffff\">" 24.20 + 24.21 +# Page content. 24.22 +echo "<h1>HTML cgi-bin SHell script</h1>" 24.23 +echo "<hr>" 24.24 +echo "<p>" 24.25 +echo "This script is runnig on $HOST with a Linux kernel $RELEASE." 24.26 +echo "</p>" 24.27 + 24.28 +# Footer. 24.29 +echo "</body>"; 24.30 +echo "</html>"
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 25.2 +++ b/hacker/Templates/cgi-bin-text.sh Sun Dec 02 21:02:03 2007 +0100 25.3 @@ -0,0 +1,10 @@ 25.4 +#!/bin/sh 25.5 +# 25.6 + 25.7 +# Content type. 25.8 +echo Content-Type: text/plain 25.9 +echo "" 25.10 + 25.11 +# Page content. 25.12 +echo "Text file powered by SHell script." 25.13 +
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/hacker/Templates/html.html Sun Dec 02 21:02:03 2007 +0100 26.3 @@ -0,0 +1,26 @@ 26.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 26.5 +<html dir="ltr" lang="fr"> 26.6 +<head> 26.7 + <title>Titre de la page</title> 26.8 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 26.9 + <meta name="description" content="Déscription du contenu de la page"> 26.10 + <meta name="keywords" lang="fr" content="Mots clés"> 26.11 + <meta name="modified" content="2007-01-27 13:41:16"> 26.12 +</head> 26.13 +<body style="direction: ltr;"> 26.14 +<!-- Commantaire. --> 26.15 +<h1>Titre h1</h1> 26.16 +<h2>Titre h2</h2> 26.17 +<h3>Titre h3</h3> 26.18 +<p> 26.19 +Paragraphe. 26.20 +</p> 26.21 +<ul> 26.22 + <li>Liste non-ordonnée</li> 26.23 + <li><a href="">Lien</a></li> 26.24 +</ul> 26.25 +<pre> 26.26 +Texte préformaté. 26.27 +</pre> 26.28 +</body> 26.29 +</html>
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 27.2 +++ b/hacker/Templates/shell-script.sh Sun Dec 02 21:02:03 2007 +0100 27.3 @@ -0,0 +1,16 @@ 27.4 +#!/bin/sh 27.5 +# 27.6 + 27.7 +# Comment. 27.8 + 27.9 +echo "Hello world!" 27.10 + 27.11 +# Variables. 27.12 +NAME= 27.13 + 27.14 +# Functions. 27.15 +example() 27.16 +{ 27.17 + echo "This is a function." 27.18 +} 27.19 +