Month: December 2011

  • How to install wikistream on Ubuntu 11.10 with NodeJS 0.6

    Wikistream is great applications and publish on HackerNews. Today, I want to install and run Wikistream on My Ubuntu 11.10 Oneric. I have NodeJS 0.6.5 installed and run properly on my Ubuntu. If you don’t have, then you should install it. In case you need how to install NodeJS on Ubuntu 11.10, open your console […]

  • Install and configure zend eclipse in Ubuntu

    Using Zend Eclipse PHP in Ubuntu will boost our performance to build PHP applications. In other hand, I was using Netbeans before and have many problems with Ubuntu Oneiric 11.10. So, let start with Zend Eclipse and download it latest packages from : 1http://code.google.com/p/zend-sdk/downloads/ Extract it packages into “/opt”. It’s preferable before extracting, you set […]

  • How to disable master password in Eclipse

    Master password in Eclipse is a bit annoying. We can disable this feature completely. Firstly, you should exit your Eclipse applications. Then follow this steps: 1. Delete equinox security 1rm -rf ~/.eclipse/org.eclipse.equinox.security If you use Zend PHP Eclipse or some other, this step will solve the problem. But, if you still get annoying Master password, […]

  • How to install and solve problem php-pear Mediawiki TextWiki in Ubuntu

    I facing problem when parsing MediaWiki result using php-pear in Ubuntu 11.10 ( Oneiric ). It give me error result like this : 1234require_once(): Failed opening required ” Warning: require_once(Text/Wiki/Mediawiki.php): failed to open stream: No such file or directory in /usr/share/php/Text/Wiki.php on line 473 Fatal error: require_once(): Failed opening required ‘Text/Wiki/Mediawiki.php’ (include_path=’.:/usr/share/php:/usr/share/pear:/home/ubuntu/htdocs/…’) in /usr/share/php/Text/Wiki.php on […]

  • Problem with VIM tabnew or new buffer which reset all changes

    When using VIM, usually I use new buffer or newtab for opening several files. There some anomally where everytime I open another files, my Python indentation going wrong! I don’t know what happen and try spend several hours to find the problem. Finally, I got the problem ! See this : 123456setlocal tabstop=4 setlocal softtabstop=4 […]

  • Several things that should know in Django Models ( Unicode, Slug, Permalink Decorator )

    There are so many fundamental things that we should know when creating Django models. Pitfalls usually happen when we creating Django models without considering this things. 1. Unicode In Django models, it have option to unicode input and output. In case you need to know know about Unicode which it will used widely into Django […]

  • Understanding arguments *args and **kwargs in Python

    In Python, we usually need passing variable through arguments to functions. There are 2 things that commonly need to know about passing arguments into function which called *args and **kwargs. What this is ? *args This single asterisk form is used to pass non-keyworded, variable-length argument list. For instance : 1234567# Single asterisk form def […]

  • Install and configure first Django project application in Ubuntu

    I will guide you how to install and configure your first Django applications. Download latest Django at https://www.djangoproject.com/download/. After download, you can extract and install into Ubuntu with root using “sudo python setup.py install”. Now, default Django already installed into your system. We will create Django application that have database, several custom packages and running […]