npm i eslint eslint-loader eslint-plugin-vue --save-dev
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
import React from 'react'; | |
import { Field } from 'redux-form'; | |
import ReactQuill from 'react-quill'; | |
function renderQuill({ input }) { | |
return ( | |
<ReactQuill | |
{...input} | |
onChange={(newValue, delta, source) => { | |
if (source === 'user') { |
- http://aspyct.org/blog/2012/08/20/setting-up-http-cache-and-gzip-with-nginx/
- http://kbeezie.com/nginx-configuration-examples/
#enable nginx server-wide Gzipping
First, open /etc/nginx/nginx.conf
Then add the following lines inside the http{}
gzip on;
gzip_http_version 1.1;
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 | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |