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 | |
/* | |
|-------------------------------------------------------------------------- | |
| Routes File | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you will register all of the routes in an application. | |
| It's a breeze. Simply tell Laravel the URIs it should respond to | |
| and give it the controller to call when that URI is requested. |
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
#!/bin/bash | |
current=$PWD | |
cd $HOME | |
sudo apt-get install zsh | |
chsh -s /bin/zsh $USER | |
wget https://thoughtbot.github.io/rcm/debs/rcm_1.3.0-1_all.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
#!/bin/bash | |
current=$PWD | |
cd $HOME | |
sudo brew install zsh | |
chsh -s /bin/zsh $USER | |
brew tap thoughtbot/formulae |
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
if [ ! -S ~/.ssh/ssh_auth_sock ]; then | |
eval `ssh-agent` | |
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock | |
fi | |
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock | |
ssh-add -l | grep "The agent has no identities" && ssh-add |
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
composer require \ | |
doctrine/mongodb \ | |
alcaeus/mongo-php-adapter \ | |
doctrine/mongodb-odm \ | |
doctrine/mongodb-odm-bundle \ | |
-vv --ignore-platform-reqs |
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 | |
// ... | |
/** | |
* Does the response contain all required attributes of a JSONApi Response Resource. | |
* | |
* @param array|null $resource | |
*/ | |
protected function assertJsonAPIIsValidResource(?array $resource = null) |
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 | |
/** | |
* @test | |
* | |
* @expectedException \RuntimeException | |
*/ | |
function throws_exception() | |
{ | |
$sut = new SomeSut(); |
OlderNewer