Skip to content

Instantly share code, notes, and snippets.

View ayoungh's full-sized avatar
:octocat:
Coffee and code

Anthony Young ayoungh

:octocat:
Coffee and code
View GitHub Profile

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.


Effective Engineer - Notes

What's an Effective Engineer?

Keybase proof

I hereby claim:

  • I am ayoungh on github.
  • I am ayoungh (https://keybase.io/ayoungh) on keybase.
  • I have a public key ASCw7IsYZskH1ReMGqnUl2ESubn2MeURAEpcEDsRn9Rmjgo

To claim this, I am signing this object:

@ayoungh
ayoungh / Contract Killer 3.md
Created July 30, 2018 21:50 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@ayoungh
ayoungh / test
Created June 18, 2018 12:26
test
test
@ayoungh
ayoungh / poll_for_element_helper_fn.js
Last active February 14, 2018 21:50 — forked from seanemmel-ba/poll_for_element_helper_fn.js
Helper function to poll for DOM els that don't exist on page load (helpful for Optimization platforms). The `this` context is set to the element you poll for in your callback function. Interval times out after 10s by default to prevent endless polling.
/**
* @package N/A
* @version 1.0
* @author Blue Acorn <code@blueacorn.com>, Sean Emmel <sean.emmel@blueacorn.com>
* @copyright Copyright © 2015 Blue Acorn.
*/
/**
* @param {String} - the CSS selector for your element in question
@ayoungh
ayoungh / README-Template.md
Created December 1, 2016 14:45 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

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.

Prerequisites

### Keybase proof
I hereby claim:
* I am ayoungh on github.
* I am ayoungh (https://keybase.io/ayoungh) on keybase.
* I have a public key whose fingerprint is 70FB CBD8 931C 46B3 2C77 3FBA ECDD 4804 6CFB 2FEC
To claim this, I am signing this object:
@ayoungh
ayoungh / basic_auth_nodejs_test.js
Created March 29, 2016 09:24 — forked from charlesdaniel/basic_auth_nodejs_test.js
Example of HTTP Basic Auth in NodeJS
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);
@ayoungh
ayoungh / ep_app.js
Last active August 29, 2015 14:26 — forked from focusaurus/ep_app.js
Example of how a main express app can mount sub-applications on a mount point with app.use('/mount-point', subapp); If you GET /, you'll see the main_app's '/' response. If you GET /ep_app, you'll see the ep_app's '/' response.
var express = require("express");
var app = express();
app.get('/', function (req, res) {
res.send("This is the '/' route in ep_app");
});
module.exports = app;
@ayoungh
ayoungh / Exit-Intention-JS.markdown
Created October 2, 2014 08:28
A Pen by Anthony Young.