Running the following:
yarn add --dev babel-preset-es2015 babel-preset-stage-2
Then creating a .babelrc in the root of our project with:
{
"presets": ["es2015", "stage-2"]
}
<?php | |
namespace App\Http\Controllers\Auth; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Foundation\Auth\AuthenticatesUsers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Socialite; | |
use App\User; | |
use Auth; |
<?php | |
// this is LoginController | |
namespace App\Http\Controllers\Auth; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
use Illuminate\Foundation\Auth\AuthenticatesUsers; | |
use Auth; |
Running the following:
yarn add --dev babel-preset-es2015 babel-preset-stage-2
Then creating a .babelrc in the root of our project with:
{
"presets": ["es2015", "stage-2"]
}
<template> | |
<div :class="{'loading': loading}" class="pager-data-wrapper"> | |
<!-- Pagination Slot --> | |
<slot :result="getResult()"> | |
<div class="text-center alert-info pb-3"> | |
<span v-if="!loading"> | |
{{ result.length }} items found. render it using v-for="item in result" | |
</span> | |
<span v-if="loading"> |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;Assembly Code | |
section .data | |
;New line string | |
NEWLINE: db 0xa, 0xd | |
LENGTH: equ $-NEWLINE | |
section .bss | |
INPT: resd 1 |
The git command-line utility has plenty of inconsistencies http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
A GUI like http://sourcetreeapp.com is often helpful, but staying on the command line usually quicker. This is a list of the commands I use most frequently, listed by funcional category:
git status
list which (unstaged) files have changed
<?php | |
$result = []; | |
$task = 'deploy'; | |
$live = true; | |
$process = new \Symfony\Component\Process\Process('/Applications/MAMP/bin/php/php7.1.0/bin/php ~/.composer/vendor/bin/envoy run '. $task); | |
$process->setTimeout(3600); | |
$process->setIdleTimeout(300); | |
$process->setWorkingDirectory(base_path()); | |
$process->run( |
Some Linux systems come preloaded with zsh. You can check if it exists as well as its version by writing zsh --version
in a terminal window. In case this zsh version is ok for you, you're done now!
Determine on which Linux distribution your system is based on. See List of Linux distributions – Wikipedia for a list. Most Linux systems – including Ubuntu – are Debian-based.
Open a terminal window. Copy & paste the following into the terminal window and hit Return
. You may be prompted to enter your password.
/*
Made by [egy.js](https://www.instagram.com/egy.js/);
*/
Step 1: | |
Go to: C:\Windows\System32\Drivers\etc\hosts | |
And add this to the bottom of the file: | |
============= | |
127.0.0.1 your.domain.com | |
============= | |
Step 2: | |
Go to [your XAMPP directory]/apache/conf/httpd-xampp.conf |