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\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Support\Collection; | |
use Illuminate\Pagination\Paginator; | |
use Illuminate\Pagination\LengthAwarePaginator; | |
class CollectionServiceProvider extends ServiceProvider |
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
@foreach([5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 75, 100] as $space) | |
@foreach(["top", "bottom", "left", "right"] as $side) | |
<mj-class name="p{{ substr($side, 0, 1) }}-{{ $space }}" padding-{{ $side }}="{{ $space }}px"/> | |
@endforeach | |
@endforeach |
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
@for $n from 1 through 12 | |
.is-order-#{$n} | |
order: #{$n} !important | |
+mobile | |
.is-order-#{$n}-mobile | |
order: #{$n} !important | |
+tablet |
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
/* | |
<div class="columns is-flex is-multiline"> | |
<div class="column is-full is-half-desktop is-order-2 is-order-1-desktop">Mobile 2 | Desktop 1</div> | |
<div class="column is-full is-half-desktop is-order-1 is-order-2-desktop">Mobile 1 | Desktop 2</div> | |
</div> | |
*/ | |
@for $n from 1 through 12 { | |
.is-order-#{$n} { | |
order: #{$n} !important; |
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
alias sshkey="pbcopy < ~/.ssh/id_rsa.pub" |
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
var inky = require('./i.js'); | |
var argv = process.argv.slice(2); | |
var cheerio = require('cheerio'); | |
var path = require('path'); | |
var through = require('through2'); | |
var vfs = require('vinyl-fs'); | |
var Inky = require('inky/lib/inky'); |
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
$spaceamounts: (0, 5, 10, 15, 20, 30, 40, 50); // Adjust this to include the pixel amounts you need. | |
$sides: (top, bottom); | |
$space-attr: ("margin", "padding"); // margin or padding | |
@each $breakpoint in $breakpoint-classes { | |
@if $breakpoint == 'small' { | |
@each $space in $spaceamounts { | |
@each $side in $sides { |
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\Http\Middleware; | |
use Closure; | |
use Illuminate\Support\Facades\View; | |
class LocalizeViewPath { | |
/** |