Skip to content

Instantly share code, notes, and snippets.

View aidenlx's full-sized avatar
💭
I may be slow to respond.

Aiden Liu aidenlx

💭
I may be slow to respond.
  • China
View GitHub Profile
@aidenlx
aidenlx / fish_shell_local_install.sh
Last active September 20, 2022 13:08 — forked from masih/fish_shell_local_install.sh
Installs Fish Shell without root access (work with fish v3.5.1)
#!/bin/bash
# Script for installing Fish Shell on systems without root access.
# Fish Shell will be installed in $HOME/.local
# It's assumed that wget and following packages is installed (https://github.com/fish-shell/fish-shell#dependencies-1)
# 1. a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later)
# 2. CMake (version 3.5 or later)
# exit on error
set -e
@aidenlx
aidenlx / Dockerfile
Created September 14, 2021 14:31
Dockerfile for onedrive-vercel-index
# Install dependencies only when needed
FROM node:alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
# Rebuild the source code only when needed
FROM node:alpine AS builder