Speaker: Rick Copeland
- String interpolation
- String methods
##Day 2 Agenda
Author: Rick Copeland
Date: June 17, 2014
Session 3, the second half
| function python_finder { | |
| python_library="-DPYTHON_LIBRARY=" | |
| python_include="-DPYTHON_INCLUDE_DIR=" | |
| # python_library="/Users/ldong/.pyenv/versions/2.7.6/lib/python2.7/config" | |
| # python_include="/Users/ldong/.pyenv/versions/2.7.6/lib/python2.7/site-packages" | |
| # The CMake 'FindPythonLibs' Module does not work properly. | |
| # So we are forced to do its job for it. | |
| python_prefix=$(python-config --prefix | sed 's/^[ \t]*//') | |
| if [ -f "${python_prefix}/Python" ]; then |
It doesn't make much sense to reinstall Vagrantfile once lost the association with vbox, yet vbox is sitting right there.
Here's a list of steps you could ease your pain.
Steps:
Go to your Vagrantfile directory
Get the id of your target
Here are a list of headless browsers that I know about:
| # This script was created to convert a directory full | |
| # of markdown files into rst equivalents. It uses | |
| # pandoc to do the conversion. | |
| # | |
| # 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
| # 2. Copy this script into the directory containing the .md files | |
| # 3. Ensure that the script has execute permissions | |
| # 4. Run the script | |
| # | |
| # By default this will keep the original .md file |
| # This script was created to convert a directory full | |
| # of rst files into md equivalents. It uses | |
| # pandoc to do the conversion. | |
| # | |
| # 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
| # 2. Copy this script into the directory containing the .rst files | |
| # 3. Ensure that the script has execute permissions | |
| # 4. Run the script | |
| # | |
| # By default this will keep the original .rst file |