Star Wars Battlefront: http://starwars.ea.com/starwars/battlefront
No Man's Sky: http://www.no-mans-sky.com/
Doom 4: http://bethsoft.com/en-gb/games/doom
Rime: http://uk.playstation.com/rime
Stellaris: https://www.paradoxplaza.com/stellaris
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 | |
# Create a list with numbers ranging from 10 to 20. | |
Form::selectRange('number', 10, 20); | |
# Create a list with years ranging from 1900 to 2000. | |
Form::selectYear('year', 1900, 2000); | |
# Creates a list with month names. | |
Form::selectMonth('month'); |
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 | |
// Redirect to a named 'home' route. | |
return Redirect::home(); | |
// Refresh the current URI. | |
return Redirect::refresh(); |
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 | |
// Get an array of all files in a directory. | |
$files = File::files('path_to_dir'); | |
// Get all of the files from the given directory (recursive). | |
$files = File::allFiles('path_to_dir'); | |
// Get all of the directories within a given directory. | |
$files = File::directory('path_to_dir'); |
While Envoyer comes with Slack and Hipchat notifications out of the box we'll have to setup New Relic notifications ourselves. Luckily it's as easy as adding a deployment hook. Here's how to:
- Add a new hook after the "Activate New Release" hook.
- Add the following curl command as the script:
curl -H "x-api-key:REPLACE_WITH_YOUR_API_KEY" -d "deployment[app_name]=REPLACE_WITH_YOUR_APP_NAME" https://api.newrelic.com/deployments.xml
And that's it! Envoyer will now let New Relic know each time a deployment's made. You can be sure the deployment succeeded because it happens after the new release has been made active.
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 | |
use Illuminate\Contracts\Validation\Rule; | |
class ValidPaymentToken implements Rule; | |
{ | |
/** | |
* @var \CreditCardGateway | |
*/ | |
private $gateway; |
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 | |
use Illuminate\Contracts\Validation\Rule; | |
class ValidPaymentToken implements Rule; | |
{ | |
private $gateway; | |
private $param1; | |
private $param2; |
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 | |
namespace App\Queries; | |
use App\Models\Thread; | |
use Illuminate\Contracts\Pagination\Paginator; | |
class SearchThreads | |
{ | |
public function __construct() |
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 | |
namespace App\Queries; | |
use App\Models\Thread; | |
use Illuminate\Contracts\Pagination\Paginator; | |
class SearchThreads | |
{ | |
public function __construct() |
OlderNewer