Skip to content

Instantly share code, notes, and snippets.

View tannguyenit's full-sized avatar
🏠
Working from home

Tân Nguyễn tannguyenit

🏠
Working from home
View GitHub Profile
@evansims
evansims / Dockerfile
Last active February 14, 2024 10:09
Dockerfile: php-fpm 7.4-fpm alpine w/ gd bz2 intl mbstring redis mongodb xdebug opcache
FROM php:7.4-fpm-alpine
WORKDIR "/application"
# Install essential build tools
RUN apk add --no-cache \
git \
yarn \
autoconf \
g++ \
make \
@brandongoode
brandongoode / comment-example.js
Created August 11, 2016 13:16
Dynamoose range and hash key example
var commentSchema = new Schema({
postId: {
type: String,
hashKey: true
},
id: {
type: String,
rangeKey: true,
default: shortId.generate