Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox
Prepare Vagrant box with Ubuntu 16.04
We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.
|# I tried to use the pip install wifi but it really didn't work.|
|# So created this|
|process = subprocess.Popen(['/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport','-I'], stdout=subprocess.PIPE)|
|out, err = process.communicate()|
install zbar on windows with include and library files
make sure mingw installed and bin directory added to the path
in PYTHONPATH\Lib\distutils, create a file distutils.cfg and add two lines:
include file from ftp://sourceware.org/pub/pthreads-win32/dll-latest
copy files to
PATH_MINGW32/[lib,bin,include] separately, just need file name like
pthreadGC2 and remember to chang the name to
change or add lines in
NODE_ENV variable to "production" or "development", altering how node code is executed on your system (for example showing more debug messaging when in development).
With most shells there's a way to set them for the current session, and a way to set them for all sessions. The following is meant to be a guide on how to set env vars in the various shells.
Setting for the session: