J'entrepose ici mes découvertes linux, bash, python et java que je souhaite partager et mettre de côté...
vendredi 18 juin 2010
mercredi 9 juin 2010
Python - urlparse
>>> from urlparse import urlparse
>>> o = urlparse('http://www.example.com:80/%7Eme/test.html;jsessionid=id?a=b&c=d#tag')
>>> o
ParseResult(scheme='http', netloc='www.example.com:80',
path='/%7Eme/test.html', params='jsessionid=id',
query='a=b&c=d', fragment='tag')
mardi 13 avril 2010
mercredi 21 octobre 2009
Mysql
mysql> create database 3900_test;
Query OK, 1 row affected (0,00 sec)
mysql> grant all privileges on 3900_test.* to 'test'@'localhost' identified by 'test';
Query OK, 0 rows affected (0,00 sec)
Query OK, 1 row affected (0,00 sec)
mysql> grant all privileges on 3900_test.* to 'test'@'localhost' identified by 'test';
Query OK, 0 rows affected (0,00 sec)
vendredi 14 août 2009
Creation base sql et user
create database mabase;
grant all privileges on mabase.* to test identified by 'test';
mysql -h localhost -u test -ptest mabase
grant all privileges on mabase.* to test identified by 'test';
mysql -h localhost -u test -ptest mabase
Inscription à :
Articles (Atom)