For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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
| const express = require('express'); | |
| const bodyParser = require('body-parser'); | |
| const qs = require('querystring'); | |
| const crypto = require('crypto'); | |
| const app = express(); | |
| const rawBodySaver = function (req, res, buf, encoding) { | |
| if (buf && buf.length) { | |
| req.rawBody = buf.toString(encoding || 'utf8'); |
Files:
- index.html: example of queue (the part that is always shown)
- third-party.js: example of third party javascript (the part no one ever talks about)
Inspiration:
- google analytics
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
| <meta itemprop="name" content="[ TITLE ]" /> | |
| <meta itemprop="image" content="[ LISTING IMAGE ]" /> | |
| <meta itemprop="description" content="[ ARTICLE DESCRIPTION ]" /> | |
| <meta name="description" content="[ ARTICLE DESCRIPTION ]" /> | |
| <meta name="author" content="[ AUTHOR FULL NAME ]" /> | |
| <meta property="article:author" content="[ GOOGLE+ AUTHOR URL ]" /> | |
| <meta property="article:published_time" content="[ PUBLISHED TIMESTAMP ]" /> | |
| <meta property="article:section" content="[ CATEGORY ]" /> |
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
| -- Remove the history from | |
| rm -rf .git | |
| -- recreate the repos from the current content only | |
| git init | |
| git add . | |
| git commit -m "Initial commit" | |
| -- push to the github remote repos ensuring you overwrite history | |
| git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
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
| var meta=document.createElement('meta'); | |
| meta.name='viewport'; | |
| meta.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'); | |
| document.getElementsByTagName('head')[0].appendChild(meta); |
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
| input { | |
| height: 34px; | |
| width: 100%; | |
| border-radius: 3px; | |
| border: 1px solid transparent; | |
| border-top: none; | |
| border-bottom: 1px solid #DDD; | |
| box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF; | |
| } |
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
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |