Skip to content
View nortonwong's full-sized avatar
Block or Report

Block or report nortonwong

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. advent advent Public

    adventofcode.com

    JavaScript

  2. nortonwong.github.io nortonwong.github.io Public

    🏡

    CSS

  3. oauth.js oauth.js
    1
    await (async () => {
    2
    	const formUrlEncode = params => Object.entries(params).map(([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`).join(`&`)
    3
    	const auth = `Bearer ` + await fetch(`https://www.example.com/api/oauth2`, {
    4
    		method: 'POST',
    5
    		headers: {
  4. annotate.js annotate.js
    1
    (() => {
    2
    	const wrap = (prefix, suffix=prefix) => {
    3
    		const pref = prefix instanceof Function ? prefix : () => prefix;
    4
    		const suff = suffix instanceof Function ? suffix : () => suffix;
    5
    		return e => e.innerHTML = `${pref(e)}${e.innerHTML}${suff(e)}`;