Techy Things

A few javascript mistakes not to do 0

A few javascript mistakes not to do

#1 Assuming string.replace(“”, “”) will replace all occurrences. No !! It just replaces the first one !! var string = “Library of China”; string = string.replace(” “, “-”); string iwll conntain “Library-of China”; Correct...

Useful day-to-day linux commands to know 0

Useful day-to-day linux commands to know

Make directory recursive (that is create all subdirectories if they are missing) mkdir -p /opt/mediagateway/var/lib/gateway/settings/ Find filename that matches string sudo find / -name admin_* In this case it will search all files that...

settings.DATABASES is improperly configured. Please supply the ENGINE value. 0

settings.DATABASES is improperly configured. Please supply the ENGINE value.

django.core.exceptions.ImproperlyConfigured Problem : File “c:\python27\lib\site-packages\django\db\backends\dummy\base.py”, line 15, in complain raise ImproperlyConfigured(“settings.DATABASES is improperly configured. ” django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. Solution : Either...

Solved Python error : from django.core.management import execute_manager 0

Solved Python error : from django.core.management import execute_manager

Problem C:\dev\browsershots-psycopg2.git\shotserver\shotserver04>python manage.py syncdb Traceback (most recent call last): File “manage.py”, line 26, in <module> from django.core.management import execute_manager ImportError: cannot import name execute_manager Explanations execute_manager was deprecated in Django 1.4 as part of the...

How to install and use a BrowserShots server ! 0

How to install and use a BrowserShots server !

What will this page do for you Install browsershots locally (called shotserver) Install a screen shot factory (called shotfactory) Instructions instructions were tested in linux debian with these versions : Python 2.7.3 Django 1.6.7...

Sketchup Essential Guide 0

Sketchup Essential Guide

  How to add an item to a different layer – Show layer window with Window | Layers – Select the items to move to another layer – Right-click | Edit Info | Select...

Node.js reloading modules solution 0

Node.js reloading modules solution

In node.js, if you make change to a module’s exported variable, the changes will not propagate to another module that already imported it. Note that the term “module” could be interchanged with a javascript...