-
SQLAlchemy / Alembic: check if table has column
-
Some times you want to check if a table already has a column befor try to add or drop the column in an alembic migration file.
Located in
Tech-Blog
-
How to install MySQLdb in virtualenv on Debian
-
To install MySQL-Python with pip, you need some development header files of libmysqlclient.
Located in
Tech-Blog
-
ZODB: repair PosKeyErrors in Plone/Zope
-
Some times you have a broken ZODB database because of harddisk problems and sadly no suitable backup exist. Then we can try to repair the ZODB database. Below you can find the needed steps to get a running ZODB database and a script for repairing PosKeyErrors in ZODB.
Located in
Tech-Blog
-
Manage nodejs, grunt and bower with buildout
-
How you can manage nodejs, grunt and bower including npm and bower dependencies with zc.buildout.
Located in
Tech-Blog
-
Den Typ von Variablen in Python prüfen
-
In Python möchte man oft wissen ob eine Variable ein String, eine Liste oder ein Dictionary ist. Es gibt dazu verschiedene Ansätze aber im folgenden soll der flexibelste Weg beschrieben werden. Dieser funktioniert sowohl für normale ASCII-String als auch für die kodierten Varianten (unicode, utf-8) und für alle Typen die von den Standard-Typen wie basestring, ListType, DictType ableiten.
Located in
Tech-Blog