Skip to content

Instantly share code, notes, and snippets.

View ritesh404's full-sized avatar

Ritesh Pillai ritesh404

View GitHub Profile
@ritesh404
ritesh404 / Dockerfile
Created August 27, 2020 15:56 — forked from leomelzer/Dockerfile
Install private NPM dependencies using git+ssh on Now. Based on https://zeit.co/blog/build-env to work around missing support for git+ssh dependencies in now@2 (https://github.com/zeit/now-builders/issues/49)
# This is a multi-stage build to not spill the contents of the deploy_key
FROM mhart/alpine-node:10 as base
# We need git and openssh to resolve `git+ssh` links in package.json
RUN apk update \
&& apk add git openssh
WORKDIR /usr/src
COPY package*.json ./
@ritesh404
ritesh404 / SingleArrow.ipynb
Created January 28, 2020 06:14 — forked from vakila/SingleArrow.ipynb
Anjana Vakil, "The Universe in a Single Arrow", JSHeroes 2019
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.