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
| language: php | |
| php: | |
| - 5.4 | |
| - 5.5 | |
| - 5.6 | |
| before_install: | |
| - composer self-update | |
| - composer create-project laravel/laravel |
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
| language: php | |
| php: | |
| - 5.4 | |
| - 5.5 | |
| - 5.6 | |
| before_install: | |
| - composer self-update | |
| - composer create-project laravel/laravel |
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 | |
| return array( | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Pagination Language Lines | |
| |-------------------------------------------------------------------------- | |
| | | |
| | The following language lines are used by the paginator library to build |
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 | |
| function gen_oauth_creds() { | |
| // Get a whole bunch of random characters from the OS | |
| $fp = fopen('/dev/urandom','rb'); | |
| $entropy = fread($fp, 32); | |
| fclose($fp); | |
| // Takes our binary entropy, and concatenates a string which represents the current time to the microsecond | |
| $entropy .= uniqid(mt_rand(), true); |
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
| language: php | |
| php: | |
| - 5.4 | |
| - 5.5 | |
| - 5.6 | |
| - hhvm | |
| before_script: | |
| - travis_retry composer install --prefer-source --no-interaction --dev |
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 | |
| class Temperature{ | |
| private $temperature; | |
| public function __construct($value){ | |
| $this->temperature = $value; | |
| } | |
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
| server { | |
| server_name .example.com; | |
| return 301 $scheme://www.example.com$request_uri; | |
| } |
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 App\Http\Middleware; | |
| use Closure; | |
| class RedirectIfInsecure | |
| { | |
| /** | |
| * Handle an incoming request. |
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 NW\Providers; | |
| use Illuminate\Routing\Router; | |
| use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; | |
| class RouteServiceProvider extends ServiceProvider | |
| { | |
| /** |
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
| elixir.config.js.browserify.transformers.push({ | |
| name: 'vueify' | |
| }); | |
| elixir(function(mix) { | |
| mix.browserify('main.js'); | |
| }); | |
| elixir.Task.find("browserify").watch("resources/**/*.vue"); |
OlderNewer