Vagrantfile: Vagrantfile.zip
Output of vagrant up --debug
:
... snipped...
==> default: Mounting NFS shared folders...
DEBUG ssh: Checking whether SSH is ready...
DEBUG ssh: Re-using SSH connection.
Vagrantfile: Vagrantfile.zip
Output of vagrant up --debug
:
... snipped...
==> default: Mounting NFS shared folders...
DEBUG ssh: Checking whether SSH is ready...
DEBUG ssh: Re-using SSH connection.
dispatch
to props)import React from 'react'
import { connect } from 'react-redux'
import { Link } from 'react-router'
import { setSearchTerm } from './actionCreators'
const { string, func } = React.PropTypes
def module_check(module): | |
''' | |
Just for debian-based systems like Kali and Ubuntu | |
''' | |
ri = raw_input( | |
'[-] python-%s not installed, would you like to install now? (apt-get install -y python-%s will be run if yes) [y/n]: ' % ( | |
module, module)) | |
if ri == 'y': | |
os.system('apt-get install -y python-%s' % module) | |
else: |
var that = this
-- stuff like this is also in the Advanced Js course!connect()
method deserves a mention -- it makes things easy