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
iframe { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
overflow: hidden; | |
} | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
<!-- | |
* { | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
body { | |
font-family: Helvetica, Arial, sans-serif; |
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
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f | |
[user] | |
name = Jeffrey Gilbert | |
email = [email protected] | |
[push] | |
default = simple | |
[core] | |
excludesfile = /Users/jgilbert/.gitignore_global |
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 findNeedleInHaystack = (needle, haystack) => { | |
let reference = []; | |
let promises = []; | |
const finder = (obj, chain) => { | |
return new Promise((resolve, reject)=>{ | |
if (reference.includes(obj)) { | |
return resolve(chain.join('.')); // already checked this object | |
} | |
// add object as "checked" to reference registry | |
reference.push(obj); |
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
import { useAuth } from "../auth/hooks/useAuth"; | |
enum XHRFailureCodes { | |
AUTHENTICATION_REQUIRED = 'AUTHENTICATION_REQUIRED', | |
UNAUTHORIZED_ACTION = 'UNAUTHORIZED_ACTION', | |
FORM_VALIDATION_FAILED = 'FORM_VALIDATION_FAILED', | |
MISSING_REQUIRED_PARAMETERS = 'MISSING_REQUIRED_PARAMETERS', | |
NO_RESULTS_FOUND = 'NO_RESULTS_FOUND', | |
RATE_LIMIT_EXCEEDED = 'RATE_LIMIT_EXCEEDED', | |
UNKNOWN_ERROR = 'UNKNOWN_ERROR', |
OlderNewer