Posted in howto, linux, unix on Feb 12th, 2007
If you happen to find a Sun Solaris server with a telnet daemon running, it is very likely that you can get superuser access on it by just typing:
$ telnet -l “-froot” server
where server is the server name. I was able to confirm this on a Solaris server nearby.
It’s amazing to see that this one [...]
Read Full Post »
Posted in howto, python, turbogears on Feb 4th, 2007
What good is an application—not matter how much information it contains—if the inability to easily search it renders it useless?
Xapian to the Rescue
Xapian is an excellent open source (GPL) search engine library. It is written in C++ and comes with bindings for Python as well as many other languages, and it supports everything you’d expect [...]
Read Full Post »
Posted in howto on Dec 21st, 2006
I am running several phpBB-based forums, and they all started receiving serious amounts of spam recently. It seems that the spammers are now able to break the captcha in the registration and even pass the e-mail activation. I found a very simple solution for this. And from that moment on - the spam stopped.
The idea [...]
Read Full Post »
Posted in howto, python, turbogears on Nov 17th, 2006
In this tutorial I’ll show you how to create a simple, yet powerful, tagging system using SQLAlchemy with TurboGears. As the concept of tags, and social tagging in particular, have become very popular, clients now demand “tagging-enabled” applications. So, here’s a simple way to get you started.
Our application will associate sites with tags (many to [...]
Read Full Post »
Posted in howto, turbogears on Jul 14th, 2006
Internet Explorer is known to cache the responses of GET calls. The problem occurs if your javascript functions request the same url over and over again. Internet Explorer will cache the response of the first call, and subsequent calls will automatically return the same response, without actually contacting the server. There are two approaches to [...]
Read Full Post »
Posted in howto, turbogears on Jun 2nd, 2006
I remember that day about a month ago, when it occured to me it is high time that I write some unit tests for my project. In the beginning, it felt like travelling where no man has gone before - a lot of technical issues to settle. I introduced my BrowserSession class to aid stateful [...]
Read Full Post »
Posted in howto, turbogears on Apr 15th, 2006
I have been a customer of BlueHost (a very friendly web hosting provider) since I’ve created the Python Challenge, about a year ago. A short time later, I’ve added to my account the domain thesamet.com which I use as my personal homepage and blog. Recently, I’ve started working with TurboGears and wondered whether BlueHost could [...]
Read Full Post »