Skip to content

Instantly share code, notes, and snippets.

View kevinyc-dri's full-sized avatar

Kevin Choi kevinyc-dri

View GitHub Profile
@kevinyc-dri
kevinyc-dri / gist:0261dad071a9489d53708c95f97afa96
Created September 3, 2021 16:38
Image of a Lightning Node in its infant phase

Untitled design (6)

We learned
const allCoffees = require('./data/allCoffees.json')
// console.log('this is my list of coffees', coffees)
exports.getCoffees = (name) => {
allCoffees.forEach((recipe) => {
if (
recipe.ingredients.includes('Milk') ||
recipe.ingredients.includes('Cream') ||
<html>
<head>
<meta charset="utf-8">
<title>Web Portfolio of Kevin</title>
</head>
<body>
<div className="App" align=center>
<h1>I am Kevin Choi</h1>
<h2>Full Stack Developer</h2>
<h4>This is my mini resume</h4>
class UrlParser
attr_reader :scheme, :fragment_id, :query_string, :path, :port, :domain
def initialize(url)
@scheme = url.split(':/')[0]
unless url.split('#').length == 1
@fragment_id = url.split('#')[-1]
url = url.chomp! '#' + @fragment_id
end