start new:
tmux
start new with session name:
tmux new -s myname
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| # most people include something like this. don't. | |
| # check your default nginx.conf, it's already covered in a much better way. | |
| #gzip_disable "MSIE [1-6]\.(?!.*SV1)"; | |
| # compress proxied requests too. | |
| # it doesn't actually matter if the request is proxied, we still want it compressed. | |
| gzip_proxied any; | |
| # a pretty comprehensive list of content mime types that we want to compress | |
| # there's a lot of repetition here because different applications might use different |
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| 'use strict' | |
| var examples = [ | |
| function(){ | |
| console.log('\n\nExample 1:') | |
| aSuccess().then(bSuccess).then(cSuccess) | |
| }, | |
| function(){ | |
| console.log('\n\nExample 2:') | |
| aSuccess('first input') |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| const cors = require('cors')({origin: true}); | |
| exports.sample = functions.https.onRequest((req, res) => { | |
| cors(req, res, () => { | |
| res.send('Passed.'); | |
| }); | |
| }); |
I am moving this gist to a github repo so more people can contribute to it. Also, it makes it easier for me to version control.
Please go to - https://github.com/praveenpuglia/shadow-dom-in-depth for latest version of this document. Also, if you find the document useful, please shower your love, go ⭐️ it. :)
Heads Up! It's all about the V1 Spec.
In a nutshell, Shadow DOM enables local scoping for HTML & CSS.