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

mardi 5 mai 2009

unicode

pour é
  • en java : \u00e9
  • en python : u'\xe9'

http://www.w3schools.com/tags/ref_entities.asp

mardi 19 août 2008

@accepts @returns en python

voir :
* package python-excelerator
* /usr/share/pycentral/python-excelerator/site-packages/pyExcelerator/Deco.py

jeudi 3 avril 2008

emacs : query replace avec retour chariot !

Ayant un document xml avec plein de données, je souhaite séparer les blocs "<Event>" pour mieux distinguer. Voici comment faire...


M-%
<Event>
C-q C-j C-q C-j <Event>