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.
/* Checkbox Hack */ | |
input[type=checkbox] { | |
position: absolute; | |
top: -9999px; | |
left: -9999px; | |
} | |
label { | |
-webkit-appearance: push-button; | |
-moz-appearance: button; |
{ | |
"name": "wordpress-starter-theme", | |
"version": "1.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"grunt-contrib-compass": "~0.2.0", | |
"grunt-contrib-imagemin": "~0.1.4", | |
"grunt-contrib-jshint": "~0.4.3", | |
"grunt-contrib-uglify": "~0.2.0", |
var express = require("express"); | |
var app = express(); | |
app.get('/', function (req, res) { | |
res.send("This is the '/' route in ep_app"); | |
}); | |
module.exports = app; |
var http = require('http'); | |
var server = http.createServer(function(req, res) { | |
// console.log(req); // debug dump the request | |
// If they pass in a basic auth credential it'll be in a header called "Authorization" (note NodeJS lowercases the names of headers in its request object) | |
var auth = req.headers['authorization']; // auth is in base64(username:password) so we need to decode the base64 | |
console.log("Authorization Header is: ", auth); |
/** | |
* @package N/A | |
* @version 1.0 | |
* @author Blue Acorn <[email protected]>, Sean Emmel <[email protected]> | |
* @copyright Copyright © 2015 Blue Acorn. | |
*/ | |
/** | |
* @param {String} - the CSS selector for your element in question |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.