One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| var gulp = require('gulp'); | |
| var browserify = require('browserify'); | |
| var babelify = require('babelify'); | |
| var source = require('vinyl-source-stream'); | |
| var buffer = require('vinyl-buffer'); | |
| var uglify = require('gulp-uglify'); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var livereload = require('gulp-livereload'); |
| <?php | |
| /****** | |
| Parallelize downloads across hostnames for WordPress. | |
| Useful to boost static resources load speed on websites. | |
| Recommended by GTmetrix, Pingdom, Google Speed Insights, and others. | |
| See full post > https://medium.com/p/32e9dc2fec0c | |
| In order to work properly, all subdomains/hostnames MUST have the same structure/path. Ex: | |
| http://mydomain.com/wp-content/uploads/2015/11/myimage.jpg |
| #!/bin/sh | |
| wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz | |
| tar xfvz mysql-5.7* | |
| echo "stopping mamp" | |
| sudo /Applications/MAMP/bin/stop.sh | |
| sudo killall httpd mysqld | |
| echo "creating backup" |
| mime { | |
| .atom application/atom+xml | |
| .json application/json | |
| .map application/json | |
| .topojson application/json | |
| .jsonld application/ld+json | |
| .rss application/rss+xml | |
| .geojson application/vnd.geo+json | |
| .rdf application/xml | |
| .xml application/xml |
| import React, { Component } from 'react' | |
| import { Link } from 'react-router' | |
| // Drag and Drop | |
| import { DragDropContext } from 'react-dnd' | |
| import HTML5Backend from 'react-dnd-html5-backend' | |
| // Material UI | |
| import { List } from 'material-ui/List' | |
| import Subheader from 'material-ui/Subheader' | |
| class ReorderableList extends Component { |
| #!/bin/bash | |
| # Copyright 2017 Théo Chamley | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| # this software and associated documentation files (the "Software"), to deal in the Software | |
| # without restriction, including without limitation the rights to use, copy, modify, merge, | |
| # publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
| # to whom the Software is furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in all copies or |
| axios.interceptors.response.use(function (response) { | |
| return response; | |
| }, function (error) { | |
| const originalRequest = error.config; | |
| if (error.response.status === 401 && !originalRequest._retry) { | |
| originalRequest._retry = true; |