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
<div class="news-center-articles"> | |
<ul> | |
@@include('./partials/article-thumb.html') | |
@@include('./partials/article-thumb.html') | |
@@include('./partials/article-thumb.html') | |
@@include('./partials/article-thumb.html') | |
@@include('./partials/article-thumb.html') | |
@@include('./partials/article-thumb.html') | |
</ul> | |
<a class="news-center-read-more" href="#">Read More</a> |
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
<li> | |
<a href="#"> | |
<img src="{{image.image(280, 160, true)}}" width="280" height="160" /> | |
<div class="caption"> | |
<i class="pe-7s-{{helpers.randomize(['news-paper', 'global', 'science'])}} pe-3x"></i> | |
<div> | |
<strong>{{name.findName}}</strong><br /> | |
<span>{{random.number(31)}} {{date.month}} {{random.number({min: 2000, max: 2015})}}</span> | |
</div> | |
</div> |
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
var frozen = 153665219; // Grab this value from a previous build | |
var seed = 1 ? frozen : (new Date).getTime() % 1000000000; // change 1 to 0 to switch between random or frozen | |
console.log("This seed is " + seed); | |
faker.seed(seed); |
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
faker.seed(100); |
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 FestivalPlaylists\Bridges; | |
use Laracasts\Flash\FlashServiceProvider as BaseFlashServiceProvider; | |
class FlashServiceProvider extends BaseFlashServiceProvider { | |
var $namespace = 'flash'; | |
var $vendor = 'laracasts'; | |
use LaravelFivePackageTrait; |
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\Bridges; | |
use ReflectionClass; | |
trait LaravelFivePackageTrait { | |
public function boot() | |
{ | |
$this->loadViewsFrom($this->namespace, $this->guessPackagePath() . '/views'); | |
$this->loadTranslationsFrom($this->namespace, $this->guessPackagePath() . '/lang'); |
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 | |
'mysql' => [ | |
'driver' => 'mysql', | |
'host' => env('DB_HOST', 'homestead' == gethostname() ? 'localhost' : '127.0.0.1'), | |
'database' => env('DB_DATABASE', 'forge'), | |
'username' => env('DB_USERNAME', 'forge'), | |
'password' => env('DB_PASSWORD', ''), | |
'port' => env('DB_PORT', 'homestead' == gethostname() ? null : 33060), | |
'charset' => 'utf8', |
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(function(imix) { | |
// Workflow stuff | |
imix.sass('app.scss') | |
.coffee() | |
.phpUnit() | |
.wiredep(); | |
// Build stuff | |
if (elixir.config.production) { |
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
<!-- bower:css --> | |
<link rel="stylesheet" href="bower_components/dropzone/dist/min/dropzone.min.css" /> | |
<link rel="stylesheet" href="css/app.css" /> | |
<!-- endbower --> |
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
@if ( Config::get('app.debug') ) | |
<link rel="stylesheet" href="bower_components/dropzone/dist/min/dropzone.min.css" /> | |
<link rel="stylesheet" href="css/app.css" /> | |
@else | |
<link rel="stylesheet" href="{{ elixir("css/all.css") }}"> | |
@endif |