To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
# Install `dnsmasq` and configure for *.test domains | |
$ brew install dnsmasq | |
$ vim /usr/local/etc/dnsmasq.conf | |
# Reload configuration and clear cache | |
$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
$ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
$ dscacheutil -flushcache |
To create text that always fill the viewport, no matter what ratio. This is just a concept and not very well tested ;-)
A Pen by CrocoDillon on CodePen.
This guide assumes you have the emmet
and language-babel
packages already installed in Atom
keymap.cson
file by clicking on Atom -> Keymap…
in the menu bar'atom-text-editor[data-grammar~="jsx"]:not([mini])':
var gulp = require('gulp' ), | |
minifycss = require( 'gulp-minify-css'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
cache = require('gulp-cache'), | |
livereload = require( 'gulp-livereload'), | |
connect = require('gulp-connect'), | |
ngAnnotate = require( 'gulp-ng-annotate'), |
// Initialize plugins | |
var gulp = require('gulp'), | |
plugins = require('gulp-load-plugins')(), | |
browserSync = require('browser-sync').create(), | |
src = './src', | |
dst = './dist', | |
// Output details of the error and continue the project | |
swallowError = function(error) { |
// DEPENDENCIES | |
var autoprefixer = require('gulp-autoprefixer'); | |
var chalk = require('chalk'); | |
var concat = require('gulp-concat'); | |
var debug = require('gulp-debug'); | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var imagemin = require('gulp-imagemin'); | |
var jshint = require('gulp-jshint'); |