Connection Reset when port forwarding with Vagrant

I had Django listening on 127.0.0.1:8000 (default) As explained in Mitchell’s answer here: Vagrant’s port forwarding not working I should have been listening on 0.0.0.0. Here is a quote of his answer: I wanted to add an additional note that often this is caused by the server within the VM because it binds to 127.0.0.1, … Read more

undefined reference to `boost::program_options::options_description::m_default_line_length’

If you have installed boost from repo just use -lboost_program_options that will suffice. If you installed boost libraries in some other library, you need to specify that directoty by -L/path/to/lib In CMake you may specify set(CMAKE_CXX_FLAGS “-lboost_program_options”) However with CMake you should use FIND_PACKAGE(Boost COMPONENTS program_options REQUIRED) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) TARGET_LINK_LIBRARIES(target ${Boost_LIBRARIES})

Where is SCALA_HOME on Ubuntu?

Today I installed scala using “apt-get install scala” and confirmed the scala jar files are located in /usr/share/java You should be able to set your SCALA_HOME to /usr/share/java and have it all work. I assume you want to use NetBeans so you will need to set SCALA_HOME in your .profile (or .bash_profile) rather than in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)