|
|
|
toucheatout 2006-03-03 16:28
"Touche à tout" is a french expression (means "touch to everything") used to designate people who like doing a bit of everything, learning at least the basics of whatever the subject is. As opposed as secializing and not getting interest in anything else than the subject. While computer science is the site's primary focus, linux and ai get the most attention. As there is no fixed boundary to the subjects encompassed and I'm lazy to make a subdomain, there also is a french language section. On the last apparitions and setups, aside a would-be musical groups and roles page. you may find the beginning of the book about all and everything. The atmosphere is quite similar to a wiki, having no clear-cut purpose and edition capabilities.
toucheatout 2008-03-04 13:16
Simple upload with onsuccess/onerror redirectionFilename is chosen with the IP as suffix, which is unsufficient in the general case and left as an example.
<?php
if(!empty($_FILES['file_uploaded']['tmp_name']) &&
is_uploaded_file($_FILES['file_uploaded']['tmp_name'])) {
if(move_uploaded_file($_FILES['file_uploaded']['tmp_name'],
'img/upload.' . $_SERVER['REMOTE_ADDR'])) {
header('Location: upload.php?res=success&filename=upload.' .
$_SERVER['REMOTE_ADDR']);
}
else
{
toucheatout 2008-03-01 17:30 francophone
Neuf cent mille prisonniers Maîtresse de leur sommeil Maîtresse de leur sommeil Un pays où le vin chante
toucheatout 2008-02-29 05:03
Dialogue où le moribond réaffirme son athéisme au seuil de la mort et dispute au prêtre la conception divine. Ecrit par le marquis Donatien de Sade en 1782.
toucheatout 2008-02-29 04:23 Web
This code is designed to prevent execution of some script ('say /maintenance.php), that has to be run from a remote host or from the host itself. The snippet is to be put at the beginning of the script.
Note:
toucheatout 2007-08-15 16:02 Linux
Linux's bash shell is certainly one of the most comfortable shells around. While reading its (4800+ lined) man page is certainly worth it, here are highlighted some features. Pattern matching
toucheatout 2007-03-13 16:53 francophone
toucheatout 2007-03-12 11:19
Apt-get easter-eggEven debian has some. Due respect being shown where it belongs in debian, it is a textmode easter-egg Which yields:
root@connex:/root# apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
root@connex:/root#
PS: prefer aptitute to apt-get, it features the same great functionalities (commands) and is slighlty faster to type with autocompletion (the 'i' being simpler for me to type than the '-'). It also gives more detailed information on th
toucheatout 2007-02-23 14:23
This yet another simple feature that can change one's life on certain occasions, when a GUI is mandatory for a task. Configure sshd to accept X forwardingGet to the configuration file
toucheatout 2007-02-06 16:51 Web
Getting a PHP easter-eggThis isn't well-known usually, but PHP features easter-eggs. You can try on a php-enabled website (that has an index.php) Which is a neat way of finding out wether a site uses php or not (see below a way of not disclosing this info) For instance http://www.toucheatout.net/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 (should be a little dog's picture, the image is dependant on php's version) Other strings that yield rather undocumented results : |
|