This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
# NEW WAY / EASY WAY | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.0.deb | |
sudo dpkg -i elasticsearch-0.90.0.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
class FeatureContext extends MinkContext | |
{ | |
/** | |
* Looks for a table, then looks for a row that contains the given text. | |
* Once it finds the right row, it clicks a link in that row. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Recognizes mData sent from DataTables where dotted notations represent a related | |
* entity. For example, defining the following in DataTables... | |
* | |
* "aoColumns": [ | |
* { "mData": "id" }, | |
* { "mData": "description" }, | |
* { "mData": "customer.first_name" }, | |
* { "mData": "customer.last_name" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UserBundle_users_list: | |
pattern: /users/{page}.{_format} | |
defaults: { _controller: UserBundle:Users:list, page: 1, _format: html } | |
requirements: | |
_format: html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
class FeatureContext extends MinkContext | |
{ | |
/** | |
* Looks for a table, then looks for a row that contains the given text. | |
* Once it finds the right row, it clicks a link in that row. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "bundle/mybundle", | |
"autoload": { | |
"psr-0": { "": "src/" } | |
}, | |
"require": { | |
"php": ">=5.3.2", | |
"symfony/symfony": "2.1.*", | |
"doctrine/orm": "2.2.*", | |
"doctrine/doctrine-bundle": "*", |
NewerOlder