Skip to content

Instantly share code, notes, and snippets.

View melvynkim's full-sized avatar
🦄
╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍

melvyn melvynkim

🦄
╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̩̩̩̩̩̍̍̍̍̍̍̍̍̍̍
  • ╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍╯̩̩̩̩̍̍̍̍̍̍̍̍̍̍
View GitHub Profile
@melvynkim
melvynkim / espn-api-list.md
Created August 6, 2025 01:20 — forked from nntrn/espn-api-list.md
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

@melvynkim
melvynkim / .gitlab-ci.yml
Created November 11, 2021 10:48 — forked from superjose/.gitlab-ci.yml
This is an example of a .gitlab-ci.yml that is required for Continuous Integration on GitLab projects.
# Reference: https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/
# GitLab uses docker in the background, so we need to specify the
# image versions. This is useful because we're freely to use
# multiple node versions to work with it. They come from the docker
# repo.
# Uses NodeJS V 9.4.0
image: node:9.4.0
# And to cache them as well.
@melvynkim
melvynkim / connect_mongo.sh
Created April 27, 2021 04:21
mongodump, mongorestore, and mongo connect
#!/bin/sh -ex
DATEF=$(date +%Y%m%d_%H%M%S)
DB_USERNAME=
DB_PASSWORD=
DB_URL=
DB_NAME=
@melvynkim
melvynkim / generate_rsa_key.sh
Created February 25, 2021 14:07
generate_rsa_key.sh
#!/bin/sh
ssh-keygen -t rsa -b 4096 -C $1
@melvynkim
melvynkim / generate_build_spec.sh
Created November 4, 2019 01:54
generate_build_spec.sh
#!/bin/sh -ex
[ -z "$GIT_BRANCH" ] && GIT_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
GIT_SHORT=$(git rev-parse --short HEAD)
GIT_DATE=$(git log -1 --date=iso --pretty=format:"%ad")
NOW_DATE=$(date "+%F %H:%M:%S %z")
NODE_ENV=$1
echo "{\"commit\":\"$GIT_SHORT\",\"branch\":\"$GIT_BRANCH\",\"commitAt\":\"$GIT_DATE\",\"buildAt\":\"$NOW_DATE\", \"node_env\":\"$NODE_ENV\"}" > build.json

TODO

develop an application which has the following 4 requirements:

  • public github profile (e.g. any info, such as, username, list of repositories, followers, etc)
  • github repositories of the user on the url path (e.g. localhost:8080/@melvynkim
  • current time of the user
    • must be self updating every 1 min
  • current weather of the user
  • must be self updating every 1 min