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
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
| 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; | |
| } |
| 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); |
| -- 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 |
| <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 ]" /> |
Files:
Inspiration:
| 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'); |