I’ve spent whole day trying to get Google openid working in my project. After reading lots of articles and manuals I decided to post here my working code for pylons. Read the rest of this entry »
Google openid auth on python
Posted: 11th August 2011 by lwolf in web developmentTags: openid, pylons, python
Controlling Powercom 600AP USB with NUT
Posted: 14th May 2011 by lwolf in linuxTags: 600ap, debian, nut, pcm, powercom
I’ve spent few hours trying to configure POWERCOM 600AP to work with NUT under DEBIAN. There were a lot of problems so I decided to describe my path here Read the rest of this entry »
Limit MongoDB memory use on Windows without Virtualization
Posted: 20th April 2011 by lwolf in mongodbGreat post about problem I faced using MongoDB on Windows Server 2008R2
I’ve seen the question of how to control MongoDB’s memory usage on Windows come up several times and the stock answer always seemed to be “you can’t – it uses memory-mapped files and if you want to limit resources you need to use some form of virtualization to do it (HyperV, VMWare, Virtuozzo etc…)”.
If you are using MongoDB on a dedicated server then you generally want it to use all the memory it can but if you want to use it on a server shared with other processes (e.g. an IIS website using MongoDB for storage, maybe with SQL Server as well) then you will want to put a cap on how much it uses to ensure memory is kept available for the other processes.
While writing project in CouchDB I faced the next problem: I was needed to retrieve all updates of member ordered by date. In couchDB terminology I have list of members IDs as a key and I need to sort results ordered by value.
CouchDB-python finally support lists and shows(unofficially)
Posted: 1st March 2011 by lwolf in couchdb, web developmentTags: couchdb, couchdb-python
For some time I was looking for this feature in couchdb-python, and finally developers posted patch at http://bit.ly/hG8zGk.
They are testing it now, but for me it works fine, especially after using urllibs for this tasks…
So to use it you have to download 2 patches from the address above and patch client.py of your couchdb.
#cd /usr/local/lib/python2.6/dist-packages/CouchDB-0.8-py2.6.egg/couchdb #patch client.py < extract-path-from-name.patch #patch client.py < showlist.patch
Configuring aptana to work with pylons
Posted: 13th November 2010 by lwolf in web developmentTags: aptana, pylons, python
In this post I’m going to show how to develop pylons projects using aptant on windows.
liberty reserve API on Python
Posted: 16th August 2010 by lwolf in web developmentTags: liberty reserve, python, urllib, urllib2
Yesterday I’ve spent some time working with Liberty Reserve API.
First I was googling trying to find some ready solutions on Python, but looks like there are no such at all. It seems like there are no languages except PHP
Read the rest of this entry »
getting canon lbp2900 work on ubuntu 10.4
Posted: 10th July 2010 by lwolf in linuxTags: linux, ubuntu
for a long time it was a big problem to get my cannon lbp2900 work on linux systems. For about a year I was using only window7 on all my PC’s, but yesterday decided to install Ubuntu 10.4. Everything looked good,except, as usual – there was no printer… After googling for some minutes I’ve found the simple working solution.
Here will be my first weblog.
I’m going to use it to note and share all the things I’ll learn about web developing. Currently I’m using pylons as framework for web sites development. So huge part of posts will be about using python/pylons. Also may be some about using jquery/css…