git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| module.exports = { | |
| root: true, | |
| parserOptions: { | |
| parser: 'babel-eslint', | |
| sourceType: 'module' | |
| }, | |
| env: { | |
| browser: true, | |
| node: true, | |
| es6: true, |
| class Post | |
| { | |
| public function tags() | |
| { | |
| return $this->belongsToMany(Tag::class)->withTimestamps; | |
| } | |
| } |
This document outlines the steps I take to setup my environment on windows using WSL. This requires being on the windows 10 Creative update or greater with an Ubuntu 16 installed as WSL.
Nginx has to be compiled with http://wiki.nginx.org/NginxHttpHeadersModule (default on Ubuntu and some other Linux distros).
location ~* .(eot|ttf|woff|woff2)$ { add_header Access-Control-Allow-Origin *; }
composer require guzzlehttp/guzzleDomains tab and click on domains.env setup
| <template> | |
| (...) | |
| <parallax-scene :scalar-x="25" :scalar-y="15"> | |
| <parallax-layer :depth="0.00"> | |
| <img src="~assets/parallax/0_sun.png" style="position: relative; top: -4px;" draggable="false" alt=""> | |
| </parallax-layer> | |
| <parallax-layer :depth="0.33"> | |
| <img src="~assets/parallax/1_mountains.png" style="position: relative; top: 40px;" draggable="false" alt=""> | |
| </parallax-layer> | |
| <parallax-layer :depth="0.67"> |
| # Mixings from: | |
| # https://www.clayharmon.com/words/posts/enabling-gzip-compression-on-ec2 | |
| # http://www.samaxes.com/2008/04/htaccess-gzip-and-cache-your-site-for-faster-loading-and-bandwidth-saving/ | |
| # http://www.tonmoygoswami.com/2013/05/how-to-enable-gzip-on-amazon-elastic.html | |
| # ------------------------------------------------------------------------------ | |
| # | Compression | | |
| # ------------------------------------------------------------------------------ | |
| <IfModule mod_deflate.c> |
| node: Platform built on V8 to build network applications | |
| git: Distributed revision control system | |
| wget: Internet file retriever | |
| yarn: JavaScript package manager | |
| python3: Interpreted, interactive, object-oriented programming language | |
| coreutils: GNU File, Shell, and Text utilities | |
| pkg-config: Manage compile and link flags for libraries | |
| chromedriver: Tool for automated testing of webapps across many browsers | |
| awscli: Official Amazon AWS command-line interface | |
| automake: Tool for generating GNU Standards-compliant Makefiles |
apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages \
php7.1-cli php7.1-dev \
php7.1-pgsql php7.1-sqlite3 php7.1-gd \
php7.1-curl php7.1-memcached \
php7.1-imap php7.1-mysql php7.1-mbstring \
php7.1-xml php7.1-zip php7.1-bcmath php7.1-soap \
php7.1-intl php7.1-readline php-xdebug php-pear php7.1-fpm