I hereby claim:
- I am foxted on github.
- I am valentinprugnaud (https://keybase.io/valentinprugnaud) on keybase.
- I have a public key whose fingerprint is 2133 23D4 942D 03A3 83BC 20CC B939 EEA0 1C28 0C94
To claim this, I am signing this object:
.DS_Store | |
.idea | |
node_modules/ | |
vendor/ | |
.env |
I hereby claim:
To claim this, I am signing this object:
$(window).ready(function() { | |
if($(this).width() > 1404) { | |
loadDiv2(); | |
} | |
}); |
validateUrl() { | |
let regex = /^(http|https)/; | |
if(this.url.length > 3 && !this.url.match(regex)) { | |
this.url = 'http://' + this.url; | |
} | |
} |
server { | |
listen 80; | |
server_name mysite.com; | |
rewrite ^ https://$server_name$request_uri? permanent; | |
} |
elixir.config.js.browserify.transformers.push({ | |
name: 'vueify' | |
}); | |
elixir(function(mix) { | |
mix.browserify('main.js'); | |
}); | |
elixir.Task.find("browserify").watch("resources/**/*.vue"); |
<?php | |
namespace NW\Providers; | |
use Illuminate\Routing\Router; | |
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; | |
class RouteServiceProvider extends ServiceProvider | |
{ | |
/** |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
class RedirectIfInsecure | |
{ | |
/** | |
* Handle an incoming request. |
server { | |
server_name .example.com; | |
return 301 $scheme://www.example.com$request_uri; | |
} |
<?php | |
class Temperature{ | |
private $temperature; | |
public function __construct($value){ | |
$this->temperature = $value; | |
} | |