Better process for zsh virtualenvwrapper plugin

May 20, 2016
plugin, python, shell, virtualenv, zsh

Virtualenvwrapper is one of the must-have scripts for building a Python development environment. With the power of zsh oh-my-zsh plugin framework, we can automate some processes such as activate & deactivate. But the build-in virtualenvwrapper fails to work sometimes what it should be. I decided to fix it by myself after googling for existed solutions. virtualenvwrapper plugin analyze & optimize The existed virtualenvwrapper plugin is quite useful in most of the time, but it would malfunction occasionally. ...

Walkthrough of CheckIO Inside Block

Sep 4, 2015
python, CheckIO

After a long absence, I returned to continue playing CheckIO tasks by a notification mail. The UI had been optimized a lot and the tasks were still as interesting as the before. Inside Block required checking whether a given point is inside a polygon or not. After some research on google, I found a practical method. How to check if a given point is in a polygon Given a polygon and a point ā€˜pā€™, find if ā€˜pā€™ lies inside the polygon or not. ...