npm list -g --depth=0
npm i npm-check -g # install npm-check
npm-check -gu # list packages that need to be updated
| dig +trace auth.otc.t-systems.com @1.1.1.1 | |
| ; <<>> DiG 9.10.6 <<>> +trace auth.otc.t-systems.com @1.1.1.1 | |
| ;; global options: +cmd | |
| . 1003 IN NS b.root-servers.net. | |
| . 1003 IN NS c.root-servers.net. | |
| . 1003 IN NS d.root-servers.net. | |
| . 1003 IN NS e.root-servers.net. | |
| . 1003 IN NS f.root-servers.net. | |
| . 1003 IN NS g.root-servers.net. |
| tcpdump: data link type PKTAP | |
| tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | |
| listening on any, link-type PKTAP (Apple DLT_PKTAP), capture size 262144 bytes | |
| 15:29:42.444866 IP 192.168.188.44.60620 > 1.1.1.1.53: 45006+ A? auth.otc.t-systems.com. (40) | |
| 15:29:46.660608 IP 1.1.1.1.53 > 192.168.188.44.60620: 45006 ServFail 0/0/0 (40) | |
| 15:29:54.959125 IP 192.168.188.44.59598 > 1.1.1.1.53: 42927+ A? serverfault.com. (33) | |
| 15:29:54.975230 IP 1.1.1.1.53 > 192.168.188.44.59598: 42927 4/0/0 A 151.101.193.69, A 151.101.1.69, A 151.101.65.69, A 151.101.129.69 (97) | |
| @page { | |
| size: 210mm 297mm; /* A4-sized pages in portrait orientation; default is US letter */ | |
| margin-top: 2.54cm; | |
| margin-bottom: 2.54cm; | |
| margin-left: 1.27cm; | |
| margin-right: 1.27cm; | |
| } | |
| body,p,li,td,table,tr,.bodytext,.stepfield { | |
| font-size: 15px; |
| import mongoose from "mongoose"; | |
| import { prop as Property, getModelForClass } from "@typegoose/typegoose"; | |
| import { withTransaction } from "./transaction"; | |
| class Foo { | |
| @Property({ required: true }) | |
| example!: string; | |
| } | |
| const FooModel = getModelForClass(Foo); |
| import removeAppNameFromProductTitle from './removeAppNameFromProductTitle'; | |
| describe('removeAppNameFromProductTitle', () => { | |
| it('returns title without app name', () => { | |
| const title = 'my test'; | |
| const result = removeAppNameFromProductTitle(title); | |
| expect(result).toEqual('my test'); | |
| }); |
Clone the project
git@github.com:author/my-dependency.git| FROM node:16-alpine AS deps | |
| RUN apk --no-cache add curl | |
| RUN curl -sf https://gobinaries.com/tj/node-prune | sh | |
| WORKDIR /usr/src/app | |
| COPY ["package.json", "yarn.lock", "./"] | |
| # build-dependencies are required for bcrypt on m1 macs | |
| RUN apk --no-cache --virtual build-dependencies add python3 make g++ \ | |
| && yarn install --production \ | |
| && apk del build-dependencies | |
| RUN /usr/local/bin/node-prune |
| SELECT uuid, | |
| event, | |
| properties, | |
| timestamp, | |
| team_id, | |
| distinct_id, | |
| elements_chain, | |
| created_at | |
| FROM events | |
| WHERE team_id = 2 |