2015-10-21
- jennifer
- martym
| # Add this to your ~/.provile or ~/.bashrc depending on your system | |
| # | |
| # watson directory (require watson >= 1.3) | |
| # This value is the default on MacOSX | |
| WATSON_DIR="$HOME/Library/Application Support/watson" | |
| watson_status() { | |
| # colors taken from git-aware-prompt | |
| # https://github.com/jimeh/git-aware-prompt | |
| local txtred="$(tput setaf 1 2>/dev/null || echo '\e[0;31m')" # Red |
| <?php | |
| error_reporting(E_ALL); | |
| define('NUM_FEATURES', 3); | |
| // My dataset describes cities around the world where I might consider living. | |
| // Each sample (city) consists of 3 features: | |
| // * Feature 1: average low winter temperature in the city | |
| // * Feature 2: city population, in millions |
| <?php | |
| namespace FashionWeb\DynamicRoutingBundle\DependencyInjection; | |
| use Symfony\Component\Config\Definition\Builder\TreeBuilder; | |
| use Symfony\Component\Config\Definition\ConfigurationInterface; | |
| use Symfony\Component\Config\Definition\Builder\NodeDefinition; | |
| /** | |
| * This is the class that validates and merges configuration from your app/config files |