Skip to content

Instantly share code, notes, and snippets.

2020-09-16T20:45:36.498+0000 checking options
2020-09-16T20:45:36.498+0000 dumping with object check disabled
2020-09-16T20:45:36.498+0000 will listen for SIGTERM, SIGINT, and SIGKILL
2020-09-16T20:45:36.500+0000 connected to node type: standalone
2020-09-16T20:45:36.500+0000 standalone server: setting write concern w to 1
2020-09-16T20:45:36.500+0000 using write concern: w='1', j=false, fsync=false, wtimeout=0
2020-09-16T20:45:36.538+0000 archive prelude source-db.collection1
2020-09-16T20:45:36.538+0000 archive prelude source-db.collection2
2020-09-16T20:45:36.538+0000 archive prelude source-db.collection3
2020-09-16T20:45:36.538+0000 archive prelude source-db.collection4
@dlants
dlants / Dockerfile
Created March 9, 2023 01:02
yarn in docker build dockerfile w/ private github repo & cache mount
# for yarn berry
FROM --platform=linux/amd64 node:14.21-bullseye
# install node_module packages needed to build
WORKDIR /app
COPY .yarnrc.yml .
COPY .yarn/releases/yarn-3.4.1.cjs .yarn/releases/yarn-3.4.1.cjs
COPY package.json .
COPY yarn.lock .
@dlants
dlants / neovim-lsp-config-tsserver-debug.lua
Created April 14, 2023 19:27
How to debug neovim lsp-config's interaction w/ tsserver / typescript-language-server
require("lspconfig").tsserver.setup {
cmd = {"typescript-language-server", "--stdio", "--log-level", "4"},
init_options = {
hostInfo = "neovim",
maxTsServerMemory = 4096,
tsserver = {
logDirectory = <path>,
logVerbosity = "verbose"
}
},