Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=default,es6,es7,caniuse:console-basic&flags=gated&unknown=polyfill"></script>
<script src="https://rawgit.com/facebook/regenerator/master/packages/regenerator-runtime/runtime.js"></script>
<script>
(function _callee() {
return regeneratorRuntime.async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.evaneos.com"), domain("www.evaneos.es"), domain("www.evaneos.it"), domain("www.evaneos.de"), domain("www.evaneos-travel.com") {
#topnavbar {
background: tomato;
}
}
@-moz-document domain("pro.evaneos.com"), domain("pro.evaneos.es"), domain("pro.evaneos.it"), domain("pro.evaneos.de"), domain("pro.evaneos-travel.com") {
#menu {
@christophehurpeau
christophehurpeau / .jscsrc
Last active August 29, 2015 14:08
jscs config
{
// Attempts to parse your code as ES6 using the harmony version of the esprima parser.
"esnext": true,
"excludeFiles": [
"**/*.min.js"
],
"requireCurlyBraces": [
"if",
@christophehurpeau
christophehurpeau / gist:3b27730d11457598eff0
Last active August 29, 2015 14:03
Install phpcs and jshint in SublimeText 3

First, dependencies

sudo apt-get install php-cli php-pear
sudo pear install PHP_CodeSniffer

sudo npm install -g jshint jscs

Xdebug

Configuration du serveur

  • Installer Xdebug (déjà fait)

  • Exécuter : sudo editor /etc/php5/conf.d/xdebug.ini :

      xdebug.remote_enable=true
      xdebug.remote_mode="req"
    

xdebug.remote_connect_back=1