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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 4 | |
trim_trailing_whitespace = 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
<html> | |
<header> | |
<meta name="description" content="Detecting idle time in JavaScript elegantly"> | |
</header> | |
<body id="app"> | |
<div id="demo"></div> | |
<p id="coor"></p> | |
<script id="jsbin-javascript"> | |
document.getElementById("app").onmousemove = function(e) {resetTime(e)}; | |
document.getElementById("app").onkeypress = function(e) {resetTime(e)}; |
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 | |
/** | |
* PHP Coding Standards Fixer setting for Laravel 5 on friendsofphp/php-cs-fixer 2.* | |
* Rules with psr1, psr2, phpdoc and some symfony rules. | |
* Rules only apply directory and sub-directory inside "app". | |
* | |
* Save script to .php_cs and place .php_cs file in the root of your Laravel project | |
* | |
* Requirement: |
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 EloquenFooRepository | |
{ | |
/** | |
* The base eloquent model | |
* @var Eloquent | |
*/ | |
protected $model; |
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 | |
/** | |
* PHP Coding Standards Fixer setting for Laravel 5 on FriendsOfPHP/PHP-CS-Fixer 1.* | |
* Rules with psr1, psr2, phpdoc and some symfony rules. | |
* Remove psr0. | |
* Rules only apply directory and sub-directory inside "app". | |
* | |
* Save script to .php_cs and place .php_cs file in the root of your Laravel project | |
* |
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
{ | |
"name": "babel-nodejs-setup", | |
"version": "1.0.0", | |
"description": "Babel nodejs setup", | |
"main": "dist/index.js", | |
"scripts": { | |
"start": "node bin/dev", | |
"clean": "rm -rf dist", | |
"build": "npm run clean && mkdir dist && babel server -s -d dist", | |
"production": "npm run build && node bin/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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Tryout VueJS"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> | |
<div id="app"> | |
{{ message }} |