• support[@]kurinchilion.com
  • +1 (888) 666-4252

How to use different Python version with virtual environments?

Mar 30, 2015 - by kurinchilamp 350 Views
Use the flag -p with virtualenv command to specify the python version that you would want to use $ virtualenv -p /usr/bin/python/2.7 For windows environment, use c:\> virtualenv --python=c:\Python27\python.exe myenv
Continue Reading

Python: How to setup virtual environment?

Feb 03, 2015 - by kurinchilamp 395 Views
Different projects in python may require different modules and its dependencies. Also, there may be a necessity that certain projects be run on newer/older python releases hence introducing version conflicts. Virtual environment is a tool that helps you manage these scenarios. To install virtualenv, use pip $ pip install virtualenv Now, create a virtual environment "myenv" $ virtualenv myenv To use the virtual environment, key in $ source myenv/bin/activate (if in windows, key in "myenv\Scripts\activate") The name of your virtual environment will appear on the left of the prompt (myenv) ...$ To exit out of the virtual environment, key in $ deactivate
Continue Reading

MySQL Error: Got a packet bigger than ‘max_allowed_packet’ bytes

Aug 09, 2014 - by kurinchilamp 422 Views
When trying to import large SQL dump, you often get the above message. Remedy for this issue is to increase the packet size of MySQL's daemon by setting a packet size of max_allowed_packet. Sudo to your account and set the following root $ mysql -u admin -p mysql> set global net_buffer_length=1000000; mysql> set global max_allowed_packet=1000000000; In the command line, issue the command $ mysql --max_allowed_packet=128M -uUSER -pPASSWORD database < database.sql.dump
Continue Reading

Wireframesketcher – Tool for prototyping

Aug 01, 2014 - by kurinchilamp 422 Views
Wireframing is one of the most valuable phase of any application development process. Understanding requirements from customers is the key step to project success. When this process is done with a right wireframing tools such as WireframeSketcher, PowerMockUp, Gliffy (some of the tools that I experimented this year) it helps designers produce quintessential designs in short span of time and developers understand finer details of the design elements. As a startup, I was using paper-and-pencil model for wireframe creation to take down requirements, visually portray design concepts and straighten project objectives for creating web applications. Going with the traditional method of prototyping had its own drawbacks and the four major ones are a) flexibility to change or tweak the prototypes built in short duration b) re-usability of the prototypes built in the past to save time c) option to develop prototypes in online and offline mode d) easy options to save, export prototypes in digital formats (more…)
Continue Reading

PHP Fatal error: Class ‘DOMDocument’ not found

Jul 22, 2014 - by kurinchilamp 448 Views
When setting up applications such as Magento you may come across the error message "PHP Fatal error: Class 'DOMDocument' not found ..." in your apache server log files Reason for the error is missing log files. Issue the commands below to fix the issue $ yum -y install php-xml php-devel $ service httpd reload
Continue Reading

Mysql: Another MySQL daemon already running with the same unix socket.

Apr 04, 2014 - by kurinchilamp 393 Views
After VPS reboot, you may encounter this issue and the fix is simple. Follow these stops to prevent this error. $ service mysqld stop $ mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak $ service mysqld start
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.