-
Recent Posts
- Mongod error | exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid
- Right way to break Django code for debugguing
- Where are python site packages located in MAC OSX Mountain Lion
- Get the number of documents in a MongoDB collection with unique/distinct values for a field
- A complete guide to Integrating MongoDB with Elastic Search
Recent Comments
iRead
- Smashing Magazine Quality design resources. SM network is a great way to find some good posts quickly.
- The Design Cubicle One of the best blog about logo design, branding and typography.
- WebDesigner depot
Archives
Categories
Meta
Category Archives: Web Development
Right way to break Django code for debugguing
Django traceback is a very helpful tool in Django development. It saves us from the boring tasking of writing print statements to track variables. Traceback doesn’t kick when there is no error. There may be no coding errors but there … Continue reading
Error whil creating super user in django1.4 on MAC
I got the following error while trying to create a super user from shell for django1.4. File “/Library/Python/2.7/site-packages/django/contrib/auth/management/__init__.py”, line 85, in get_system_username return getpass.getuser().decode(locale.getdefaultlocale()[1]) TypeError: decode() argument 1 must be string, not None This problem was rectified by running … Continue reading
How to start stop apache on MAC OSX
start Apache apachectl start Stop Apache apachectl stop Restart Apache apachectl restart If the above commands don’t work, try these /etc/init.d/httpd start /etc/init.d/httpd stop /etc/init.d/httpd restart You can also start the web server from the system preferences. Open system preferences, … Continue reading
Where is httpd.conf file in Mac OSX Lion
On mac httpd.conf file is located in the directory /etc/apache2/. You can access it through terminal if you want to navigate to it through finder, on finder toolbar goto go->go to folder and type in /etc/apache2
When mobile browsers don’t respect CSS3 media queries
If mobile browsers are not respecting your media queries and showing desktop instead of mobile site, add this meta tag before linking the style sheet. <meta name=”viewport” content=”width=device-width”>