- Clear feature ownership
- Module usage predictibility (refactoring, maintainence, you know what's shared, what's not, prevents accidental regressions, avoids huge directories of not-actually-reusable modules, etc)
This file contains hidden or 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
| sudo apt-get install netcat openssl libpcre3 dnsmasq procps perl | |
| # for ubuntu 16.04 (xenial) | |
| sudo apt-get -y install postgresql postgresql-contrib phppgadmin | |
| sudo -i -u postgres | |
| psql | |
| CREATE USER kong; CREATE DATABASE kong OWNER kong; | |
| ALTER USER kong WITH password 'kong'; |
This file contains hidden or 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
| $ ssh -V | |
| OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 | |
| wget https://launchpadlibrarian.net/277739251/openssh-client_7.3p1-1_amd64.deb | |
| wget https://launchpadlibrarian.net/298453050/libgssapi-krb5-2_1.14.3+dfsg-2ubuntu1_amd64.deb | |
| wget https://launchpadlibrarian.net/298453058/libkrb5-3_1.14.3+dfsg-2ubuntu1_amd64.deb | |
| wget https://launchpadlibrarian.net/298453060/libkrb5support0_1.14.3+dfsg-2ubuntu1_amd64.deb | |
| sudo dpkg -i libkrb5support0_1.14.3+dfsg-2ubuntu1_amd64.deb | |
| sudo dpkg -i libkrb5-3_1.14.3+dfsg-2ubuntu1_amd64.deb | |
| sudo dpkg -i libgssapi-krb5-2_1.14.3+dfsg-2ubuntu1_amd64.deb |
This file contains hidden or 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 namespace Foo; | |
| // app/Myapp.php | |
| use Monolog\Logger; | |
| use Laravel\Lumen\Application; | |
| use Monolog\Handler\StreamHandler; | |
| use Monolog\Formatter\LineFormatter; | |
| use Monolog\Handler\NewRelicHandler; | |
| class Myapp extends Application |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| #https://gist.github.com/EyalAr/67791f51fce51ed55594 | |
| COLLECTIONS=() | |
| HOST="127.0.0.1" | |
| PORT="27017" | |
| DB= | |
| if [ -n "$1" -a "$1" = "--help" ] |