Require java
Install Graphviz
$ sudo apt-get install graphviz
Store in for example ~/java/plantuml.jar
| <?php | |
| class 💩💩💩💩 | |
| { | |
| function 💩💩💩($😎, $🐯) | |
| { | |
| return $😎 + $🐯; | |
| } | |
| } | |
| $🐔 = 3; |
| <?php | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| class CsvController extends Controller | |
| { | |
| /** | |
| * Get a CSV file from an array |
| ''' | |
| Taken from: | |
| http://stackoverflow.com/users/1074592/fakerainbrigand | |
| http://stackoverflow.com/questions/15401815/python-simplehttpserver | |
| ''' | |
| import SimpleHTTPServer, SocketServer | |
| import urlparse, os | |
| PORT = 3000 |
| #!/bin/bash | |
| # Following the guide found at this page | |
| # http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html | |
| echo "\r\nUpdating system ...\r\n" | |
| sudo apt-get update | |
| # Create folder to place selenium in |
| <?php | |
| namespace AppBundle\Form\Extension; | |
| use Symfony\Component\Form\AbstractTypeExtension; | |
| use Symfony\Component\Form\FormInterface; | |
| use Symfony\Component\Form\FormView; | |
| use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
| /** |
| #!/bin/bash | |
| # ⚠️ This project has moved | |
| # https://github.com/m1st0/php_ubuntu_build_script | |
| # This gist is no longer maintained | |
| echo "This project moved to: https://github.com/m1st0/php_ubuntu_build_script" | |
| exit 1 | |
| # PHP 8 Compile # |
Require java
Install Graphviz
$ sudo apt-get install graphviz
Store in for example ~/java/plantuml.jar
| <?php | |
| namespace AppBundle\Controller; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\Form\FormEvents; | |
| class DefaultController extends Controller |
| rabbitmqctl add_user test test | |
| rabbitmqctl set_user_tags test administrator | |
| rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
| #! /bin/bash | |
| ## PHP 7 Initial Compile ## | |
| ## Some help from the various places like these. ## | |
| # http://www.zimuel.it/install-php-7/ | |
| # http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
| ## Setup Ubuntu 15.04/15.10 ## | |
| # Other dependencies for PHP 7. Add any missing ones from configure script | |
| # complaints, plus some LAMP needs too. |