- Liip
- In ~/.bash_profile define wich php the system will use :
PATH=/usr/local/php5/bin:$PATHCreate vhosts
| $("#multipage").parsley | |
| validators: | |
| state: (val)-> | |
| val.toUpperCase() in [ | |
| 'AK','AL','AR','AS','AZ','CA','CO','CT','DC','DE','FL','GA','GU','HI', | |
| 'IA','ID','IL','IN','KS','KY','LA','MA','MD','ME','MH','MI','MN','MO', | |
| 'MS','MT','NC','ND','NE','NH','NJ','NM','NV','NY','OH','OK','OR','PA', | |
| 'PR','PW','RI','SC','SD','TN','TX','UT','VA','VI','VT','WA','WI','WV', | |
| 'WY' | |
| ] |
| <?php | |
| protected function execute(InputInterface $input, OutputInterface $output) | |
| { | |
| $progress = $this->getHelperSet()->get('progress'); | |
| $ctx = stream_context_create(array(), array('notification' => function ($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) use ($output, $progress) { | |
| switch ($notification_code) { | |
| case STREAM_NOTIFY_FILE_SIZE_IS: | |
| $progress->start($output, $bytes_max); | |
| break; |
| <?php | |
| use Symfony\Component\PropertyAccess\PropertyAccess; | |
| use Symfony\Component\Validator\Constraints\All; | |
| use Symfony\Component\Validator\Constraints\Choice; | |
| use Symfony\Component\Validator\Constraints\Collection; | |
| use Symfony\Component\Validator\Constraints\Length; | |
| use Symfony\Component\Validator\Constraints\NotBlank; | |
| use Symfony\Component\Validator\Constraints\Optional; | |
| use Symfony\Component\Validator\Constraints\Required; |
PATH=/usr/local/php5/bin:$PATHCreate vhosts
Latest node.js & npm installation on Ubuntu 12.04
$ apt-get install python-software-properties
$ apt-add-repository ppa:chris-lea/node.js
$ apt-get update
$ apt-get install nodejs
Ie.: https://rtcamp.com/tutorials/nodejs/node-js-npm-install-ubuntu