+ /opt/python2.4.3/bin/easy_install http://svn.plone.org/svn/collective/ZopeSkel/trunk#egg=ZopeSkel-dev
+ /opt/python2.4.3/bin/easy_install PasteScript
Plone:
paster create -t plone_core
Zope:
paster create -t basic_zope
Python:
paster create -t basic_package
ou
paster create -t nested_namespace
Liste des templates:
paster create --list-templates
Aide:
paster create --help
Avec Subversion:
paster .... --svn-repository=http://mysubversionserver/myprojects/
Apache Log Merge
clfmerge -d $INPUT $OTH_INPUT > RESULT
ORACLE installer
+ adduser oracle
sudo vim /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon)
./runInstaller -ignoresysprereqs
pas oublier export ex: ORACLE_HOME="/usr/lib/oracle/product/10.2.0/client_1/"
ORACLE
select * from ATACCOUNT where rownum <= 5
ORACE CERISE
SQLALCHEMY
http://groups.google.de/group/sqlalchemy/browse_thread/thread/d7043ae4a8be3439
ENFOLD / WINDOWS TESTS
1) PloneTestCase?/setup.py L81 USELAYER = 0
2) Install Python/Lib?/test/* from real python 2.4.3
3) Enfolder Server/Python?/python.exe "C:\Program Files\Enfold Server\Products\cmis\runalltests.py
4) Fix plone_tests.py => cmis_tests.py in Python\Lib\site-packages\EnfoldTools?\Cluster\util
5) Run cmis_tests.py + shortcut
Dive
dive(){ let $(( n = 0 )) while [ $n -ne 10 ] ; do I=`find . -mindepth 1 -maxdepth 1 -type d ! -name '.svn' ! -name 'tests' -print -quit`; if [[ $I != "" ]] then chdir $I; fi let $(( n = n + 1 )); done }
ORACLE IMPORT DUMP
-1. placer dump dans /oracle/10g/rdbms/log
- 10.0.50.110:5500/em
- login as SYSTEM (no dba, sysoper)
- Maintenance
- Importer à partir de fichiers d'import
- DATA_PUMP_DIR + donner nom de fichier Type import: schema (laisser user oracle)
- choisir SANITEL
- Pas de mise en correspondance
- Etape 3: Afficher les options avancées Inclure tous les objets Action à appliquer si la table existe: Remplacer
- pray
ORACLE MVIEW
http://didier.deleglise.free.fr/dba/structure/mat_view.htm
setup.py rest
python2.4 setup.py --long-description | rst2html > /tmp/foo.html