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 Request; | |
use View; | |
use App; | |
abstract class ApplicationsServiceProvider extends ServiceProvider | |
{ | |
public function register() |
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
// first run npm install ngrok - then put var ngrok = require('ngrok'); at the top of your gulpfile | |
var ngrok = require('ngrok'); | |
var browserSync = require('browser-sync') | |
browserSync({ | |
server: "./app" | |
}, function (err, bs) { | |
ngrok.connect(bs.options.get('port'), function (err, url) { | |
// https://757c1652.ngrok.com -> 127.0.0.1:8080 | |
}); | |
}); |
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
/* MIXINs */ | |
@mixin transition( $val : ease 0.5s ) { | |
-webkit-transition: $val; | |
-moz-transition:$val; | |
-o-transition:$val; | |
-ms-transition:$val; | |
transition:$val; | |
} | |
@mixin text-shadow( $top: 3px, $left: 3px, $blur: 3px , $colour: #333 ) { |
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
dialog { | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
right: auto; | |
padding: 30px; | |
transform: perspective(500px) translate(-50%, -50%); | |
background: linear-gradient(to bottom, #FFF, #F4F4F4) #FFF; | |
border: none; | |
border-radius: 3px; |
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
/** | |
* Console.log with call location and grouping to reduce log noise. | |
* Apply directly to code once. | |
* | |
* Original: http://remysharp.com/2014/05/23/where-is-that-console-log/ | |
*/ | |
var groupable = typeof console.groupCollapsed !== 'undefined'; | |
['log', 'warn'].forEach(function(method) { | |
var old = console[method]; | |
console[method] = function() { |
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
/* | |
* Using Sass's @each loop to automatically generate code for web fonts | |
*/ | |
$fonts: (vpm, font-awesome); | |
@each $font in $fonts { | |
@include font-face( $font, | |
font-files( | |
'#{$font}/#{$font}.woff', |
NewerOlder