Skip to content

Instantly share code, notes, and snippets.

@1rosehip
1rosehip / lex.html
Last active October 5, 2019 16:17
LexJS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lexical Analysis</title>
</head>
<body>
<script src="lex.js"></script>
</body>
</html>
(() => {
'use strict';
/**
* get unique contacts
* @param {object} contacts
* @return {Array.<Array.<string>>}
*/
const getUniqueContacts = (contacts) => {
Process for setting up github pages with namecheap domain.
1. Go to namecheap.com, select and buy domain name.
2. Login to namecheap, go to username drop down and select dashboard.
3. Go to DomainList
4. Click manage button
5. Click Advanced DNS tab
6. Click add record and add three records:
Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic
brew config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: bbb1fcd17c0979c5d7d90097108b39526fa94acb
Last commit: 12 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 62fd3b1ab293ddcd436645d74c1ded92b86d7c7c
Core tap last commit: 12 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local